|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--y.view.TreeView
Shows the nodes of graph in a tree structure. Currently this Tree is a list, because hirachical stuff is in development.
Field Summary | |
protected JTree |
jtree
|
Constructor Summary | |
TreeView(Graph2D graph)
Create a new TreeView for a Graph2D |
Method Summary | |
Component |
getComponent()
Returns the AWT component on which the view acts. |
Frame |
getFrame()
Returns the frame in which the view is contained. |
Graph2D |
getGraph2D()
Returns the Graph2D that this tree view shows. |
JTree |
getJTree()
Returns the the JTree Component that display the tree view of the graph. |
void |
updateView()
Redraws the content of this view. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected JTree jtree
Constructor Detail |
public TreeView(Graph2D graph)
Method Detail |
public JTree getJTree()
public Graph2D getGraph2D()
getGraph2D
in interface View
public void updateView()
updateView
in interface View
public Frame getFrame()
null
is returned.
getFrame
in interface View
public Component getComponent()
getComponent
in interface View
|
© Copyright 2000-2003, yWorks GmbH. All rights reserved. 2003 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |