org.gwtbootstrap3.client.ui.base.form
Class AbstractForm.SubmitEvent
java.lang.Object
com.google.web.bindery.event.shared.Event<H>
com.google.gwt.event.shared.GwtEvent<AbstractForm.SubmitHandler>
org.gwtbootstrap3.client.ui.base.form.AbstractForm.SubmitEvent
- Enclosing class:
- AbstractForm
public static class AbstractForm.SubmitEvent
- extends GwtEvent<AbstractForm.SubmitHandler>
Fired when the form is submitted.
AbstractForm.SubmitEvent
public AbstractForm.SubmitEvent()
getType
public static GwtEvent.Type<AbstractForm.SubmitHandler> getType()
- Handler hook.
- Returns:
- the handler hook
cancel
public void cancel()
- Cancel the form submit. Firing this will prevent a subsequent
AbstractForm.SubmitCompleteEvent from being fired.
getAssociatedType
public final GwtEvent.Type<AbstractForm.SubmitHandler> getAssociatedType()
- Overrides:
getAssociatedType in class GwtEvent<AbstractForm.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(AbstractForm.SubmitHandler handler)
- Specified by:
dispatch in class GwtEvent<AbstractForm.SubmitHandler>
Copyright © 2015. All rights reserved.