Package 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.EventObjectEvent object containing information about form submission events.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FormSubmitEvent(FormPanel source)Creates a new event with information about the source.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisCancelled()Gets whether this form submit will be canceled.(package private) booleanisSetCancelledCalled()voidsetCancelled(boolean cancel)Sets whether the form submit will be canceled.
-
-
-
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 canceled.- Returns:
trueif the form submit will be canceled
-
setCancelled
public void setCancelled(boolean cancel)
Sets whether the form submit will be canceled.- Parameters:
cancel-trueto cancel the submit
-
isSetCancelledCalled
boolean isSetCancelledCalled()
-
-