br.edu.fei.dcc.raciocinioespacial.editor.shapes.elements
Class Pedestrian2DShape

java.lang.Object
  extended by br.edu.fei.dcc.raciocinioespacial.editor.shapes.model.ModelElement
      extended by br.edu.fei.dcc.raciocinioespacial.editor.shapes.elements.Shape
          extended by br.edu.fei.dcc.raciocinioespacial.editor.shapes.elements.Mobile2DShape
              extended by 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

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
Pedestrian2DShape()
           
 
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 br.edu.fei.dcc.raciocinioespacial.editor.shapes.elements.Mobile2DShape
getPropertyValue, getVelocity, setPropertyValue, setSize, setVelocity
 
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

Pedestrian2DShape

public Pedestrian2DShape()
Method Detail

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