org.gwtbootstrap3.client.ui.base.form
Class AbstractForm.SubmitEvent

java.lang.Object
  extended by com.google.web.bindery.event.shared.Event<H>
      extended by com.google.gwt.event.shared.GwtEvent<AbstractForm.SubmitHandler>
          extended by 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.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent
GwtEvent.Type<H>
 
Constructor Summary
AbstractForm.SubmitEvent()
           
 
Method Summary
 void cancel()
          Cancel the form submit.
protected  void dispatch(AbstractForm.SubmitHandler handler)
           
 GwtEvent.Type<AbstractForm.SubmitHandler> getAssociatedType()
           
static GwtEvent.Type<AbstractForm.SubmitHandler> getType()
          Handler hook.
 boolean isCanceled()
          Gets whether this form submit will be canceled.
 
Methods inherited from class com.google.gwt.event.shared.GwtEvent
assertLive, getSource, isLive, kill, revive
 
Methods inherited from class com.google.web.bindery.event.shared.Event
setSource, toDebugString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractForm.SubmitEvent

public AbstractForm.SubmitEvent()
Method Detail

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.