|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbr.edu.fei.dcc.raciocinioespacial.editor.shapes.model.ModelElement
br.edu.fei.dcc.raciocinioespacial.editor.shapes.elements.Shape
br.edu.fei.dcc.raciocinioespacial.editor.shapes.elements.Mobile2DShape
br.edu.fei.dcc.raciocinioespacial.editor.shapes.elements.Vehicle2DShape
public class Vehicle2DShape
The shape for a vehicle
Field Summary |
---|
Fields inherited from class br.edu.fei.dcc.raciocinioespacial.editor.shapes.elements.Shape |
---|
Proprerty_Localization, Proprerty_Name, Proprerty_X, Proprerty_Y |
Constructor Summary | |
---|---|
Vehicle2DShape()
|
Method Summary | |
---|---|
org.eclipse.swt.graphics.Image |
getIcon()
Returns the image icon used to represent the shape |
SentidoVehicle |
getSentido()
Returns the actual direction set for the car |
void |
setSentido(SentidoVehicle direction)
Set an direction for the car |
Methods inherited from class br.edu.fei.dcc.raciocinioespacial.editor.shapes.elements.Mobile2DShape |
---|
getPoints, getPropertyValue, getVelocity, setPoints, setPropertyValue, setSize, setVelocity, toString |
Methods inherited from class br.edu.fei.dcc.raciocinioespacial.editor.shapes.elements.Shape |
---|
getDescriptors, getLocalization, getName, getParent, getPropertyDescriptors, getSize, setDescriptors, setLocalization, setNome, setParent |
Methods inherited from class br.edu.fei.dcc.raciocinioespacial.editor.shapes.model.ModelElement |
---|
addPropertyChangeListener, getEditableValue, isPropertySet, removePropertyChangeListener, resetPropertyValue |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Vehicle2DShape()
Method Detail |
---|
public org.eclipse.swt.graphics.Image getIcon()
Mobile2DShape
getIcon
in class Mobile2DShape
public SentidoVehicle getSentido()
public void setSentido(SentidoVehicle direction)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |