|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.web.bindery.event.shared.Event<H> com.google.gwt.event.shared.GwtEvent<FormPanel.SubmitHandler> com.google.gwt.user.client.ui.FormPanel.SubmitEvent
public static class FormPanel.SubmitEvent
Fired when the form is submitted.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent |
---|
GwtEvent.Type<H> |
Constructor Summary | |
---|---|
FormPanel.SubmitEvent()
|
Method Summary | |
---|---|
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 |
Methods inherited from class com.google.gwt.event.shared.GwtEvent |
---|
assertLive, getSource, isLive, kill, revive |
Methods inherited from class com.google.web.bindery.event.shared.Event |
---|
setSource, toDebugString, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FormPanel.SubmitEvent()
Method Detail |
---|
public static GwtEvent.Type<FormPanel.SubmitHandler> getType()
public void cancel()
FormPanel.SubmitCompleteEvent
from being fired.
public final GwtEvent.Type<FormPanel.SubmitHandler> getAssociatedType()
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)
@Deprecated void setCanceled(boolean canceled)
cancel()
instead
FormHandler
is removed.
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |