public class

AWTEventListenerProxy

extends EventListenerProxy
implements AWTEventListener
java.lang.Object
   ↳ java.util.EventListenerProxy
     ↳ java.awt.event.AWTEventListenerProxy

Class Overview

A class which extends the EventListenerProxy, specifically for adding an AWTEventListener for a specific event mask. Instances of this class can be added as AWTEventListeners to a Toolkit object.

The getAWTEventListeners method of Toolkit can return a mixture of AWTEventListener and AWTEventListenerProxy objects.

Summary

Public Constructors
AWTEventListenerProxy(long eventMask, AWTEventListener listener)
Constructor which binds the AWTEventListener to a specific event mask.
Public Methods
void eventDispatched(AWTEvent evt)
Forwards the property change event to the listener delegate.
long getEventMask()
Returns the event mask associated with the listener.
[Expand]
Inherited Methods
From class java.util.EventListenerProxy
From class java.lang.Object
From interface java.awt.event.AWTEventListener

Public Constructors

public AWTEventListenerProxy (long eventMask, AWTEventListener listener)

Constructor which binds the AWTEventListener to a specific event mask.

Parameters
eventMask The bitmap of event types to receive
listener The listener object

Public Methods

public void eventDispatched (AWTEvent evt)

Forwards the property change event to the listener delegate.

Parameters
evt the property change event

public long getEventMask ()

Returns the event mask associated with the listener.