java::awt::event::AWTEventListener Class Reference

Inheritance diagram for java::awt::event::AWTEventListener:

Inheritance graph
java::awt::event::AWTEventListenerProxyjava::util::EventListenerjava::lang::Interfacejava::lang::Object
[legend]
Collaboration diagram for java::awt::event::AWTEventListener:

Collaboration graph
java::util::EventListenerjava::lang::Interfacejava::lang::Object
[legend]

List of all members.


Detailed Description

The listener interface for receiving notification of events dispatched to objects that are instances of Component or MenuComponent or their subclasses.

Unlike the other EventListeners in this package, AWTEventListeners passively observe events being dispatched in the AWT, system-wide. Most applications should never use this class; applications which might use AWTEventListeners include event recorders for automated testing, and facilities such as the Java Accessibility package.

The class that is interested in monitoring AWT events implements this interface, and the object created with that class is registered with the Toolkit, using the Toolkit's addAWTEventListener method. When an event is dispatched anywhere in the AWT, that object's eventDispatcheded method is invoked.

See also:
java.awt.AWTEvent

java.awt.Toolkit::addAWTEventListener

java.awt.Toolkit::removeAWTEventListener

Author:
Fred Ecks
Version:
1.8, 01/23/03
Since:
1.2

Public Member Functions

virtual void eventDispatched (const AWTEvent &e)=0

Member Function Documentation

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

Implemented in java::awt::event::AWTEventListenerProxy.


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