com.github.gwtbootstrap.client.ui
Class Form.SubmitEvent
java.lang.Object
com.google.web.bindery.event.shared.Event<H>
com.google.gwt.event.shared.GwtEvent<Form.SubmitHandler>
com.github.gwtbootstrap.client.ui.Form.SubmitEvent
- Enclosing class:
- Form
public static class Form.SubmitEvent
- extends GwtEvent<Form.SubmitHandler>
Fired when the form is submitted.
Form.SubmitEvent
public Form.SubmitEvent()
cancel
public void cancel()
- Cancel the form submit. Firing this will prevent a subsequent
Form.SubmitCompleteEvent
from being fired.
getAssociatedType
public final GwtEvent.Type<Form.SubmitHandler> getAssociatedType()
- Overrides:
getAssociatedType
in class GwtEvent<Form.SubmitHandler>
isCanceled
public boolean isCanceled()
- Gets whether this form submit will be canceled.
- Returns:
true
if the form submit will be canceled
dispatch
protected void dispatch(Form.SubmitHandler handler)
- Specified by:
dispatch
in class GwtEvent<Form.SubmitHandler>
Copyright © 2012 gwtbootstrap. All Rights Reserved.