|
|||||||||||
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
A layout view for a graph model edge with two connections. Automatically connects its ends to their vertices when the display is validated.
Constructor Summary | |
GraphLayoutEdge(PartView view)
|
Method Summary | |
DataView |
getDataView()
Gets the data view associated with this layout view. |
AxisBound3 |
getGraphicBound()
Returns an immutable view of the smallest bounds containing this layout part, in graphic space. |
GraphLayoutVertex |
getHeadVertex()
|
AxisBound3 |
getLayoutBound(AxisBound3 retVal)
Returns the smallest bounds containing this part, in layout space. |
GraphLayoutVertex |
getTailVertex()
|
void |
initLayoutPart(java.util.Map vertMap)
Completes the initialization of this layout part. |
boolean |
intersectLayout(LayoutPart part)
Returns true if the target part intersects this part in layout space. |
java.lang.String |
toString()
|
void |
validateLayoutDisplay(LayoutGraphicTransform xform)
Assumes vertices have already been validated in graphic space. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public GraphLayoutEdge(PartView view)
Method Detail |
public void initLayoutPart(java.util.Map vertMap)
vertMap
- Maps vertex models (VertexModel) to layout part
(GraphLayoutVertex). Never null.public GraphLayoutVertex getHeadVertex()
public GraphLayoutVertex getTailVertex()
public boolean intersectLayout(LayoutPart part)
LayoutPart
intersectLayout
in interface LayoutPart
part
- The target part. Never null.
public AxisBound3 getLayoutBound(AxisBound3 retVal)
LayoutPart
getLayoutBound
in interface LayoutPart
retVal
- Return value object. Never null.
public final DataView getDataView()
LayoutView
getDataView
in interface LayoutView
public void validateLayoutDisplay(LayoutGraphicTransform xform)
validateLayoutDisplay
in interface LayoutView
xform
- Transform between layout and graphic space. Never null.public AxisBound3 getGraphicBound()
LayoutPartView
getGraphicBound
in interface LayoutPartView
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |