com.sencha.gxt.widget.core.client.grid
Class CheckBoxSelectionModel<M>
java.lang.Object
com.sencha.gxt.widget.core.client.selection.AbstractStoreSelectionModel<M>
com.sencha.gxt.widget.core.client.grid.GridSelectionModel<M>
com.sencha.gxt.widget.core.client.grid.CheckBoxSelectionModel<M>
- Type Parameters:
M - the model data type
- All Implemented Interfaces:
- HasBeforeSelectionHandlers<M>, HasSelectionHandlers<M>, HasHandlers, SelectionChangedEvent.HasSelectionChangedHandlers<M>, StoreSelectionModel<M>
public class CheckBoxSelectionModel<M>
- extends GridSelectionModel<M>
A grid selection model. To use, add the column config to the column model
using getColumn().
This selection mode defaults to SelectionMode.MULTI and also supports
SelectionMode.SIMPLE. With SIMPLE, the control and shift keys do not need to
be pressed for multiple selections.
| Methods inherited from class com.sencha.gxt.widget.core.client.selection.AbstractStoreSelectionModel |
addBeforeSelectionHandler, addSelectionChangedHandler, addSelectionHandler, deselect, deselect, deselect, deselect, deselect, deselectAll, fireEvent, getSelectedItem, getSelectedItems, getSelection, getSelectionMode, isLocked, isSelected, refresh, select, select, select, select, select, selectAll, setLocked, setSelection, setSelectionMode |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CheckBoxSelectionModel
public CheckBoxSelectionModel(IdentityValueProvider<M> valueProvider)
bindGrid
public void bindGrid(Grid<M> grid)
- Description copied from class:
GridSelectionModel
- Binds the given grid to this selection model.
- Overrides:
bindGrid in class GridSelectionModel<M>
- Parameters:
grid - the grid to bind to this selection model
getColumn
public ColumnConfig<M,M> getColumn()
- Returns the column config.
- Returns:
- the column config
Copyright © 2012. All Rights Reserved.