public class

FormHandlerCollection

extends ArrayList<E>
java.lang.Object
   ↳ java.util.AbstractCollection<E>
     ↳ java.util.AbstractList<E>
       ↳ java.util.ArrayList<E>
         ↳ com.google.gwt.user.client.ui.FormHandlerCollection

This class is deprecated.
Widgets should now manage their own handlers via addDomHandler(H, DomEvent.Type)

Class Overview

Helper class for widgets that accept FormHandlers. This subclass of ArrayList assumes that all items added to it will be of type FormHandler.

Summary

[Expand]
Inherited Fields
From class java.util.AbstractList
Public Constructors
FormHandlerCollection()
Public Methods
void fireOnComplete(FormPanel sender, String results)
This method is deprecated. FormPanel now implements all handler management internally
boolean fireOnSubmit(FormPanel sender)
This method is deprecated. FormPanel now implements all handler management internally
[Expand]
Inherited Methods
From class java.util.ArrayList
From class java.util.AbstractList
From class java.util.AbstractCollection
From class java.lang.Object
From interface java.lang.Iterable
From interface java.util.Collection
From interface java.util.List

Public Constructors

public FormHandlerCollection ()

Public Methods

public void fireOnComplete (FormPanel sender, String results)

This method is deprecated.
FormPanel now implements all handler management internally

Fires a onSubmitComplete(FormSubmitCompleteEvent) on all handlers in the collection.

Parameters
sender the object sending the event
results the results of the form submission

public boolean fireOnSubmit (FormPanel sender)

This method is deprecated.
FormPanel now implements all handler management internally

Fires a onSubmit(FormSubmitEvent) on all handlers in the collection.

Parameters
sender the object sending the event
Returns
  • true if the event should be canceled