|
||||||||||
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
public abstract class Mobile2DShape
The shape for any mobile entity.
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 | |
---|---|
Mobile2DShape()
|
Method Summary | |
---|---|
abstract org.eclipse.swt.graphics.Image |
getIcon()
Returns the image icon used to represent the shape |
java.util.List<Ponto2DShape> |
getPoints()
Returns the route points defined by user for the shape |
java.lang.Object |
getPropertyValue(java.lang.Object propertyId)
Return the property value of the propertyId requested, or null. |
float |
getVelocity()
Returns the constant velocity defined by user for the shape |
void |
setPoints(java.util.List<Ponto2DShape> points)
Set the route points defined by user for the shape |
void |
setPropertyValue(java.lang.Object propertyId,
java.lang.Object value)
Define o valor de uma propriedade com o identificador fornecido. |
void |
setSize(org.eclipse.draw2d.geometry.Dimension newSize)
We overload the method to define other size treatment. |
void |
setVelocity(float velocity)
Set the constant velocity defined by user for the object |
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.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 Mobile2DShape()
Method Detail |
---|
public abstract org.eclipse.swt.graphics.Image getIcon()
getIcon
in class Shape
public java.lang.Object getPropertyValue(java.lang.Object propertyId)
Shape
A visão de propriedades usa os identificadores a partir do array de IPropertyDescriptors para obter o valor das propriedades correspondentes.
getPropertyValue
in interface org.eclipse.ui.views.properties.IPropertySource
getPropertyValue
in class Shape
Shape.descriptors
,
Shape.getPropertyDescriptors()
public float getVelocity()
public void setSize(org.eclipse.draw2d.geometry.Dimension newSize)
setSize
in class Shape
public void setPropertyValue(java.lang.Object propertyId, java.lang.Object value)
Shape
A visão de propriedade usa os identificadores a partir do array de IPropertyDescriptors para definir os valores. das respectivas propriedades.
setPropertyValue
in interface org.eclipse.ui.views.properties.IPropertySource
setPropertyValue
in class Shape
Shape.descriptors
,
Shape.getPropertyDescriptors()
public void setVelocity(float velocity)
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.List<Ponto2DShape> getPoints()
public void setPoints(java.util.List<Ponto2DShape> points)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |