public static class

FormPanel.SubmitCompleteEvent

extends GwtEvent<H extends EventHandler>
java.lang.Object
   ↳ com.google.gwt.event.shared.GwtEvent<H extends com.google.gwt.event.shared.EventHandler>
     ↳ com.google.gwt.user.client.ui.FormPanel.SubmitCompleteEvent

Class Overview

Fired when a form has been submitted successfully.

Summary

Protected Constructors
FormPanel.SubmitCompleteEvent(String resultsHtml)
Create a submit complete event.
Public Methods
final Type<FormPanel.SubmitCompleteHandler> getAssociatedType()
Returns the type used to register this event.
String getResults()
Gets the result text of the form submission.
Protected Methods
void dispatch(FormPanel.SubmitCompleteHandler handler)
Should only be called by HandlerManager.
[Expand]
Inherited Methods
From class com.google.gwt.event.shared.GwtEvent
From class java.lang.Object

Protected Constructors

protected FormPanel.SubmitCompleteEvent (String resultsHtml)

Create a submit complete event.

Parameters
resultsHtml the results from submitting the form

Public Methods

public final Type<FormPanel.SubmitCompleteHandler> getAssociatedType ()

Returns the type used to register this event. Used by handler manager to dispatch events to the correct handlers.

Returns
  • the type

public String getResults ()

Gets the result text of the form submission.

Returns
  • the result html, or null if there was an error reading it

Protected Methods

protected void dispatch (FormPanel.SubmitCompleteHandler handler)

Should only be called by HandlerManager. In other words, do not use or call.

Parameters
handler handler