org.molwind.graph
Interface EntityVertex

All Known Implementing Classes:
DefaultEntityVertex

public interface EntityVertex

EntityVertex represents a vertex of an EntityGraph.

Version:
1.0
Author:
Denis Knauer

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
 

Method Detail

getId

java.lang.String getId()
Get the Id value.

Returns:
the Id value

setId

void setId(java.lang.String newId)
Set the Id value.

Parameters:
newId - the new Id value

getEntity

WorldEntity getEntity()
Get the Entity value.

Returns:
the Entity value

setEntity

void setEntity(WorldEntity newEntity)
Set the Entity value.

Parameters:
newEntity - the new Entity value

getPosition

java.awt.geom.Point2D.Double getPosition()
Returns the position of the vertex

Returns:
The layout position

setPosition

void setPosition(java.awt.geom.Point2D.Double position)
Sets the layout position

Parameters:
The - posion to be set


Copyright © 2008-2010. All Rights Reserved.