|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractCollection
java.util.AbstractList
java.util.ArrayList
com.google.gwt.user.client.ui.FormHandlerCollection
Helper class for widgets that accept
FormHandlers. This
subclass of ArrayList assumes that all items added to it will be of type
FormHandler.
| Field Summary |
| Fields inherited from class java.util.AbstractList |
modCount |
| Constructor Summary | |
FormHandlerCollection()
|
|
| Method Summary | |
void |
fireOnComplete(java.lang.Object sender,
java.lang.String results)
Fires a FormHandler.onSubmitComplete(FormSubmitCompleteEvent) on
all handlers in the collection. |
boolean |
fireOnSubmit(java.lang.Object sender)
Fires a FormHandler.onSubmit(FormSubmitEvent) on all handlers in
the collection. |
| Methods inherited from class java.util.ArrayList |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, removeRange, set, size, toArray, toArray, trimToSize |
| Methods inherited from class java.util.AbstractList |
equals, hashCode, iterator, listIterator, listIterator, subList |
| Methods inherited from class java.util.AbstractCollection |
containsAll, remove, removeAll, retainAll, toString |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
containsAll, equals, hashCode, iterator, listIterator, listIterator, remove, removeAll, retainAll, subList |
| Constructor Detail |
public FormHandlerCollection()
| Method Detail |
public boolean fireOnSubmit(java.lang.Object sender)
FormHandler.onSubmit(FormSubmitEvent) on all handlers in
the collection.
sender - the object sending the event
true if the event should be cancelled
public void fireOnComplete(java.lang.Object sender,
java.lang.String results)
FormHandler.onSubmitComplete(FormSubmitCompleteEvent) on
all handlers in the collection.
sender - the object sending the eventresults - the results of the form submission
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||