com.extjs.gxt.ui.client.widget.treegrid
Class TreeGridSelectionModel<M extends ModelData>

java.lang.Object
  extended by com.extjs.gxt.ui.client.event.BaseObservable
      extended by com.extjs.gxt.ui.client.widget.selection.AbstractStoreSelectionModel<M>
          extended by com.extjs.gxt.ui.client.widget.grid.GridSelectionModel<M>
              extended by com.extjs.gxt.ui.client.widget.treegrid.TreeGridSelectionModel<M>
All Implemented Interfaces:
Listener<BaseEvent>, Observable, SelectionProvider<M>, StoreSelectionModel<M>, java.util.EventListener

public class TreeGridSelectionModel<M extends ModelData>
extends GridSelectionModel<M>


Nested Class Summary
 
Nested classes/interfaces inherited from class com.extjs.gxt.ui.client.widget.grid.GridSelectionModel
GridSelectionModel.Callback, GridSelectionModel.Cell
 
Field Summary
protected  TreeGrid tree
           
protected  TreeStore<M> treeStore
           
 
Fields inherited from class com.extjs.gxt.ui.client.widget.grid.GridSelectionModel
enableNavKeys, grid, grouped, groupingView, keyNav, listStore, selectedGroup, selectedHeader
 
Fields inherited from class com.extjs.gxt.ui.client.widget.selection.AbstractStoreSelectionModel
lastSelected, locked, selected, selectionMode, store, storeListener
 
Constructor Summary
TreeGridSelectionModel()
           
 
Method Summary
 void bindGrid(Grid grid)
           
protected  void handleMouseClick(GridEvent<M> e)
           
protected  void handleMouseDown(GridEvent<M> e)
           
protected  void onKeyLeft(GridEvent<M> ce)
           
protected  void onKeyRight(GridEvent<M> ce)
           
 
Methods inherited from class com.extjs.gxt.ui.client.widget.grid.GridSelectionModel
bind, handleColumnHidden, handleEvent, hasNext, hasPrevious, isInput, isMoveEditorOnEnter, isSelectable, onEditorKey, onKeyDown, onKeyPress, onKeyUp, onLastFocusChanged, onRowUpdated, onSelectChange, selectNext, selectPrevious, setMoveEditorOnEnter
 
Methods inherited from class com.extjs.gxt.ui.client.widget.selection.AbstractStoreSelectionModel
addSelectionChangedListener, deselect, deselect, deselect, deselect, deselect, deselectAll, doDeselect, doMultiSelect, doSelect, doSingleSelect, fireSelectionChange, getLastFocused, getSelectedItem, getSelectedItems, getSelection, getSelectionMode, isLocked, isSelected, onAdd, onClear, onRemove, onUpdate, refresh, removeSelectionListener, select, select, select, select, select, selectAll, setLastFocused, setLocked, setSelection, setSelectionMode
 
Methods inherited from class com.extjs.gxt.ui.client.event.BaseObservable
addListener, callListener, fireEvent, fireEvent, getFiresEvents, getListeners, hasActiveEvent, hasListeners, hasListeners, removeAllListeners, removeListener, setFiresEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tree

protected TreeGrid tree

treeStore

protected TreeStore<M extends ModelData> treeStore
Constructor Detail

TreeGridSelectionModel

public TreeGridSelectionModel()
Method Detail

bindGrid

public void bindGrid(Grid grid)
Overrides:
bindGrid in class GridSelectionModel<M extends ModelData>

handleMouseClick

protected void handleMouseClick(GridEvent<M> e)
Overrides:
handleMouseClick in class GridSelectionModel<M extends ModelData>

handleMouseDown

protected void handleMouseDown(GridEvent<M> e)
Overrides:
handleMouseDown in class GridSelectionModel<M extends ModelData>

onKeyLeft

protected void onKeyLeft(GridEvent<M> ce)
Overrides:
onKeyLeft in class GridSelectionModel<M extends ModelData>

onKeyRight

protected void onKeyRight(GridEvent<M> ce)
Overrides:
onKeyRight in class GridSelectionModel<M extends ModelData>