com.sencha.gxt.widget.core.client.grid.editing
Class GridInlineEditing<M>

java.lang.Object
  extended by com.sencha.gxt.widget.core.client.grid.editing.AbstractGridEditing<M>
      extended by com.sencha.gxt.widget.core.client.grid.editing.GridInlineEditing<M>
Type Parameters:
M - the model type
All Implemented Interfaces:
HasHandlers, BeforeStartEditEvent.HasBeforeStartEditHandlers<M>, CancelEditEvent.HasCancelEditHandlers<M>, CompleteEditEvent.HasCompleteEditHandlers<M>, StartEditEvent.HasStartEditHandlers<M>, GridEditing<M>

public class GridInlineEditing<M>
extends AbstractGridEditing<M>

Cell based inline editing.


Constructor Summary
GridInlineEditing(Grid<M> editableGrid)
           
 
Method Summary
 void cancelEditing()
          Cancels an active edit.
 void completeEditing()
          Completes the active edit.
 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, setEditableGrid
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GridInlineEditing

public GridInlineEditing(Grid<M> editableGrid)
Method Detail

cancelEditing

public void cancelEditing()
Description copied from interface: GridEditing
Cancels an active edit.

Specified by:
cancelEditing in interface GridEditing<M>
Specified by:
cancelEditing in class AbstractGridEditing<M>

completeEditing

public void completeEditing()
Description copied from interface: GridEditing
Completes the active edit.

Specified by:
completeEditing in interface GridEditing<M>
Specified by:
completeEditing in class AbstractGridEditing<M>

startEditing

public void startEditing(Grid.GridCell cell)
Description copied from interface: GridEditing
Starts editing for the given cell.

Specified by:
startEditing in interface GridEditing<M>
Specified by:
startEditing in class AbstractGridEditing<M>
Parameters:
cell - the cell


Copyright © 2012. All Rights Reserved.