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:
Serializable
Event object containing information about form submission events.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionFormSubmitEvent
(FormPanel source) Creates a new event with information about the source. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets whether this form submit will be canceled.(package private) boolean
void
setCancelled
(boolean cancel) Sets whether the form submit will be canceled.Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
FormSubmitEvent
Creates a new event with information about the source.- Parameters:
source
- the object sending the event
-
-
Method Details
-
isCancelled
public boolean isCancelled()Gets whether this form submit will be canceled.- Returns:
true
if the form submit will be canceled
-
setCancelled
public void setCancelled(boolean cancel) Sets whether the form submit will be canceled.- Parameters:
cancel
-true
to cancel the submit
-
isSetCancelledCalled
boolean isSetCancelledCalled()
-