M - public class GridAndCellSelectionModel<M>
extends com.sencha.gxt.widget.core.client.grid.GridSelectionModel<M>
| Constructor and Description |
|---|
GridAndCellSelectionModel() |
| Modifier and Type | Method and Description |
|---|---|
com.sencha.gxt.widget.core.client.selection.CellSelection<M> |
getCellSelected() |
protected void |
onAdd(List<? extends M> models) |
void |
onChangeNumberOfRows() |
protected void |
onClear(com.sencha.gxt.data.shared.event.StoreClearEvent<M> event) |
protected void |
onRemove(M model) |
protected void |
onRowClick(com.sencha.gxt.widget.core.client.event.RowClickEvent event)
Handles a row click event.
|
protected void |
onRowMouseDown(com.sencha.gxt.widget.core.client.event.RowMouseDownEvent event)
Handles a row mouse down event.
|
void |
refresh() |
void |
setCellSelected(com.sencha.gxt.widget.core.client.selection.CellSelection<M> cellSelected) |
bind, bindGrid, getGrid, hasNext, hasPrevious, isSelectable, onKeyDown, onKeyLeft, onKeyPress, onKeyRight, onKeyUp, onLastFocusChanged, onRecordChange, onSelectChange, onUpdate, selectNext, selectPreviousaddBeforeSelectionHandler, addSelectionChangedHandler, addSelectionHandler, deselect, deselect, deselect, deselect, deselect, deselectAll, doDeselect, doMultiSelect, doSelect, doSingleSelect, ensureHandlers, fireEvent, fireSelectionChange, getLastFocused, getSelectedItem, getSelectedItems, getSelection, getSelectionMode, isLocked, isSelected, select, select, select, select, select, selectAll, setLastFocused, setLocked, setSelection, setSelectionModeprotected void onRowClick(com.sencha.gxt.widget.core.client.event.RowClickEvent event)
onRowClick in class com.sencha.gxt.widget.core.client.grid.GridSelectionModel<M>event - the row click eventprotected void onRowMouseDown(com.sencha.gxt.widget.core.client.event.RowMouseDownEvent event)
onRowMouseDown in class com.sencha.gxt.widget.core.client.grid.GridSelectionModel<M>event - the row mouse down eventpublic com.sencha.gxt.widget.core.client.selection.CellSelection<M> getCellSelected()
public void setCellSelected(com.sencha.gxt.widget.core.client.selection.CellSelection<M> cellSelected)
public void refresh()
protected void onClear(com.sencha.gxt.data.shared.event.StoreClearEvent<M> event)
onClear in class com.sencha.gxt.widget.core.client.selection.AbstractStoreSelectionModel<M>protected void onRemove(M model)
onRemove in class com.sencha.gxt.widget.core.client.selection.AbstractStoreSelectionModel<M>protected void onAdd(List<? extends M> models)
onAdd in class com.sencha.gxt.widget.core.client.selection.AbstractStoreSelectionModel<M>public void onChangeNumberOfRows()
Copyright © 2015. All Rights Reserved.