T - type of nodepublic class DefaultTreeSelectionModel<T> extends BaseOptimizedSessionPersistedObject implements TreeSelectionModel<T>
TreeSelectionModel. This is simply a wrapper around a set of node ids.| Constructor and Description | 
|---|
| DefaultTreeSelectionModel() | 
| 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. | 
checkAndResetDirtyMarker, markDirtypublic DefaultTreeSelectionModel()
public boolean isSelected(TreeNode<T> node)
TreeSelectionModeltrue, if the given node is selected.isSelected in interface TreeSelectionModel<T>node - node to checkpublic void select(TreeNode<T> node)
TreeSelectionModelselect in interface TreeSelectionModel<T>node - node to selectpublic void unselect(TreeNode<T> node)
TreeSelectionModelunselect in interface TreeSelectionModel<T>node - node to unselectpublic void clear()
TreeSelectionModelclear in interface TreeSelectionModel<T>${project.version} - Copyright © 2003-2015 The Apache Software Foundation.