|
||||||||||
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
br.edu.fei.dcc.raciocinioespacial.editor.shapes.elements.Agent2DShape
public class Agent2DShape
The shape for the agent.
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 | |
---|---|
Agent2DShape()
|
Method Summary | |
---|---|
float |
getAngulo()
Returns the angle of observer's field vision (120) |
org.eclipse.swt.graphics.Image |
getIcon()
Returns the image icon used to represent the shape |
int |
getProfundidade()
Returns the maximum observer's vision depth |
java.lang.Object |
getPropertyValue(java.lang.Object propertyId)
Return the property value of the propertyId requested, or null. |
void |
setAngulo(float angulo)
Set the angle |
void |
setProfundidade(int profundidade)
Set the depth chosen by user |
void |
setPropertyValue(java.lang.Object propertyId,
java.lang.Object value)
Define o valor de uma propriedade com o identificador fornecido. |
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.Vehicle2DShape |
---|
getSentido, setSentido |
Methods inherited from class br.edu.fei.dcc.raciocinioespacial.editor.shapes.elements.Mobile2DShape |
---|
getPoints, getVelocity, setPoints, 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 |
---|
public Agent2DShape()
Method Detail |
---|
public float getAngulo()
public org.eclipse.swt.graphics.Image getIcon()
Mobile2DShape
getIcon
in class Vehicle2DShape
public int getProfundidade()
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 Mobile2DShape
Shape.descriptors
,
Shape.getPropertyDescriptors()
public void setAngulo(float angulo)
public void setProfundidade(int profundidade)
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 Mobile2DShape
Shape.descriptors
,
Shape.getPropertyDescriptors()
public java.lang.String toString()
Mobile2DShape
toString
in class Mobile2DShape
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |