|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gumbo.visualize.data.impl.swing.SwingDataModels
Constants and utilities related to Swing data models.
Method Summary | |
static javax.swing.tree.DefaultTreeModel |
toTreeModel(VertexModel seedVertex,
VertexModel pruneVertex,
boolean traceForward,
boolean traceBackward,
java.util.Map retMap)
Traces a Gumbo graph model to produce an equivalent Swing tree model, whose nodes reference their corresponding vertex models. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static javax.swing.tree.DefaultTreeModel toTreeModel(VertexModel seedVertex, VertexModel pruneVertex, boolean traceForward, boolean traceBackward, java.util.Map retMap)
pruneVertex
- A graph vertex whose subgraph will be pruned from
the trace. The prune vertex is excluded from the trace. Null
if none (prune nothing from the trace). If the seed, throws an
exception.traceForward
- If true, forward connections (tail to head)
are traced.traceBackward
- If true, backward connections (head to tail)
are traced.retMap
- Return value object. A map from vertex models
(VertexModel) to tree nodes (DefaultMutableTreeNode). Never null.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |