com.google.gwt.user.client.ui
Class FormSubmitCompleteEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.google.gwt.user.client.ui.FormSubmitCompleteEvent
All Implemented Interfaces:
java.io.Serializable

public class FormSubmitCompleteEvent
extends java.util.EventObject

Event object containing information about form submission events.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
FormSubmitCompleteEvent(java.lang.Object source, java.lang.String results)
          Creates a new event with information about the source and submit results.
 
Method Summary
 java.lang.String getResults()
          Gets the result text of the form submission.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FormSubmitCompleteEvent

public FormSubmitCompleteEvent(java.lang.Object source,
                               java.lang.String results)
Creates a new event with information about the source and submit results.

Parameters:
source - the object sending the event
results - the result text returned by the server
Method Detail

getResults

public java.lang.String getResults()
Gets the result text of the form submission.

Returns:
the result text, or null if there was an error reading the result text
Tip:
The result text can be null as a result of submitting a form to a different domain.