public class TreeWalker extends TransferableObject
| Constructor and Description |
|---|
TreeWalker(javax.swing.tree.TreeNode startNode) |
| Modifier and Type | Method and Description |
|---|---|
int |
countTreeItems()
Hashes once through the tree just for counting all items.
|
javax.swing.tree.TreeNode |
findInTree(java.lang.Object o)
Recurses through the tree in order to find the given object down from the startNode.
|
int |
getDepth() |
int |
getItemCountOfLevel(int level) |
int |
getTotalItemCount() |
protected boolean |
isMatch(javax.swing.tree.TreeNode node,
java.lang.Object o)
Determines how the match is evaluated between the node and the object being searched.
|
ToString |
toString(ToString s)
This method allows subclasses to add values to the existing ToString of the superclass.
|
clone, deepCloneconfigureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toDumpString, toStringpublic javax.swing.tree.TreeNode findInTree(java.lang.Object o)
isMatch(TreeNode, Object)public int countTreeItems()
public int getItemCountOfLevel(int level)
public int getTotalItemCount()
public int getDepth()
protected boolean isMatch(javax.swing.tree.TreeNode node,
java.lang.Object o)
public ToString toString(ToString s)
DumpabletoString in interface DumpabletoString in class DumpableObjectCopyright © 2014 EsprIT-Systems. All Rights Reserved.