|
||||||||||
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.Ponto2DShape
public class Ponto2DShape
The shape for the point used to trace object routes
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 | |
---|---|
Ponto2DShape()
|
Method Summary | |
---|---|
org.eclipse.swt.graphics.Image |
getIcon()
Returns the image icon used to represent a point |
int |
getInstant()
Returns the instant of the point into the all route context. |
java.lang.String |
getNomePai()
Returns the name of the point's parent object |
Mobile2DShape |
getPai()
Set the parent object of the route point |
java.lang.Object |
getPropertyValue(java.lang.Object propertyId)
Return the property value of the propertyId requested, or null. |
void |
setNome(java.lang.String name)
Set the name for this object |
void |
setNomePai(java.lang.String nomePai)
Set the name of the point's parent object |
void |
setParent(Mobile2DShape parent)
Set the parent object of the route point |
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)
Define the size of this 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.Shape |
---|
getDescriptors, getLocalization, getName, getParent, getPropertyDescriptors, getSize, setDescriptors, setLocalization, 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 Ponto2DShape()
Method Detail |
---|
public 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 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 java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getNomePai()
public void setNomePai(java.lang.String nomePai)
public void setSize(org.eclipse.draw2d.geometry.Dimension newSize)
Shape
setSize
in class Shape
public void setNome(java.lang.String name)
Shape
setNome
in class Shape
public int getInstant()
public void setParent(Mobile2DShape parent)
public Mobile2DShape getPai()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |