|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpivot.util.ListenerList<T>
public abstract class ListenerList<T>
Abstract base class for listener lists.
NOTE This class is not thread safe. For thread-safe management of events,
use SynchronizedListenerList
.
Constructor Summary | |
---|---|
ListenerList()
|
Method Summary | |
---|---|
void |
add(T listener)
Adds a listener to the list, if it has not previously been added. |
java.util.Iterator<T> |
iterator()
|
void |
remove(T listener)
Removes a listener from the list, if it has previously been added. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ListenerList()
Method Detail |
---|
public void add(T listener)
listener
- public void remove(T listener)
listener
- public java.util.Iterator<T> iterator()
iterator
in interface java.lang.Iterable<T>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |