public class SubmitCompleteEvent extends GwtEvent<SubmitCompleteEvent.SubmitCompleteHandler>
Modifier and Type | Class and Description |
---|---|
static interface |
SubmitCompleteEvent.HasSubmitCompleteHandlers
A widget that implements this interface is a public source of
SubmitCompleteEvent events. |
static interface |
SubmitCompleteEvent.SubmitCompleteHandler
Handler for
SubmitCompleteEvent events. |
GwtEvent.Type<H>
Constructor and Description |
---|
SubmitCompleteEvent(String resultsHtml)
Create a submit complete event.
|
Modifier and Type | Method and Description |
---|---|
GwtEvent.Type<SubmitCompleteEvent.SubmitCompleteHandler> |
getAssociatedType() |
String |
getResults()
Gets the result text of the form submission.
|
static GwtEvent.Type<SubmitCompleteEvent.SubmitCompleteHandler> |
getType()
Handler hook.
|
toDebugString, toString
public SubmitCompleteEvent(String resultsHtml)
resultsHtml
- the results from submitting the formpublic static GwtEvent.Type<SubmitCompleteEvent.SubmitCompleteHandler> getType()
public final GwtEvent.Type<SubmitCompleteEvent.SubmitCompleteHandler> getAssociatedType()
getAssociatedType
in class GwtEvent<SubmitCompleteEvent.SubmitCompleteHandler>
public String getResults()
null
if there was an error reading
it. The result html can be null
as a result of
submitting a form to a different domain.Copyright © 2015. All rights reserved.