|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Tree | |
com.arsdigita.util | Utility classes. |
Uses of Tree in com.arsdigita.util |
Methods in com.arsdigita.util that return Tree | |
Tree |
Tree.addChild(Object child,
Object edge)
Adds a child element to the root of this tree. |
Tree |
Tree.addChild(Object child)
A shortcut for addChild(child, null) . |
Tree |
Tree.getParent()
Returns the tree rooted at the parent node of the root of this tree or null , if the root of this tree has no parent node. |
Tree |
Tree.copy()
Returns a copy of this tree. |
Tree |
Tree.EdgeTreePair.getTree()
Returns the subtree rooted at the head node of the edge. |
Methods in com.arsdigita.util with parameters of type Tree | |
void |
Tree.addSubtree(Tree subtree,
Object edge)
Adds subtree to the root node of this tree. |
void |
Tree.addSubtree(Tree subtree)
A shortcut for addSubtree(subtree,null) . |
static void |
Graphs.printTree(Tree tree,
GraphFormatter fmtr,
PrintWriter writer)
Pretty-prints the tree in a format patterned off of the DOT language. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |