|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.web.bindery.event.shared.Event<H> com.google.gwt.event.shared.GwtEvent<FormPanel.SubmitCompleteHandler> com.google.gwt.user.client.ui.FormPanel.SubmitCompleteEvent
public static class FormPanel.SubmitCompleteEvent
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 |
FormPanel.SubmitCompleteEvent(java.lang.String resultsHtml)
Create a submit complete event. |
Method Summary | |
---|---|
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. |
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 |
---|
protected FormPanel.SubmitCompleteEvent(java.lang.String resultsHtml)
resultsHtml
- the results from submitting the formMethod Detail |
---|
public 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)
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |