java.util
Class EventListenerProxy

java.lang.Object
  extended by java.util.EventListenerProxy
All Implemented Interfaces:
EventListener
Direct Known Subclasses:
AWTEventListenerProxy, PropertyChangeListenerProxy, VetoableChangeListenerProxy

public abstract class EventListenerProxy
extends Object
implements EventListener

An abstract wrapper for event listeners. This allows subclasses to attach additional parameters to an existing event listener to create a new one. Subclasses are expected to add methods to set and retrieve any attached properties.

Since:
1.4

Constructor Summary
EventListenerProxy(EventListener listener)
          Construct a proxy event listener, given an existing one to augment.
 
Method Summary
 EventListener getListener()
          Return the wrapped event listener.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventListenerProxy

public EventListenerProxy(EventListener listener)
Construct a proxy event listener, given an existing one to augment.

Parameters:
listener - the listener to wrap
Method Detail

getListener

public EventListener getListener()
Return the wrapped event listener.

Returns:
the listener associated with this proxy