Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDebugId() |
Node |
getDestination()
Gets the destination Node for this link.
|
boolean |
getModified()
Gets a value indicating whether the points of this link
have been modified by the layouting algorithm.
|
Node |
getOppositeNode(Node aNode)
Returns the node at the opposite end of the link.
|
Node |
getOrigin()
Gets the origin Node for this link.
|
PointList |
getPoints()
Gets the sequence of points defining this link.
|
java.util.Hashtable<java.lang.Object,java.lang.Object> |
getRuntimeData()
Gets custom data associated with this link.
|
java.util.Hashtable<java.lang.Object,java.lang.Object> |
getTraits()
Gets properties specific to each layout algorithm.
|
float |
getWeight()
Gets the weight of the link.
|
boolean |
intersects(java.awt.geom.Rectangle2D.Float rect) |
void |
setModified(boolean value)
Sets a value indicating whether the points of this link
have been modified by the layouting algorithm.
|
void |
setPoints(java.util.ArrayList<java.awt.geom.Point2D.Float> points)
Invoked by some layouting algorithms to update the sequence
of points which define the link.
|
void |
setPoints(PointList points)
Sets the sequence of points defining this link.
|
void |
updatePoints()
Invoked to update the link after its point sequence
has been changed.
|
applyRoute, createRouteDescriptor
void setPoints(java.util.ArrayList<java.awt.geom.Point2D.Float> points)
void updatePoints()
Node getOppositeNode(Node aNode)
aNode
- Specifies a node whose opposite node should be returned.boolean intersects(java.awt.geom.Rectangle2D.Float rect)
Node getOrigin()
Node getDestination()
PointList getPoints()
void setPoints(PointList points)
java.util.Hashtable<java.lang.Object,java.lang.Object> getTraits()
java.util.Hashtable<java.lang.Object,java.lang.Object> getRuntimeData()
float getWeight()
java.lang.String getDebugId()
boolean getModified()
void setModified(boolean value)