|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.extjs.gxt.ui.client.event.BaseObservable
com.extjs.gxt.ui.client.widget.selection.AbstractStoreSelectionModel<M>
com.extjs.gxt.ui.client.widget.grid.GridSelectionModel<M>
public class GridSelectionModel<M extends ModelData>
Grid selection model.
| Nested Class Summary | |
|---|---|
static class |
GridSelectionModel.Callback
|
static class |
GridSelectionModel.Cell
|
| Constructor Summary | |
|---|---|
GridSelectionModel()
|
|
| Method Summary | |
|---|---|
void |
bindGrid(Grid grid)
|
void |
handleEvent(BaseEvent e)
Sent when an event that the listener has registered for occurs. |
boolean |
isLocked()
Returns true if the selection model is locked. |
boolean |
isMoveEditorOnEnter()
Returns true of the editor moves on enter. |
void |
onEditorKey(DomEvent e)
|
void |
selectNext(boolean keepexisting)
Selects the next row. |
void |
selectPrevious(boolean keepexisting)
Selects the previous row. |
void |
setMoveEditorOnEnter(boolean moveEditorOnEnter)
Set this to true to move the editor to the next editable cell on pressing enter. |
| 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, getListeners, hasActiveEvent, hasListeners, hasListeners, removeAllListeners, removeListener, setFiresEvents |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GridSelectionModel()
| Method Detail |
|---|
public void bindGrid(Grid grid)
public void handleEvent(BaseEvent e)
Listener
handleEvent in interface Listener<BaseEvent>e - the event which occurredpublic boolean isLocked()
AbstractStoreSelectionModel
isLocked in class AbstractStoreSelectionModel<M extends ModelData>public boolean isMoveEditorOnEnter()
public void onEditorKey(DomEvent e)
public void selectNext(boolean keepexisting)
keepexisting - true to keep existing selectionspublic void selectPrevious(boolean keepexisting)
keepexisting - true to keep existing selectionspublic void setMoveEditorOnEnter(boolean moveEditorOnEnter)
moveEditorOnEnter - true to move the editor on pressing enter.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||