|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.aitools.iv.graphdrawing.jtree.ModelConverter
public class ModelConverter
Constructor Summary | |
---|---|
ModelConverter(UndirectedGraph tree,
Vertex root,
JTreeVisualization jTreeView)
converts a de.aitools.common.datastructures.graph.UndirectedGraph to javax.swing.tree.TreeModel with the specified root-vertex |
Method Summary | |
---|---|
JTreeVertexDraw |
getRoot()
Returns the JTreeVertexDraw, that was created for the root-Vertex, which were specified in the constructor. |
java.lang.String |
toString()
only for debug |
void |
visit(Vertex v,
Vertex parent)
this Method is public as an implementation side effect. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ModelConverter(UndirectedGraph tree, Vertex root, JTreeVisualization jTreeView)
tree
- - the graph to be convertedroot
- - the root of the graphMethod Detail |
---|
public void visit(Vertex v, Vertex parent)
visit
in interface TreeVertexVisitor
TreeVertexVisitor.visit(de.aitools.iv.graphdrawing.datastructures.graph.Vertex, de.aitools.iv.graphdrawing.datastructures.graph.Vertex)
public JTreeVertexDraw getRoot()
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 |