com.github.gwtbootstrap.client.ui
Class Form.SubmitCompleteEvent

java.lang.Object
  extended by com.google.web.bindery.event.shared.Event<H>
      extended by com.google.gwt.event.shared.GwtEvent<Form.SubmitCompleteHandler>
          extended by com.github.gwtbootstrap.client.ui.Form.SubmitCompleteEvent
Enclosing class:
Form

public static class Form.SubmitCompleteEvent
extends GwtEvent<Form.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
protected Form.SubmitCompleteEvent(String resultsHtml)
          Create a submit complete event.
 
Method Summary
protected  void dispatch(Form.SubmitCompleteHandler handler)
           
 GwtEvent.Type<Form.SubmitCompleteHandler> getAssociatedType()
           
 String getResults()
          Gets the result text of the form submission.
 
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

Form.SubmitCompleteEvent

protected Form.SubmitCompleteEvent(String resultsHtml)
Create a submit complete event.

Parameters:
resultsHtml - the results from submitting the form
Method Detail

getAssociatedType

public final GwtEvent.Type<Form.SubmitCompleteHandler> getAssociatedType()
Overrides:
getAssociatedType in class GwtEvent<Form.SubmitCompleteHandler>

getResults

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

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

dispatch

protected void dispatch(Form.SubmitCompleteHandler handler)
Specified by:
dispatch in class GwtEvent<Form.SubmitCompleteHandler>


Copyright © 2012 gwtbootstrap. All Rights Reserved.