public static class

FormPanel.SubmitEvent

extends GwtEvent<H extends EventHandler>
java.lang.Object
   ↳ com.google.gwt.event.shared.GwtEvent<H extends com.google.gwt.event.shared.EventHandler>
     ↳ com.google.gwt.user.client.ui.FormPanel.SubmitEvent

Class Overview

Fired when the form is submitted.

Summary

Public Constructors
FormPanel.SubmitEvent()
Public Methods
void cancel()
Cancel the form submit.
final Type<FormPanel.SubmitHandler> getAssociatedType()
Returns the type used to register this event.
boolean isCanceled()
Gets whether this form submit will be canceled.
Protected Methods
void dispatch(FormPanel.SubmitHandler handler)
Should only be called by HandlerManager.
[Expand]
Inherited Methods
From class com.google.gwt.event.shared.GwtEvent
From class java.lang.Object

Public Constructors

public FormPanel.SubmitEvent ()

Public Methods

public void cancel ()

Cancel the form submit. Firing this will prevent a subsequent FormPanel.SubmitCompleteEvent from being fired.

public final Type<FormPanel.SubmitHandler> getAssociatedType ()

Returns the type used to register this event. Used by handler manager to dispatch events to the correct handlers.

Returns
  • the type

public boolean isCanceled ()

Gets whether this form submit will be canceled.

Returns
  • true if the form submit will be canceled

Protected Methods

protected void dispatch (FormPanel.SubmitHandler handler)

Should only be called by HandlerManager. In other words, do not use or call.

Parameters
handler handler