|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.gui.swing.tree.Trees
Convenience static methods for trees operations.
Method Summary | |
static javax.swing.tree.TreePath[] |
getPathsToUserObject(javax.swing.tree.TreeModel model,
java.lang.Object value)
Returns the path to the specified user object. |
static java.lang.String |
toString(javax.swing.tree.TreeModel tree)
Returns a graphical representation of the specified tree model. |
static java.lang.String |
toString(javax.swing.tree.TreeNode node)
Returns a graphical representation of the specified tree. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static javax.swing.tree.TreePath[] getPathsToUserObject(javax.swing.tree.TreeModel model, java.lang.Object value)
TreeNode
,
this method compares the specified against the user object returned by the
TreeNode.getUserObject()
method.
model
- The tree model to inspect.value
- User object to compare to
TreeNode.getUserObject()
.
public static java.lang.String toString(javax.swing.tree.TreeModel tree)
tree
- The tree to format.
public static java.lang.String toString(javax.swing.tree.TreeNode node)
node
- The root node of the tree to format.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |