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.
|
assertLive, getSource, isLive, kill, revive
public static GwtEvent.Type<FormPanel.SubmitHandler> getType()
public void cancel()
FormPanel.SubmitCompleteEvent
from being fired.public final GwtEvent.Type<FormPanel.SubmitHandler> getAssociatedType()
com.google.web.bindery.event.shared.Event
Event.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)
GwtEvent
HandlerManager
. In other words, do not use
or call.dispatch
in class GwtEvent<FormPanel.SubmitHandler>
handler
- handlerEventBus.dispatchEvent(Event, Object)
Copyright © 2018. All rights reserved.