com.gwtext.client.widgets.tree
Interface TreeSelectionModel

All Known Implementing Classes:
DefaultSelectionModel, MultiSelectionModel

public interface TreeSelectionModel


Method Summary
 void clearSelections()
          Clear all selections.
 com.google.gwt.core.client.JavaScriptObject getJsObj()
           
 boolean isSelected(TreeNode treeNode)
          Returns true if the node is selected.
 void select(TreeNode treeNode)
          Select a node.
 void selectNext()
          Selects the node above the selected node in the tree, intelligently walking the nodes.
 void selectPrevious()
          Selects the node above the selected node in the tree, intelligently walking the nodes.
 void unselect(TreeNode treeNode)
          Deselect a node.
 

Method Detail

getJsObj

com.google.gwt.core.client.JavaScriptObject getJsObj()

clearSelections

void clearSelections()
Clear all selections.


isSelected

boolean isSelected(TreeNode treeNode)
Returns true if the node is selected.

Parameters:
treeNode - the node to test
Returns:
true if selected

select

void select(TreeNode treeNode)
Select a node.

Parameters:
treeNode - the tree node to select

selectNext

void selectNext()
Selects the node above the selected node in the tree, intelligently walking the nodes.


selectPrevious

void selectPrevious()
Selects the node above the selected node in the tree, intelligently walking the nodes.


unselect

void unselect(TreeNode treeNode)
Deselect a node.

Parameters:
treeNode - the node to deselect