java.util
Class EventListenerProxy
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EventListenerProxy
public EventListenerProxy(EventListener listener)
- Construct a proxy event listener, given an existing one to augment.
- Parameters:
listener
- the listener to wrap
getListener
public EventListener getListener()
- Return the wrapped event listener.
- Returns:
- the listener associated with this proxy