public class AWTEventListenerProxy extends 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(AWTEvent event)
Forwards events on to the delegate.
|
long |
getEventMask()
This returns the event mask associated with this listener.
|
getListenerpublic AWTEventListenerProxy(long eventMask, AWTEventListener listener)
eventMask - the mask of events to listen tolistener - the wrapped listenerpublic void eventDispatched(AWTEvent event)
eventDispatched in interface AWTEventListenerevent - the to forward to the delagate listenerNullPointerException - if the delegate this was created with is nullpublic long getEventMask()