Class 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.
    • 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 handlers
        value - 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:
        getAssociatedType in class com.google.gwt.event.shared.GwtEvent<FormSubmitHandler<T>>
      • getValue

        public T getValue()
        Gets the value.
        Returns:
        the value
      • toDebugString

        public String toDebugString()
        Overrides:
        toDebugString in class com.google.web.bindery.event.shared.Event<FormSubmitHandler<T>>