public class AWTEventListenerProxy extends java.util.EventListenerProxy implements AWTEventListener
Toolkit,
EventListenerProxy| Constructor and Description |
|---|
AWTEventListenerProxy(long eventMask,
AWTEventListener listener)
Construct an AWT Event Listener which only listens to events in the given
mask, passing the work on to the real listener.
|
| Modifier and Type | Method and Description |
|---|---|
void |
eventDispatched(java.awt.AWTEvent event)
Forwards events on to the delegate.
|
long |
getEventMask()
This returns the event mask associated with this listener.
|
public AWTEventListenerProxy(long eventMask, AWTEventListener listener)
eventMask - the mask of events to listen tolistener - the wrapped listenerpublic void eventDispatched(java.awt.AWTEvent event)
eventDispatched in interface AWTEventListenerevent - the to forward to the delagate listenerjava.lang.NullPointerException - if the delegate this was created with is nullpublic long getEventMask()