Class FormSubmitEvent<T>
- java.lang.Object
-
- com.google.web.bindery.event.shared.Event<H>
-
- com.google.gwt.event.shared.GwtEvent<FormSubmitHandler<T>>
-
- de.knightsoftnet.validators.client.event.FormSubmitEvent<T>
-
- Type Parameters:
T- the value about to be changed
public class FormSubmitEvent<T> extends com.google.gwt.event.shared.GwtEvent<FormSubmitHandler<T>>
Represents a form submit event.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent
com.google.gwt.event.shared.GwtEvent.Type<H extends Object>
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedFormSubmitEvent(T pvalue)Creates a form submit event.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddispatch(FormSubmitHandler<T> phandler)static <T> voidfire(HasFormSubmitHandlers<T> source, T value)Fires a form submit event on all registered handlers in the handler manager.com.google.gwt.event.shared.GwtEvent.Type<FormSubmitHandler<T>>getAssociatedType()static com.google.gwt.event.shared.GwtEvent.Type<FormSubmitHandler<?>>getType()Gets the type associated with this event.TgetValue()Gets the value.StringtoDebugString()
-
-
-
Constructor Detail
-
FormSubmitEvent
protected FormSubmitEvent(T pvalue)
Creates a form submit event.- Parameters:
pvalue- the value
-
-
Method Detail
-
fire
public static <T> void fire(HasFormSubmitHandlers<T> source, T value)
Fires a form submit event on all registered handlers in the handler manager. If no such handlers exist, this method will do nothing.- Type Parameters:
T- the old value type- Parameters:
source- the source of the handlersvalue- the value
-
getType
public static com.google.gwt.event.shared.GwtEvent.Type<FormSubmitHandler<?>> getType()
Gets the type associated with this event.- Returns:
- returns the handler type
-
getAssociatedType
public final com.google.gwt.event.shared.GwtEvent.Type<FormSubmitHandler<T>> getAssociatedType()
- Specified by:
getAssociatedTypein classcom.google.gwt.event.shared.GwtEvent<FormSubmitHandler<T>>
-
getValue
public T getValue()
Gets the value.- Returns:
- the value
-
toDebugString
public String toDebugString()
- Overrides:
toDebugStringin classcom.google.web.bindery.event.shared.Event<FormSubmitHandler<T>>
-
dispatch
protected void dispatch(FormSubmitHandler<T> phandler)
- Specified by:
dispatchin classcom.google.gwt.event.shared.GwtEvent<FormSubmitHandler<T>>
-
-