JavaTM 2 Platform
Standard Edition

Package java.awt.event

Provides interfaces and classes for dealing with different types of events fired by AWT components.

See:
          Description

Interface Summary
ActionListener The listener interface for receiving action events.
AdjustmentListener The listener interface for receiving adjustment events.
AWTEventListener The listener interface for receiving notification of events dispatched to objects that are instances of Component or MenuComponent or their subclasses.
ComponentListener The listener interface for receiving component events.
ContainerListener The listener interface for receiving container events.
FocusListener The listener interface for receiving keyboard focus events on a component.
InputMethodListener The listener interface for receiving input method events.
ItemListener The listener interface for receiving item events.
KeyListener The listener interface for receiving keyboard events (keystrokes).
MouseListener The listener interface for receiving "interesting" mouse events (press, release, click, enter, and exit) on a component.
MouseMotionListener The listener interface for receiving mouse motion events on a component.
TextListener The listener interface for receiving text events.
WindowListener The listener interface for receiving window events.
 

Class Summary
ActionEvent A semantic event which indicates that a component-defined action occured.
AdjustmentEvent The adjustment event emitted by Adjustable objects.
ComponentAdapter An abstract adapter class for receiving component events.
ComponentEvent A low-level event which indicates that a component moved, changed size, or changed visibility (also, the root class for the other component-level events).
ContainerAdapter An abstract adapter class for receiving container events.
ContainerEvent A low-level event which indicates that a container's contents changed because a component was added or removed.
FocusAdapter An abstract adapter class for receiving keyboard focus events.
FocusEvent A low-level event which indicates that a component has gained or lost the keyboard focus.
InputEvent The root event class for all component-level input events.
InputMethodEvent Input method events contain information about text that is being composed using an input method.
InvocationEvent An event which executes the run() method on a Runnable when dispatched by the AWT event dispatcher thread.
ItemEvent A semantic event which indicates that an item was selected or deselected.
KeyAdapter An abstract adapter class for receiving keyboard events.
KeyEvent An event which indicates that a keystroke occurred in a component.
MouseAdapter An abstract adapter class for receiving mouse events.
MouseEvent /** An event which indicates that a mouse action occurred in a component.
MouseMotionAdapter An abstract adapter class for receiving mouse motion events.
PaintEvent The component-level paint event.
TextEvent A semantic event which indicates that an object's text changed.
WindowAdapter An abstract adapter class for receiving window events.
WindowEvent A low-level event which indicates that a window has changed its status.
 

Package java.awt.event Description

Provides interfaces and classes for dealing with different types of events fired by AWT components. See the java.awt.AWTEvent class for details on the AWT event model. Events are fired by event sources. An event listener registers with an event source to receive notifications about the events of a particular type. This package defines events and event listeners, as well as event listener adapters, which are convenience classes to make easier the process of writing event listeners. ##### FILL IN ANY SPECS NEEDED BY JAVA COMPATIBILITY KIT #####

Related Documentation

For overviews, tutorials, examples, guides, and tool documentation, please see: -->

Since:
JDK1.1

JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.