com.extjs.gxt.ui.client.widget.grid
Class CheckBoxSelectionModel<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.grid.CheckBoxSelectionModel<M>
Type Parameters:
M - the model data type
All Implemented Interfaces:
Listener<BaseEvent>, Observable, SelectionProvider<M>, ComponentPlugin, StoreSelectionModel<M>, java.util.EventListener

public class CheckBoxSelectionModel<M extends ModelData>
extends GridSelectionModel<M>
implements ComponentPlugin

A grid selection model and component plugin. To use, add the column config to the column model using getColumn() and add this object to the grids plugin.


Constructor Summary
CheckBoxSelectionModel()
           
 
Method Summary
 ColumnConfig getColumn()
          Returns the column config.
 void init(Component component)
          Initializes the plugin when the component is created.
 
Methods inherited from class com.extjs.gxt.ui.client.widget.grid.GridSelectionModel
bindGrid, handleEvent, isLocked, selectNext, selectPrevious
 
Methods inherited from class com.extjs.gxt.ui.client.widget.selection.AbstractStoreSelectionModel
addSelectionChangedListener, bind, deselect, deselect, deselect, deselect, deselect, deselectAll, getSelectedItem, getSelectedItems, getSelection, getSelectionMode, isSelected, refresh, removeSelectionListener, select, select, select, select, select, selectAll, setLocked, setSelection, setSelectionMode
 
Methods inherited from class com.extjs.gxt.ui.client.event.BaseObservable
addListener, fireEvent, fireEvent, getFiresEvents, hasListeners, hasListeners, removeAllListeners, removeListener, setFiresEvents
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckBoxSelectionModel

public CheckBoxSelectionModel()
Method Detail

getColumn

public ColumnConfig getColumn()
Returns the column config.

Returns:
the column config

init

public void init(Component component)
Description copied from interface: ComponentPlugin
Initializes the plugin when the component is created.

Specified by:
init in interface ComponentPlugin
Parameters:
component - the source component