|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sencha.gxt.widget.core.client.grid.editing.AbstractGridEditing<M>
com.sencha.gxt.widget.core.client.grid.editing.GridRowEditing<M>
M - the model typepublic class GridRowEditing<M>
Displays an editor for all cells in a row and allows all fields in row to be edited at the same time.
| Nested Class Summary | |
|---|---|
class |
GridRowEditing.DefaultRowEditorMessages
|
static interface |
GridRowEditing.RowEditorAppearance
|
static interface |
GridRowEditing.RowEditorMessages
|
| Constructor Summary | |
|---|---|
GridRowEditing(Grid<M> editableGrid)
Creates a new row editing instance. |
|
| Method Summary | |
|---|---|
void |
cancelEditing()
Cancels an active edit. |
void |
completeEditing()
Completes the active edit. |
GridRowEditing.RowEditorMessages |
getMessages()
Returns the row editor messages. |
int |
getMonitorPoll()
Returns the interval that the row editor is validated. |
void |
setEditableGrid(Grid<M> editableGrid)
Sets the target grid to be edited. |
void |
setMessages(GridRowEditing.RowEditorMessages messages)
Sets the row editor messages. |
void |
setMonitorPoll(int monitorPoll)
Sets the polling interval that the row editor validation is run (defaults to 200). |
void |
setMonitorValid(boolean monitorValid)
True to monitor the valid status of this row editor (defaults to true). |
void |
startEditing(Grid.GridCell cell)
Starts editing for the given cell. |
| Methods inherited from class com.sencha.gxt.widget.core.client.grid.editing.AbstractGridEditing |
|---|
addBeforeStartEditHandler, addCancelEditHandler, addCompleteEditHandler, addEditor, addEditor, addStartEditHandler, clearEditors, fireEvent, getActiveCell, getClicksToEdit, getConverter, getEditableGrid, getEditor, isEditing, removeEditor, setClicksToEdit |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GridRowEditing(Grid<M> editableGrid)
editableGrid - the target grid| Method Detail |
|---|
public void cancelEditing()
GridEditing
cancelEditing in interface GridEditing<M>cancelEditing in class AbstractGridEditing<M>public void completeEditing()
GridEditing
completeEditing in interface GridEditing<M>completeEditing in class AbstractGridEditing<M>public GridRowEditing.RowEditorMessages getMessages()
public int getMonitorPoll()
public void setEditableGrid(Grid<M> editableGrid)
GridEditing
setEditableGrid in interface GridEditing<M>setEditableGrid in class AbstractGridEditing<M>editableGrid - the editable gridpublic void setMessages(GridRowEditing.RowEditorMessages messages)
messages - the messagespublic void setMonitorPoll(int monitorPoll)
monitorPoll - the polling interval in ms in that validation is donepublic void setMonitorValid(boolean monitorValid)
monitorValid - true to monitor this row editorpublic void startEditing(Grid.GridCell cell)
GridEditing
startEditing in interface GridEditing<M>startEditing in class AbstractGridEditing<M>cell - the cell
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||