|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.wegra.util.collection.Tree
Constructor Summary | |
Tree()
Returns a Tree with default TreeNode as its root. |
|
Tree(TreeNode root)
Returns a Tree with the specified TreeNode as its root. |
Method Summary | |
TreeNode |
getRoot()
Returns the root TreeNode. |
void |
setRoot(TreeNode root)
Sets the root TreeNode with specified TreeNode. |
static javax.swing.JTree |
toJTree(Tree tree)
|
static javax.swing.tree.MutableTreeNode |
toSwingTreeNode(TreeNode node)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Tree()
public Tree(TreeNode root)
Method Detail |
public void setRoot(TreeNode root)
root
- new root TreeNode.public TreeNode getRoot()
public static javax.swing.JTree toJTree(Tree tree)
public static javax.swing.tree.MutableTreeNode toSwingTreeNode(TreeNode node)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |