public class JTrees extends Object
| Constructor and Description |
|---|
JTrees() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addExpandOnClickListener(JTree tree)
Add a listener of tree selection model to expand a new selected node
when it is selected.
|
static void |
expandTree(JTree tree)
Expand all childs of a tree.
|
public static void expandTree(JTree tree)
tree - the tree to expandpublic static void addExpandOnClickListener(JTree tree)
tree - the tree to treateCopyright © 2008–2015 CodeLutin. All rights reserved.