|
NextApp Echo2 v2.1.0.rc2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnextapp.echo2.app.event.EventListenerList
A generic storage facility for listeners.
| Constructor Summary | |
EventListenerList()
Creates a new listener list. |
|
| Method Summary | |
void |
addListener(java.lang.Class listenerClass,
java.util.EventListener l)
Adds a listener of the given class to the list. |
int |
getListenerCount(java.lang.Class listenerClass)
Returns the number of listeners present of the given class. |
java.util.EventListener[] |
getListeners(java.lang.Class listenerClass)
Returns an array of listeners of the given class. |
void |
removeListener(java.lang.Class listenerClass,
java.util.EventListener l)
Removes a listener of the given class from the list. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public EventListenerList()
| Method Detail |
public void addListener(java.lang.Class listenerClass,
java.util.EventListener l)
listenerClass - the Class of the listener being addedl - the listener to addpublic int getListenerCount(java.lang.Class listenerClass)
listenerClass - the Class of the listener for which
the listener count is desired
Classpublic java.util.EventListener[] getListeners(java.lang.Class listenerClass)
listenerClass - the desired Class of listener
Class
(if no listeners of the specified class exist, an empty
array is returned)
public void removeListener(java.lang.Class listenerClass,
java.util.EventListener l)
listenerClass - the Class of the listener being
removedl - the listener to remove
|
NextApp Echo2 v2.1.0.rc2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||