Package com.google.gwt.user.client.ui
Class FormHandlerCollection
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.ArrayList<FormHandler>
-
- com.google.gwt.user.client.ui.FormHandlerCollection
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,java.lang.Iterable<FormHandler>,java.util.Collection<FormHandler>,java.util.List<FormHandler>,java.util.RandomAccess
@Deprecated public class FormHandlerCollection extends java.util.ArrayList<FormHandler>
Deprecated.Widgets should now manage their own handlers viaWidget.addDomHandler(H, com.google.gwt.event.dom.client.DomEvent.Type<H>)Helper class for widgets that acceptFormHandlers. This subclass of ArrayList assumes that all items added to it will be of typeFormHandler.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FormHandlerCollection()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidfireOnComplete(FormPanel sender, java.lang.String results)Deprecated.FormPanelnow implements all handler management internallybooleanfireOnSubmit(FormPanel sender)Deprecated.FormPanelnow implements all handler management internally-
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
-
-
-
-
Method Detail
-
fireOnComplete
@Deprecated public void fireOnComplete(FormPanel sender, java.lang.String results)
Deprecated.FormPanelnow implements all handler management internallyFires aFormHandler.onSubmitComplete(FormSubmitCompleteEvent)on all handlers in the collection.- Parameters:
sender- the object sending the eventresults- the results of the form submission
-
fireOnSubmit
@Deprecated public boolean fireOnSubmit(FormPanel sender)
Deprecated.FormPanelnow implements all handler management internallyFires aFormHandler.onSubmit(FormSubmitEvent)on all handlers in the collection.- Parameters:
sender- the object sending the event- Returns:
trueif the event should be canceled
-
-