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
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
ConstructorsModifierConstructorDescriptionprotectedSubmitCompleteEvent(String resultsHtml) Create a submit complete event. -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddispatch(FormPanel.SubmitCompleteHandler handler) Should only be called byHandlerManager.Returns theEvent.Typeused to register this event, allowing anEventBusto find handlers of the appropriate class.Gets the result text of the form submission.getType()Handler hook.Methods inherited from class com.google.gwt.event.shared.GwtEvent
assertLive, getSource, isLive, kill, reviveMethods inherited from class com.google.web.bindery.event.shared.Event
setSource, toDebugString, toString
-
Constructor Details
-
SubmitCompleteEvent
Create a submit complete event.- Parameters:
resultsHtml- the results from submitting the form
-
-
Method Details
-
getType
Handler hook.- Returns:
- the handler hook
-
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
Gets the result text of the form submission.- Returns:
- the result html, or
nullif there was an error reading it - Tip:
- The result html can be
nullas a result of submitting a form to a different domain.
-
dispatch
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:
-