public interface TreeModelAdapter<T>
DefaultTreeModel to define how to extract labels and child nodes from a value.| Modifier and Type | Method and Description | 
|---|---|
| List<T> | getChildren(T value)Returns the children, in the order they should be presented to the client. | 
| String | getLabel(T value)Returns a text label for the value, which may be presented to the client. | 
| boolean | hasChildren(T value)Returns true if the value has children (only invoked for non-leaf values). | 
| boolean | isLeaf(T value)Determines if the value is a leaf or a (potential) container of children. | 
boolean isLeaf(T value)
TreeNode.isLeaf()boolean hasChildren(T value)
TreeNode.getHasChildren()List<T> getChildren(T value)
TreeNode.getChildren()String getLabel(T value)
TreeNode.getLabel()${project.version} - Copyright © 2003-2015 The Apache Software Foundation.