|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
M - the model typepublic interface GridEditing<M>
Defines the interface for classes that support grid editing.
GridInlineEditing,
GridRowEditing| Method Summary | ||
|---|---|---|
|
addEditor(ColumnConfig<M,N> columnConfig,
Converter<N,O> converter,
Field<O> field)
Adds an editor for the give column. |
|
|
addEditor(ColumnConfig<M,N> columnConfig,
Field<N> field)
Adds an editor for the given column. |
|
void |
cancelEditing()
Cancels an active edit. |
|
void |
completeEditing()
Completes the active edit. |
|
|
getConverter(ColumnConfig<M,N> columnConfig)
Returns the converter for the given column. |
|
Grid<M> |
getEditableGrid()
Returns the target grid. |
|
|
getEditor(ColumnConfig<M,?> columnConfig)
Returns the editor for the given column. |
|
boolean |
isEditing()
Returns true if editing is active. |
|
void |
removeEditor(ColumnConfig<M,?> columnConfig)
Removes the editor for the given column. |
|
void |
setEditableGrid(Grid<M> editableGrid)
Sets the target grid to be edited. |
|
void |
startEditing(Grid.GridCell cell)
Starts editing for the given cell. |
|
| Methods inherited from interface com.sencha.gxt.widget.core.client.event.BeforeStartEditEvent.HasBeforeStartEditHandlers |
|---|
addBeforeStartEditHandler |
| Methods inherited from interface com.sencha.gxt.widget.core.client.event.StartEditEvent.HasStartEditHandlers |
|---|
addStartEditHandler |
| Methods inherited from interface com.sencha.gxt.widget.core.client.event.CompleteEditEvent.HasCompleteEditHandlers |
|---|
addCompleteEditHandler |
| Methods inherited from interface com.sencha.gxt.widget.core.client.event.CancelEditEvent.HasCancelEditHandlers |
|---|
addCancelEditHandler |
| Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
|---|
fireEvent |
| Method Detail |
|---|
<N,O> void addEditor(ColumnConfig<M,N> columnConfig,
Converter<N,O> converter,
Field<O> field)
columnConfig - the column configconverter - the converterfield - the field
<N> void addEditor(ColumnConfig<M,N> columnConfig,
Field<N> field)
columnConfig - the column configfield - the fieldvoid cancelEditing()
void completeEditing()
<N,O> Converter<N,O> getConverter(ColumnConfig<M,N> columnConfig)
columnConfig - the column config
Grid<M> getEditableGrid()
<O> Field<O> getEditor(ColumnConfig<M,?> columnConfig)
columnConfig - the column config
boolean isEditing()
void removeEditor(ColumnConfig<M,?> columnConfig)
columnConfig - the column configvoid setEditableGrid(Grid<M> editableGrid)
editableGrid - the editable gridvoid startEditing(Grid.GridCell cell)
cell - the cell
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||