|
|||||||||||
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.GraphLayoutNode | +--gumbo.visualize.data.layout.GraphLayoutVertex
A layout view for a graph model vertex. Except for their edges, ports are ignored. Vertices must be explicitely positioned by the layout engine.
Nested Class Summary |
Nested classes inherited from class gumbo.visualize.data.layout.GraphLayoutNode |
GraphLayoutNode.BoundComparator, GraphLayoutNode.IndexCenterComparator, GraphLayoutNode.PositionComparator, GraphLayoutNode.PriorityComparator |
Constructor Summary | |
GraphLayoutVertex(PartView view)
|
Method Summary | |
static java.util.Set |
connectedEdges(java.util.Collection verts,
java.util.Set retVal)
Gets the set of edges connected to a group of vertices. |
java.util.Set |
getConnectedEdges()
Gets a reference to the immutable set of edges connected to this vertex. |
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. |
void |
initLayoutPart(java.util.Map vertMap,
java.util.Map edgeMap)
Completes the initialization of this layout part. |
java.lang.String |
toString()
|
void |
validateLayoutDisplay(LayoutGraphicTransform xform)
Called by layout engines to prepare and realize the display state of the graphic view associated with this layout view and any of its dependent layout views, possibly recusively. |
Methods inherited from class gumbo.visualize.data.layout.GraphLayoutNode |
addLink, backwardNodes, centerNodes, compactNodes, connectedNodes, expandBalancedNodes, expandNodes, forwardNodes, getAfterNodes, getAfterPriority, getBackwardNodes, getBeforeNodes, getBeforePriority, getConnectedNodes, getForwardNodes, getIndexCenter, getLayoutBound, getPosition, getSize, gridAlignNodes, indexCenterList, indexCenters, intersectLayout, isSingular, isSink, isSource, offsetNodes, otherNodes, positionCenter, positionCenters, priorityList, removeLink, scaleNodes, setAfterNodes, setAfterPriority, setBeforeNodes, setBeforePriority, setIndexCenter, setPosition, setSize, singularNodes, sinkNodes, sourceNodes, traceNodes, traceNodes |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface gumbo.visualize.data.layout.LayoutPart |
getLayoutBound, intersectLayout |
Constructor Detail |
public GraphLayoutVertex(PartView view)
Method Detail |
public void initLayoutPart(java.util.Map vertMap, java.util.Map edgeMap)
vertMap
- Maps vertex models (VertexModel) to layout part
(GraphLayoutVertex). Never null.edgeMap
- Maps edge models (EdgeModel) to layout part
(GraphLayoutEdge). Never null.public java.util.Set getConnectedEdges()
public final DataView getDataView()
LayoutView
getDataView
in interface LayoutView
public void validateLayoutDisplay(LayoutGraphicTransform xform)
LayoutView
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 GraphLayoutNode
public static java.util.Set connectedEdges(java.util.Collection verts, java.util.Set retVal)
verts
- AbstractGroup of vertices (GraphLayoutVertex). Never null.retVal
- Return value object. Filtered edges
(GraphLayoutVertex). Never null.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |