public static class FormPanel.SubmitCompleteEvent extends GwtEvent<FormPanel.SubmitCompleteHandler>
GwtEvent.Type<H>
Modifier | Constructor and Description |
---|---|
protected |
SubmitCompleteEvent(java.lang.String resultsHtml)
Create a submit complete event.
|
Modifier and Type | Method and Description |
---|---|
protected void |
dispatch(FormPanel.SubmitCompleteHandler handler)
Should only be called by
HandlerManager . |
GwtEvent.Type<FormPanel.SubmitCompleteHandler> |
getAssociatedType()
Returns the
Event.Type used to register this event, allowing an
EventBus to find handlers of the appropriate class. |
java.lang.String |
getResults()
Gets the result text of the form submission.
|
static GwtEvent.Type<FormPanel.SubmitCompleteHandler> |
getType()
Handler hook.
|
assertLive, getSource, isLive, kill, revive
setSource, toDebugString, toString
protected SubmitCompleteEvent(java.lang.String resultsHtml)
resultsHtml
- the results from submitting the formpublic static GwtEvent.Type<FormPanel.SubmitCompleteHandler> getType()
public final GwtEvent.Type<FormPanel.SubmitCompleteHandler> getAssociatedType()
Event
Event.Type
used to register this event, allowing an
EventBus
to find handlers of the appropriate class.getAssociatedType
in class GwtEvent<FormPanel.SubmitCompleteHandler>
public java.lang.String getResults()
null
if there was an error
reading itnull
as a result of submitting a
form to a different domain.protected void dispatch(FormPanel.SubmitCompleteHandler handler)
GwtEvent
HandlerManager
. In other words, do not use
or call.dispatch
in class GwtEvent<FormPanel.SubmitCompleteHandler>
handler
- handlerEventBus.dispatchEvent(Event, Object)