com.mindfusion.diagramming.jlayout
Interface Node


public interface Node


Method Summary
 java.awt.geom.Rectangle2D.Float getBounds()
          Gets or sets the bounding rectangle of the node.
 java.awt.geom.Point2D.Float getCenter()
          Gets the geometric center of this node.
 LinkList getInLinks()
          Gets all incoming links.
 LinkList getOutLinks()
          Gets all outgoing links.
 java.util.Hashtable<java.lang.Object,java.lang.Object> getRuntimeData()
          Gets custom data associated with this node.
 java.util.Hashtable<java.lang.Object,java.lang.Object> getTraits()
          Contains properties specific to each layout algorithm.
 float getWeight()
          Gets the weight of the node.
 void setBounds(java.awt.geom.Rectangle2D value)
           
 void setCenter(java.awt.geom.Point2D.Float value)
          Sets the geometric center of this node.
 

Method Detail

getBounds

java.awt.geom.Rectangle2D.Float getBounds()
Gets or sets the bounding rectangle of the node.


setBounds

void setBounds(java.awt.geom.Rectangle2D value)

getOutLinks

LinkList getOutLinks()
Gets all outgoing links.


getInLinks

LinkList getInLinks()
Gets all incoming links.


getWeight

float getWeight()
Gets the weight of the node.


getRuntimeData

java.util.Hashtable<java.lang.Object,java.lang.Object> getRuntimeData()
Gets custom data associated with this node.


getTraits

java.util.Hashtable<java.lang.Object,java.lang.Object> getTraits()
Contains properties specific to each layout algorithm.


getCenter

java.awt.geom.Point2D.Float getCenter()
Gets the geometric center of this node.


setCenter

void setCenter(java.awt.geom.Point2D.Float value)
Sets the geometric center of this node.