Package org.apache.wicket.util.listener
Class ChangeListenerSet<T>
- java.lang.Object
-
- org.apache.wicket.util.listener.ListenerCollection<IChangeListener<T>>
-
- org.apache.wicket.util.listener.ChangeListenerSet<T>
-
- Type Parameters:
T
-
- All Implemented Interfaces:
Serializable
,Iterable<IChangeListener<T>>
public final class ChangeListenerSet<T> extends ListenerCollection<IChangeListener<T>>
Holds a set of IChangeListeners. Note that these classes are not meant to be serializable or for you to hold them in session (see WICKET-2697)- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.wicket.util.listener.ListenerCollection
ListenerCollection.INotifier<T>
-
-
Constructor Summary
Constructors Constructor Description ChangeListenerSet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
notifyListeners(T t)
Notifies all change listeners of a change int
-
Methods inherited from class org.apache.wicket.util.listener.ListenerCollection
add, isAllowingDuplicates, isAllowingNulls, iterator, notify, notifyIgnoringExceptions, remove, reversedNotify, reversedNotifyIgnoringExceptions
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
ChangeListenerSet
public ChangeListenerSet()
-
-
Method Detail
-
notifyListeners
public void notifyListeners(T t)
Notifies all change listeners of a change int
- Parameters:
t
- the changed object
-
-