com.google.gwt.widgetideas.table.client
Interface AbstractCellEditor.Callback<R>

Type Parameters:
R - the type of the row value associated with the editor
Enclosing interface:
AbstractCellEditor<R>

public static interface AbstractCellEditor.Callback<R>

Callback for AbstractCellEditor. The callback will be used when the user finishes editing the cell.


Method Summary
 void onCancel(AbstractCellEditor.CellEditInfo<R> cellEditInfo)
          Use this callback to cancel the edit request.
 void onComplete(AbstractCellEditor.CellEditInfo<R> cellEditInfo, java.lang.Object value)
          Use this callback to return a value to the table.
 

Method Detail

onComplete

void onComplete(AbstractCellEditor.CellEditInfo<R> cellEditInfo,
                java.lang.Object value)
Use this callback to return a value to the table.

Parameters:
cellEditInfo - information about the source of the edit request
value - the new value of the cell

onCancel

void onCancel(AbstractCellEditor.CellEditInfo<R> cellEditInfo)
Use this callback to cancel the edit request.

Parameters:
cellEditInfo - information about the source of the edit request