public class RowEditorExitEvent extends BrowserEvent<RowEditorExitHandler> implements Cancellable
jsObj
Constructor and Description |
---|
RowEditorExitEvent(com.google.gwt.core.client.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 & com.google.gwt.event.shared.HasHandlers> |
fire(S source,
com.google.gwt.core.client.JavaScriptObject jsObj)
Fires a open event on all registered handlers in the handler manager.If no
such handlers exist, this method will do nothing.
|
com.google.gwt.event.shared.GwtEvent.Type<RowEditorExitHandler> |
getAssociatedType() |
EditCompletionEvent |
getEditCompletionEvent()
How was the edit completion fired?
|
Canvas |
getFiringCanvas()
Returns the
Canvas firing the event. |
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 com.google.gwt.event.shared.GwtEvent.Type<RowEditorExitHandler> |
getType()
Gets the type associated with this event.
|
boolean |
isCancelled() |
getX, getY, isAltKeyDown, isCtrlKeyDown, isLeftButtonDown, isRightButtonDown
getFiringInstanceAsJavaScriptObject
assertLive, getSource, isLive, kill, revive
public RowEditorExitEvent(com.google.gwt.core.client.JavaScriptObject jsObj)
public Canvas getFiringCanvas()
Canvas
firing the event.public static <S extends HasRowEditorExitHandlers & com.google.gwt.event.shared.HasHandlers> void fire(S source, com.google.gwt.core.client.JavaScriptObject jsObj)
S
- The event sourcesource
- the source of the handlersjsObj
- the native eventpublic static com.google.gwt.event.shared.GwtEvent.Type<RowEditorExitHandler> getType()
protected void dispatch(RowEditorExitHandler handler)
dispatch
in class com.google.gwt.event.shared.GwtEvent<RowEditorExitHandler>
public final com.google.gwt.event.shared.GwtEvent.Type<RowEditorExitHandler> getAssociatedType()
getAssociatedType
in class com.google.gwt.event.shared.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()