com.github.gwtbootstrap.client.ui
Class Form.SubmitEvent

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


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent
GwtEvent.Type<H>
 
Constructor Summary
Form.SubmitEvent()
           
 
Method Summary
 void cancel()
          Cancel the form submit.
protected  void dispatch(Form.SubmitHandler handler)
           
 GwtEvent.Type<Form.SubmitHandler> getAssociatedType()
           
 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

Form.SubmitEvent

public Form.SubmitEvent()
Method Detail

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.