|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Link
Method Summary | |
---|---|
Node |
getDestination()
Gets the destination Node for this link. |
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 |
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. |
Methods inherited from interface com.mindfusion.diagramming.jlayout.Routable |
---|
applyRoute, createRouteDescriptor |
Method Detail |
---|
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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |