Java Reference
In-Depth Information
excaption occurred.
IllegalComponentStateException The IllegalComponentStateException
signalizes that an AWT component is not in an
appropriate state for the operation.
Error
The java.awt package consists of the AWTError only that signalizes that a serious error in the
Abstract Window Toolkit occurred.
The java.awt.event Package
This package provides interfaces and classes for dealing with different types of events fired by AWT
components.
Interfaces
ActionListener The ActionListener interface provides methods for receiving
action events.
AdjustmentListener The AdjustmentListener interface provides methods for
receiving adjustment events.
AWTEventListener The AWTEventListener interface provides methods for receiving
notification of events dispatched to objects that are instances of
Component or MenuComponent or their subclasses.
ComponentListener The ComponentListener interface provides methods for
receiving component events.
ContainerListener The ContainerListener interface provides methods for
receiving container events.
FocusListener The FocusListener interface provides methods for receiving
k eyboard focus events on a component.
ItemListener The ItemListener interface provides methods for receiving item
e vents.
KeyListener The KeyListener interface provides methods for receiving
k eyboard events (keystrokes).
MouseListener The MouseListener interface provides methods for receiving
mouse events such as (press, release, click, enter, and exit) on a
c omponent.
MouseMotionListener The MouseMotionListener interface provides methods for
receiving mouse motion events on a component.
TextListener
The TextListener interface provides methods for receiving text
e vents.
WindowListener
The WindowListener interface provides methods for receiving
window events.
Classes
ActionEvent
The ActionEvent class represents a semantic event, indicating
t hat a component-defined action occurred.
AdjustmentEvent
The AdjustmentEvent class encapsulates an event emitted by
A djustable objects.
ComponentAdapter
The ComponentAdapter class provides an abstract adapter class
for receiving component events.
Search WWH ::




Custom Search