API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.event. EventListenerList View Source
Author(s)
Georges Saab
Hans Muller
James Gosling
Since
Version
1.37 11/17/05
Serial
Hierarchy
 Object
      EventListenerList
Implements
 Serializable
Subclasses
Description
public class EventListenerList
  A class that holds a list of EventListeners.
See also:   
Constructors
public EventListenerList ()
Methods
Hide/Show inherited methods
publicsynchronized void add (Class< T> t, T l)
  Adds the listener as a listener of the specified type.
public int getListenerCount ()
Returns the total number of listeners for this listener list.
public int getListenerCount (Class<Object> t)
Returns the total number of listeners of the supplied type for this listener list.
public Object getListenerList ()
  Passes back the event listener list as an array of ListenerType-listener pairs.
public T getListeners (Class< T> t)
  Return an array of all the listeners of the given type.
publicsynchronized void remove (Class< T> t, T l)
  Removes the listener as a listener of the specified type.
public String toString ()
Returns a string representation of the EventListenerList.
Fields
Hide/Show inherited fields
protectedtransient Object listenerList
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar