|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdsto.dfc.swing.tree.Trees
public class Trees
General utility methods for trees.
Nested Class Summary | |
---|---|
static class |
Trees.TreeTracer
A debugging TreeModelListener that prints events from a tree model to System.out. |
Method Summary | |
---|---|
static MutableTreeNode |
cloneNodes(TreeNode root)
Clone a tree of nodes. |
static void |
disposeNodes(TreeNode root)
Calls dispose on all Disposable nodes starting from
a given root node. |
static void |
dumpTree(TreeModel tree)
|
static void |
dumpTree(TreeModel tree,
PrintStream str)
Dump a debug print of a tree model. |
static Object[] |
getPathForEntry(TreeModel model,
Object entry)
Get the path to a given entry in the tree model. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Object[] getPathForEntry(TreeModel model, Object entry)
public static MutableTreeNode cloneNodes(TreeNode root) throws CloneNotSupportedException
root
- The tree node to copy from.
CloneNotSupportedException
public static void disposeNodes(TreeNode root)
Disposable
nodes starting from
a given root node.
public static void dumpTree(TreeModel tree)
dumpTree(TreeModel,PrintStream)
public static void dumpTree(TreeModel tree, PrintStream str)
tree
- The tree model to dump.str
- The stream to dump to.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |