## com.google.gwt.user.client.ui
Class FormSubmitEvent

    java.lang.Object
      java.util.EventObject
          com.google.gwt.user.client.ui.FormSubmitEvent

All Implemented Interfaces:
  java.io.Serializable

    public class FormSubmitEvent

extends java.util.EventObject

Event object containing information about form submission events.

See Also:
  Serialized Form

Field Summary

Fields inherited from class java.util.EventObject
`source`

Constructor Summary
`FormSubmitEvent(FormPanel source)` Creates a new event with information about the source.

Method Summary
`boolean` | `isCancelled()` Gets whether this form submit will be cancelled.
`void` | `setCancelled(boolean cancel)` Sets whether the form submit will be cancelled.

Methods inherited from class java.util.EventObject
`getSource, toString`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### FormSubmitEvent

    public FormSubmitEvent(FormPanel source)

  Creates a new event with information about the source.

  Parameters:
    `source` - the object sending the event

Method Detail

### isCancelled

    public boolean isCancelled()

  Gets whether this form submit will be cancelled.

  Returns:
    `true` if the form submit will be cancelled

### setCancelled

    public void setCancelled(boolean cancel)

  Sets whether the form submit will be cancelled.

  Parameters:
    `cancel` - `true` to cancel the submit