|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.gwtext.client.core.JsObject
com.gwtext.client.widgets.grid.AbstractSelectionModel
com.gwtext.client.widgets.grid.CellSelectionModel
public class CellSelectionModel
This class provides the basic implementation for cell selection in a grid.
| Field Summary |
|---|
| Fields inherited from class com.gwtext.client.core.JsObject |
|---|
jsObj |
| Constructor Summary | |
|---|---|
CellSelectionModel(com.google.gwt.core.client.JavaScriptObject jsObj)
|
|
| Method Summary | |
|---|---|
void |
addListener(CellSelectionModelListener listener)
Adds a Cell Selection model listener. |
void |
clearSelections()
Clears all selections. |
void |
clearSelections(boolean disableNotifications)
Clears all selections. |
int[] |
getSelectedCell()
Returns the currently selected cell. |
void |
select(int rowIndex,
int cellIndex)
Selects a cell. |
| Methods inherited from class com.gwtext.client.widgets.grid.AbstractSelectionModel |
|---|
isLocked, lock, unlock |
| Methods inherited from class com.gwtext.client.core.JsObject |
|---|
getJsObj, getProperties, isCreated, setJsObj |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CellSelectionModel(com.google.gwt.core.client.JavaScriptObject jsObj)
| Method Detail |
|---|
public void clearSelections()
public void clearSelections(boolean disableNotifications)
disableNotifications - true to disable notifications to the GridViewpublic int[] getSelectedCell()
public void select(int rowIndex,
int cellIndex)
rowIndex - row index of cellcellIndex - column index of cellpublic void addListener(CellSelectionModelListener listener)
listener - the listener
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||