com.gwtext.client.widgets.grid.event
Class CellSelectionModelListenerAdapter
java.lang.Object
com.gwtext.client.widgets.grid.event.CellSelectionModelListenerAdapter
- All Implemented Interfaces:
- CellSelectionModelListener
public class CellSelectionModelListenerAdapter
- extends java.lang.Object
- implements CellSelectionModelListener
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CellSelectionModelListenerAdapter
public CellSelectionModelListenerAdapter()
doBeforeRowSelect
public boolean doBeforeRowSelect(CellSelectionModel sm,
int rowIndex,
int colIndex)
- Description copied from interface:
CellSelectionModelListener
- Fires before a cell is selected.
- Specified by:
doBeforeRowSelect in interface CellSelectionModelListener
- Parameters:
sm - thisrowIndex - The selected row indexcolIndex - The selected cell index
- Returns:
- false to cancel the row select
onCellSelect
public void onCellSelect(CellSelectionModel sm,
int rowIndex,
int colIndex)
- Description copied from interface:
CellSelectionModelListener
- Fires when a cell is selected.
- Specified by:
onCellSelect in interface CellSelectionModelListener
- Parameters:
sm - thisrowIndex - The selected row indexcolIndex - The selected cell index
onSelectionChange
public void onSelectionChange(CellSelectionModel sm,
Record record,
int[] rowIndexColIndex)
- Description copied from interface:
CellSelectionModelListener
- Fires when the active selection changes.
- Specified by:
onSelectionChange in interface CellSelectionModelListener
- Parameters:
sm - thisrecord - the selected record. null for no selectionrowIndexColIndex - array of rowIndex, columnIndex