public static class FormPanel.SubmitEvent extends GwtEvent<FormPanel.SubmitHandler>
GwtEvent.Type<H>| Constructor and Description |
|---|
SubmitEvent() |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Cancel the form submit.
|
protected void |
dispatch(FormPanel.SubmitHandler handler)
Should only be called by
HandlerManager. |
GwtEvent.Type<FormPanel.SubmitHandler> |
getAssociatedType()
Returns the
Event.Type used to register this event, allowing an
EventBus to find handlers of the appropriate class. |
static GwtEvent.Type<FormPanel.SubmitHandler> |
getType()
Handler hook.
|
boolean |
isCanceled()
Gets whether this form submit will be canceled.
|
(package private) void |
setCanceled(boolean canceled)
Deprecated.
Use
cancel() instead |
assertLive, getSource, isLive, kill, revivesetSource, toDebugString, toStringpublic static GwtEvent.Type<FormPanel.SubmitHandler> getType()
public void cancel()
FormPanel.SubmitCompleteEvent from being fired.public final GwtEvent.Type<FormPanel.SubmitHandler> getAssociatedType()
EventEvent.Type used to register this event, allowing an
EventBus to find handlers of the appropriate class.getAssociatedType in class GwtEvent<FormPanel.SubmitHandler>public boolean isCanceled()
true if the form submit will be canceledprotected void dispatch(FormPanel.SubmitHandler handler)
GwtEventHandlerManager. In other words, do not use
or call.dispatch in class GwtEvent<FormPanel.SubmitHandler>handler - handlerEventBus.dispatchEvent(Event, Object)@Deprecated void setCanceled(boolean canceled)
cancel() insteadFormHandler is removed.