com.sencha.gxt.widget.core.client.event
Class SubmitEvent

java.lang.Object
  extended by com.google.web.bindery.event.shared.Event<H>
      extended by com.google.gwt.event.shared.GwtEvent<SubmitEvent.SubmitHandler>
          extended by com.sencha.gxt.widget.core.client.event.SubmitEvent

public class SubmitEvent
extends GwtEvent<SubmitEvent.SubmitHandler>

Fired when the form is submitted.


Nested Class Summary
static interface SubmitEvent.HasSubmitHandlers
          A widget that implements this interface is a public source of SubmitEvent events.
static interface SubmitEvent.SubmitHandler
          Handler for SubmitEvent events.
 
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent
GwtEvent.Type<H>
 
Constructor Summary
SubmitEvent()
           
 
Method Summary
 void cancel()
          Cancel the form submit.
 GwtEvent.Type<SubmitEvent.SubmitHandler> getAssociatedType()
           
static GwtEvent.Type<SubmitEvent.SubmitHandler> getType()
          Handler hook.
 boolean isCanceled()
          Gets whether this form submit will be canceled.
 
Methods inherited from class com.google.gwt.event.shared.GwtEvent
getSource
 
Methods inherited from class com.google.web.bindery.event.shared.Event
toDebugString, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SubmitEvent

public SubmitEvent()
Method Detail

getType

public static GwtEvent.Type<SubmitEvent.SubmitHandler> getType()
Handler hook.

Returns:
the handler hook

cancel

public void cancel()
Cancel the form submit. Firing this will prevent a subsequent SubmitCompleteEvent from being fired.


getAssociatedType

public final GwtEvent.Type<SubmitEvent.SubmitHandler> getAssociatedType()
Overrides:
getAssociatedType in class GwtEvent<SubmitEvent.SubmitHandler>

isCanceled

public boolean isCanceled()
Gets whether this form submit will be canceled.

Returns:
true if the form submit will be canceled


Copyright © 2012. All Rights Reserved.