public class RowEditorExitEvent extends BrowserEvent<RowEditorExitHandler> implements Cancellable
GwtEvent.Type<H>
jsObj
Constructor and Description |
---|
RowEditorExitEvent(JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Calling this method will cancel the default behavior (for example saving the row) and
leave the editor visible and focus in this edit cell.
|
protected void |
dispatch(RowEditorExitHandler handler) |
static <S extends HasRowEditorExitHandlers & HasHandlers> |
fire(S source,
JavaScriptObject jsObj)
Fires a open event on all registered handlers in the handler manager.If no
such handlers exist, this method will do nothing.
|
GwtEvent.Type<RowEditorExitHandler> |
getAssociatedType() |
EditCompletionEvent |
getEditCompletionEvent()
How was the edit completion fired?
|
java.util.Map |
getNewValues()
new values for the record [Note that fields that have not been edited will not be
included in this object]
|
ListGridRecord |
getRecord()
record for the cell being edited
|
int |
getRowNum()
row number for the row being left
|
static GwtEvent.Type<RowEditorExitHandler> |
getType()
Gets the type associated with this event.
|
boolean |
isCancelled() |
getX, getY, isAltKeyDown, isCtrlKeyDown, isLeftButtonDown, isRightButtonDown
assertLive, getSource, isLive, kill, revive
setSource, toDebugString, toString
public RowEditorExitEvent(JavaScriptObject jsObj)
public static <S extends HasRowEditorExitHandlers & HasHandlers> void fire(S source, JavaScriptObject jsObj)
S
- The event sourcesource
- the source of the handlersjsObj
- the native eventpublic static GwtEvent.Type<RowEditorExitHandler> getType()
protected void dispatch(RowEditorExitHandler handler)
dispatch
in class GwtEvent<RowEditorExitHandler>
public final GwtEvent.Type<RowEditorExitHandler> getAssociatedType()
getAssociatedType
in class GwtEvent<RowEditorExitHandler>
public void cancel()
cancel
in interface Cancellable
public boolean isCancelled()
isCancelled
in interface Cancellable
public EditCompletionEvent getEditCompletionEvent()
public ListGridRecord getRecord()
public java.util.Map getNewValues()
public int getRowNum()