org.apache.batik.dom.events
Class EventListenerList
java.lang.Object
|
+--org.apache.batik.dom.events.EventListenerList
- public class EventListenerList
- extends java.lang.Object
A simple list of EventListener. Listeners are always added at the
head of the list.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EventListenerList
public EventListenerList()
getEventListeners
public EventListener[] getEventListeners()
- Returns an array of the event listeners of this list, or null if any.
add
public void add(EventListener listener)
- Adds the specified event listener.
- Parameters:
listener
- the event listener to add
remove
public void remove(EventListener listener)
- Removes the specified event listener.
- Parameters:
listener
- the event listener to remove
contains
public boolean contains(EventListener listener)
- Returns true of the specified event listener has already been
added to this list, false otherwise.
- Parameters:
listener
- the listener th check
Copyright © 2001 Apache Software Foundation. All Rights Reserved.