Package com.google.gwt.user.client.ui
Class FormPanel.SubmitCompleteEvent
- java.lang.Object
-
- com.google.web.bindery.event.shared.Event<H>
-
- com.google.gwt.event.shared.GwtEvent<FormPanel.SubmitCompleteHandler>
-
- com.google.gwt.user.client.ui.FormPanel.SubmitCompleteEvent
-
- Enclosing class:
- FormPanel
public static class FormPanel.SubmitCompleteEvent extends GwtEvent<FormPanel.SubmitCompleteHandler>
Fired when a form has been submitted successfully.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent
GwtEvent.Type<H>
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSubmitCompleteEvent(java.lang.String resultsHtml)Create a submit complete event.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddispatch(FormPanel.SubmitCompleteHandler handler)Should only be called byHandlerManager.GwtEvent.Type<FormPanel.SubmitCompleteHandler>getAssociatedType()Returns theEvent.Typeused to register this event, allowing anEventBusto find handlers of the appropriate class.java.lang.StringgetResults()Gets the result text of the form submission.static GwtEvent.Type<FormPanel.SubmitCompleteHandler>getType()Handler hook.-
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
-
-
-
-
Method Detail
-
getType
public static GwtEvent.Type<FormPanel.SubmitCompleteHandler> getType()
Handler hook.- Returns:
- the handler hook
-
getAssociatedType
public final GwtEvent.Type<FormPanel.SubmitCompleteHandler> getAssociatedType()
Description copied from class:EventReturns theEvent.Typeused to register this event, allowing anEventBusto find handlers of the appropriate class.- Specified by:
getAssociatedTypein classGwtEvent<FormPanel.SubmitCompleteHandler>- Returns:
- the type
-
getResults
public java.lang.String getResults()
Gets the result text of the form submission.- Returns:
- the result html, or
nullif there was an error reading it - Tip:
- as a result of submitting a form to a different domain.
-
dispatch
protected void dispatch(FormPanel.SubmitCompleteHandler handler)
Description copied from class:GwtEventShould only be called byHandlerManager. In other words, do not use or call.- Specified by:
dispatchin classGwtEvent<FormPanel.SubmitCompleteHandler>- Parameters:
handler- handler- See Also:
EventBus.dispatchEvent(Event, Object)
-
-