Type Params | Return Type | Name and description |
---|---|---|
|
static void |
expandAll(javax.swing.JTree tree, javax.swing.tree.TreePath parent, boolean expand) |
|
static void |
expandNode(javax.swing.JTree tree, javax.swing.tree.TreeNode node) expend hole tree node |
|
static java.util.List<java.lang.Integer> |
getNodeIndexPath(javax.swing.tree.TreeNode node) Returns path to node as list of level indexes. |
|
static boolean |
isLocationInExpandControl(NavigatorTree tree, java.awt.event.MouseEvent e) |
|
static void |
selectNodeIndexPath(java.util.List<java.lang.Integer> nodePath, javax.swing.JTree tree) Select the target node |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
expend hole tree node
Returns path to node as list of level indexes. first items show first level index and later absent list show root node
node
- : tree node for which path will be calculatedSelect the target node
nodePath
- : list of integer values. each value describe position as index of needed node.