org.gwtbootstrap3.client.ui.base.form
Class AbstractForm.SubmitCompleteEvent
java.lang.Object
com.google.web.bindery.event.shared.Event<H>
com.google.gwt.event.shared.GwtEvent<AbstractForm.SubmitCompleteHandler>
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.
AbstractForm.SubmitCompleteEvent
protected AbstractForm.SubmitCompleteEvent(String resultsHtml)
- Create a submit complete event.
- Parameters:
resultsHtml - the results from submitting the form
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.