Package java.util
Class EventListenerProxy
java.lang.Object
java.util.EventListenerProxy
- All Implemented Interfaces:
EventListener
- Direct Known Subclasses:
PropertyChangeListenerProxy
public abstract class EventListenerProxy extends Object implements EventListener
This abstract class provides a simple wrapper for objects of type
EventListener.-
Constructor Summary
Constructors Constructor Description EventListenerProxy(EventListener listener)Creates a newEventListenerproxy instance. -
Method Summary
Modifier and Type Method Description EventListenergetListener()Returns the wrappedEventListener.
-
Constructor Details
-
EventListenerProxy
Creates a newEventListenerproxy instance.- Parameters:
listener- the listener wrapped by this proxy.
-
-
Method Details
-
getListener
Returns the wrappedEventListener.- Returns:
- the wrapped
EventListener.
-