java::awt::event::AWTEventListenerProxy Class Reference

Inheritance diagram for java::awt::event::AWTEventListenerProxy:

Inheritance graph
java::util::EventListenerProxyjava::lang::Objectjava::lang::Interfacejava::util::EventListenerjava::awt::event::AWTEventListener
[legend]
Collaboration diagram for java::awt::event::AWTEventListenerProxy:

Collaboration graph
java::util::EventListenerProxyjava::lang::Objectjava::lang::Interfacejava::util::EventListenerjava::awt::event::AWTEventListener
[legend]

List of all members.


Detailed Description

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.

See also:
java.awt.Toolkit

java.util.EventListenerProxy

Since:
1.4

Public Member Functions

 AWTEventListenerProxy (const Ref< AWTEventListener > &listener=0, jlong eventMask=0)
 Constructor which binds the AWTEventListener to a specific event mask.
virtual void eventDispatched (const AWTEvent &e)
 Forwards the AWT event to the listener delegate.
virtual jlong getEventMask () const
 Returns the event mask associated with the listener.

Constructor & Destructor Documentation

java::awt::event::AWTEventListenerProxy::AWTEventListenerProxy ( const Ref< AWTEventListener > &  listener = 0,
jlong  eventMask = 0 
)

Constructor which binds the AWTEventListener to a specific event mask.

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


Member Function Documentation

virtual void java::awt::event::AWTEventListenerProxy::eventDispatched ( const AWTEvent e  )  [virtual]

Forwards the AWT event to the listener delegate.

Parameters:
e the AWT event

Implements java::awt::event::AWTEventListener.

virtual jlong java::awt::event::AWTEventListenerProxy::getEventMask (  )  const [virtual]

Returns the event mask associated with the listener.


The documentation for this class was generated from the following file:
Generated on Fri May 16 11:56:14 2008 for CrossPlatformJavaLikeC++API by  doxygen 1.5.3