|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--gumbo.visualize.data.layout.GraphLayoutPart
|
+--gumbo.visualize.data.layout.GraphLayoutEdge
|
+--gumbo.visualize.data.layout.KinkyGraphLayoutEdge
A graph layout edge that can have kinks.
| Constructor Summary | |
KinkyGraphLayoutEdge(PartView view)
|
|
| Method Summary | |
void |
addKinkNode(GraphLayoutNode node)
Adds a new kink, associated with the specified node, to this edge. |
AxisBound3 |
getGraphicBound(AxisBound3 retVal)
|
java.util.List |
getKinkNodes()
Gets an immutable view of the muttable kink nodes in this edge, ordered from edge head to tail. |
AxisBound3 |
getLayoutBound(AxisBound3 retVal)
Returns the smallest bounds containing this part, in layout space. |
boolean |
intersectLayout(LayoutPart part)
Returns true if the target part intersects this part in layout space. |
void |
removeKinkNode(GraphLayoutNode node)
Removes an old kink, associated with the specified node, from this edge. |
void |
validateLayoutDisplay(LayoutGraphicTransform xform)
Assumes vertices have already been validated in graphic space, and kink nodes have been validated in layout space. |
| Methods inherited from class gumbo.visualize.data.layout.GraphLayoutEdge |
getDataView, getGraphicBound, getHeadVertex, getTailVertex, initLayoutPart, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public KinkyGraphLayoutEdge(PartView view)
| Method Detail |
public void addKinkNode(GraphLayoutNode node)
node - Node associated with the new kink. Null and duplicate
nodes are silently ignored.public void removeKinkNode(GraphLayoutNode node)
node - Node associated with an old kink. Null and missing
nodes are silently ignored.public java.util.List getKinkNodes()
public boolean intersectLayout(LayoutPart part)
LayoutPart
intersectLayout in interface LayoutPartintersectLayout in class GraphLayoutEdgepart - The target part. Never null.
public AxisBound3 getLayoutBound(AxisBound3 retVal)
LayoutPart
getLayoutBound in interface LayoutPartgetLayoutBound in class GraphLayoutEdgeretVal - Return value object. Never null.
public void validateLayoutDisplay(LayoutGraphicTransform xform)
validateLayoutDisplay in interface LayoutViewvalidateLayoutDisplay in class GraphLayoutEdgexform - Transform between layout and graphic space. Never null.public AxisBound3 getGraphicBound(AxisBound3 retVal)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||