com.extjs.gxt.ui.client.widget.tree
Class TreeSelectionModel

java.lang.Object
  extended by com.extjs.gxt.ui.client.widget.selection.AbstractSelectionModel<Tree,TreeItem>
      extended by com.extjs.gxt.ui.client.widget.tree.TreeSelectionModel
All Implemented Interfaces:
Listener<ContainerEvent>, SelectionModel<Tree,TreeItem>, java.util.EventListener

Deprecated. see TreePanel

public class TreeSelectionModel
extends AbstractSelectionModel<Tree,TreeItem>

Tree single-select selection model.


Field Summary
 
Fields inherited from class com.extjs.gxt.ui.client.widget.selection.AbstractSelectionModel
container, keyNav, locked, mode, multiSelect, selected, selectedItem, selectedPreRender, simpleSelect, singleSelect
 
Constructor Summary
TreeSelectionModel()
          Deprecated.  
TreeSelectionModel(Style.SelectionMode mode)
          Deprecated.  
 
Method Summary
protected  void doMultiSelect(TreeItem item, ContainerEvent ce)
          Deprecated.  
protected  void ensureExpanded(TreeItem item)
          Deprecated.  
protected  TreeItem next()
          Deprecated.  
protected  void onKeyDown(ContainerEvent ce)
          Deprecated.  
protected  void onKeyLeft(ContainerEvent ce)
          Deprecated.  
protected  void onKeyRight(ContainerEvent ce)
          Deprecated.  
protected  void onKeyUp(ContainerEvent ce)
          Deprecated.  
protected  void onMouseDown(ContainerEvent ce)
          Deprecated.  
protected  void onSelectChange(TreeItem item, boolean select)
          Deprecated.  
protected  TreeItem previous()
          Deprecated.  
 void selectNext()
          Deprecated. Selects the item below the selected item in the tree, intelligently walking the nodes.
 void selectPrevious()
          Deprecated. Selects the item above the selected item in the tree, intelligently walking the nodes.
 
Methods inherited from class com.extjs.gxt.ui.client.widget.selection.AbstractSelectionModel
bind, createContainerEvent, createKeyNav, deselect, deselect, deselect, deselect, deselect, deselectAll, deselectAll, doDeselect, doSelect, doSelectChange, doSingleSelect, fireSelectionChanged, getSelectedItem, getSelectedItems, getSelectionMode, handleEvent, hookPreRender, isLocked, isSelected, onDoubleClick, onRemove, onRender, refresh, select, select, select, select, select, selectAll, setLocked
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeSelectionModel

public TreeSelectionModel()
Deprecated. 

TreeSelectionModel

public TreeSelectionModel(Style.SelectionMode mode)
Deprecated. 
Method Detail

selectNext

public void selectNext()
Deprecated. 
Selects the item below the selected item in the tree, intelligently walking the nodes.


selectPrevious

public void selectPrevious()
Deprecated. 
Selects the item above the selected item in the tree, intelligently walking the nodes.


doMultiSelect

protected void doMultiSelect(TreeItem item,
                             ContainerEvent ce)
Deprecated. 
Overrides:
doMultiSelect in class AbstractSelectionModel<Tree,TreeItem>

ensureExpanded

protected void ensureExpanded(TreeItem item)
Deprecated. 

next

protected TreeItem next()
Deprecated. 
Overrides:
next in class AbstractSelectionModel<Tree,TreeItem>

onKeyDown

protected void onKeyDown(ContainerEvent ce)
Deprecated. 
Overrides:
onKeyDown in class AbstractSelectionModel<Tree,TreeItem>

onKeyLeft

protected void onKeyLeft(ContainerEvent ce)
Deprecated. 
Overrides:
onKeyLeft in class AbstractSelectionModel<Tree,TreeItem>

onKeyRight

protected void onKeyRight(ContainerEvent ce)
Deprecated. 
Overrides:
onKeyRight in class AbstractSelectionModel<Tree,TreeItem>

onKeyUp

protected void onKeyUp(ContainerEvent ce)
Deprecated. 
Overrides:
onKeyUp in class AbstractSelectionModel<Tree,TreeItem>

onMouseDown

protected void onMouseDown(ContainerEvent ce)
Deprecated. 
Overrides:
onMouseDown in class AbstractSelectionModel<Tree,TreeItem>

onSelectChange

protected void onSelectChange(TreeItem item,
                              boolean select)
Deprecated. 
Overrides:
onSelectChange in class AbstractSelectionModel<Tree,TreeItem>

previous

protected TreeItem previous()
Deprecated. 
Overrides:
previous in class AbstractSelectionModel<Tree,TreeItem>