br.edu.fei.dcc.raciocinioespacial.editor.shapes.elements
Class Pedestrian2DShape
java.lang.Object
br.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.Pedestrian2DShape
- All Implemented Interfaces:
- java.io.Serializable, org.eclipse.ui.views.properties.IPropertySource
public class Pedestrian2DShape
- extends Mobile2DShape
The shape for a pedestrian.
- See Also:
- Serialized Form
Method Summary |
org.eclipse.swt.graphics.Image |
getIcon()
Returns the image icon used to represent a pedestrian |
java.util.List<Ponto2DShape> |
getPoints()
Returns the route points defined by user for the shape |
void |
setPoints(java.util.List<Ponto2DShape> points)
Set the route points defined by user for the shape |
java.lang.String |
toString()
Returns the name typed by user for the object |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Pedestrian2DShape
public Pedestrian2DShape()
getIcon
public org.eclipse.swt.graphics.Image getIcon()
- Returns the image icon used to represent a pedestrian
- Specified by:
getIcon
in class Mobile2DShape
- Returns:
- An image 16x16 or null.
toString
public java.lang.String toString()
- Returns the name typed by user for the object
- Overrides:
toString
in class Mobile2DShape
getPoints
public java.util.List<Ponto2DShape> getPoints()
- Returns the route points defined by user for the shape
- Overrides:
getPoints
in class Mobile2DShape
setPoints
public void setPoints(java.util.List<Ponto2DShape> points)
- Set the route points defined by user for the shape
- Overrides:
setPoints
in class Mobile2DShape