org.gwtbootstrap3.client.ui.base.form
Class AbstractForm.SubmitCompleteEvent

java.lang.Object
  extended by com.google.web.bindery.event.shared.Event<H>
      extended by com.google.gwt.event.shared.GwtEvent<AbstractForm.SubmitCompleteHandler>
          extended by org.gwtbootstrap3.client.ui.base.form.AbstractForm.SubmitCompleteEvent
Enclosing class:
AbstractForm

public static class AbstractForm.SubmitCompleteEvent
extends GwtEvent<AbstractForm.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 AbstractForm.SubmitCompleteEvent(String resultsHtml)
          Create a submit complete event.
 
Method Summary
protected  void dispatch(AbstractForm.SubmitCompleteHandler handler)
           
 GwtEvent.Type<AbstractForm.SubmitCompleteHandler> getAssociatedType()
           
 String getResults()
          Gets the result text of the form submission.
static GwtEvent.Type<AbstractForm.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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractForm.SubmitCompleteEvent

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

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

getType

public static GwtEvent.Type<AbstractForm.SubmitCompleteHandler> getType()
Handler hook.

Returns:
the handler hook

getAssociatedType

public final GwtEvent.Type<AbstractForm.SubmitCompleteHandler> getAssociatedType()
Overrides:
getAssociatedType in class GwtEvent<AbstractForm.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(AbstractForm.SubmitCompleteHandler handler)
Specified by:
dispatch in class GwtEvent<AbstractForm.SubmitCompleteHandler>


Copyright © 2015. All rights reserved.