|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.batik.dom.events.EventListenerList
A simple list of EventListener. Listeners are always added at the head of the list.
Constructor Summary | |
EventListenerList()
|
Method Summary | |
void |
add(EventListener listener)
Adds the specified event listener. |
boolean |
contains(EventListener listener)
Returns true of the specified event listener has already been added to this list, false otherwise. |
EventListener[] |
getEventListeners()
Returns an array of the event listeners of this list, or null if any. |
void |
remove(EventListener listener)
Removes the specified event listener. |
int |
size()
Returns the number of listeners in 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 EventListener[] getEventListeners()
public void add(EventListener listener)
listener
- the event listener to addpublic void remove(EventListener listener)
listener
- the event listener to removepublic boolean contains(EventListener listener)
listener
- the listener th checkpublic int size()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |