|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.molwind.graph.DefaultEntityVertex
public class DefaultEntityVertex
DefaultEntityVertex represents the default vertex of a DefaultEntityGraph object.
Field Summary | |
---|---|
java.awt.Color |
color
|
Constructor Summary | |
---|---|
DefaultEntityVertex()
DefaultEntityVertex constructor, creates a new vertex. |
Method Summary | |
---|---|
WorldEntity |
getEntity()
Get the Entity value. |
java.lang.String |
getId()
Get the Id value. |
java.awt.geom.Point2D.Double |
getPosition()
Returns the position of the vertex |
void |
setEntity(WorldEntity newEntity)
Set the Entity value. |
void |
setId(java.lang.String newId)
Set the Id value. |
void |
setPosition(java.awt.geom.Point2D.Double position)
Sets the layout position |
java.lang.String |
toString()
VertexId to String |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public java.awt.Color color
Constructor Detail |
---|
public DefaultEntityVertex()
Method Detail |
---|
public java.lang.String getId()
getId
in interface EntityVertex
public void setId(java.lang.String newId)
setId
in interface EntityVertex
newId
- the new Id valuepublic WorldEntity getEntity()
getEntity
in interface EntityVertex
public void setEntity(WorldEntity newEntity)
setEntity
in interface EntityVertex
newEntity
- the new Entity valuepublic java.awt.geom.Point2D.Double getPosition()
getPosition
in interface EntityVertex
public void setPosition(java.awt.geom.Point2D.Double position)
setPosition
in interface EntityVertex
The
- posion to be setpublic java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |