T - type of nodepublic interface TreeSelectionModel<T>
TreeModel are currently selected. The default
 implementation simply stores a set of unique node
 ids to identify selected nodes. The selection model is updated whenever the user clicks on the label for a leaf node.
 In the future, new methods may be added that will support selection of folders as well as leafs, and define the rules for
 how selections and de-selections propagate down to children or up to parents.Tree| Modifier and Type | Method and Description | 
|---|---|
| void | clear()Clears the selection. | 
| boolean | isSelected(TreeNode<T> node)Returns  true, if the given node is selected. | 
| void | select(TreeNode<T> node)Selects a node. | 
| void | unselect(TreeNode<T> node)Unselects a node. | 
boolean isSelected(TreeNode<T> node)
true, if the given node is selected.node - node to checkvoid clear()
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.