java.awt.event |
|
Java Source File Name | Type | Comment |
ActionEvent.java | Class | The action semantic event. |
ActionListener.java | Interface | The listener interface for receiving action events. |
AdjustmentEvent.java | Class | The adjustment event emitted by Adjustable objects. |
AdjustmentListener.java | Interface | The listener interface for receiving adjustment events. |
AWTEventListener.java | Interface | The listener interface for receiving notification of events
dispatched to objects that are instances of Component or
MenuComponent or their subclasses. |
AWTEventListenerProxy.java | Class | A class which extends the EventListenerProxy , specifically
for adding an AWTEventListener for a specific event mask.
Instances of this class can be added as AWTEventListener s to
a Toolkit object. |
ComponentAdapter.java | Class | The adapter which receives component events. |
ComponentEvent.java | Class | The root event class for all component-level events. |
ComponentListener.java | Interface | The listener interface for receiving component events. |
ContainerAdapter.java | Class | The adapter which receives container events. |
ContainerEvent.java | Class | The class for container-level events. |
ContainerListener.java | Interface | The listener interface for receiving container events. |
FocusAdapter.java | Class | The adapter which receives focus events. |
FocusEvent.java | Class | The component-level focus event.
There are two levels of focus change events: permanent and temporary.
Permanent focus change events occur when focus is directly moved
from one component to another, such as through calls to requestFocus()
or as the user uses the Tab key to traverse components.
Temporary focus change events occur when focus is temporarily
gained or lost for a component as the indirect result of another
operation, such as window deactivation or a scrollbar drag. |
FocusListener.java | Interface | The listener interface for receiving keyboard focus events on
a component. |
InputEvent.java | Class | The root event class for all component-level input events.
Input events are delivered to listeners before they are
processed normally by the source where they originated.
This allows listeners and component subclasses to "consume"
the event so that the source will not process them in their
default manner. |
InputMethodEvent.java | Class | Input method events contain information about text that is being
composed using an input method. |
InputMethodListener.java | Interface | The listener interface for receiving input method events. |
InvocationEvent.java | Class | An event which executes the run() method on a Runnable
when dispatched by the AWT event dispatcher thread. |
ItemEvent.java | Class | The item event emitted by ItemSelectable objects. |
ItemListener.java | Interface | The listener interface for receiving item events. |
KeyAdapter.java | Class | The adapter which receives keyboard events. |
KeyEvent.java | Class | An event which indicates that a keystroke occurred in a component.
This low-level event is generated by a component object (such as a text
field) when a key is pressed, released, or typed.
The event is passed to every KeyListener
or KeyAdapter object which registered to receive such
events using the component's addKeyListener method.
(KeyAdapter objects implement the
KeyListener interface.) Each such listener object
gets this KeyEvent when the event occurs.
"Key typed" events are higher-level and generally do not depend on
the platform or keyboard layout. |
KeyListener.java | Interface | The listener interface for receiving keyboard events. |
MouseAdapter.java | Class | The adapter which receives mouse events. |
MouseEvent.java | Class | An event which indicates that a mouse action occurred in a component.
A mouse action is considered to occur in a particular component if and only
if the mouse cursor is over the unobscured part of the component's bounds
when the action happens.
Component bounds can be obscurred by the visible component's children or by a
menu or by a top-level window.
This event is used both for mouse events (click, enter, exit) and mouse
motion events (moves and drags).
This low-level event is generated by a component object for:
- Mouse Events
- a mouse button is pressed
- a mouse button is released
- a mouse button is clicked (pressed and released)
- the mouse cursor enters the unobscured part of component's geometry
- the mouse cursor exits the unobscured part of component's geometry
- Mouse Motion Events
- the mouse is moved
- the mouse is dragged
A MouseEvent object is passed to every
MouseListener
or MouseAdapter object which is registered to receive
the "interesting" mouse events using the component's
addMouseListener method.
(MouseAdapter objects implement the
MouseListener interface.) Each such listener object
gets a MouseEvent containing the mouse event.
A MouseEvent object is also passed to every
MouseMotionListener or
MouseMotionAdapter object which is registered to receive
mouse motion events using the component's
addMouseMotionListener
method. |
MouseListener.java | Interface | The listener interface for receiving mouse events on a component. |
MouseMotionAdapter.java | Class | The adapter which receives mouse motion events. |
MouseMotionListener.java | Interface | The listener interface for receiving mouse motion events on a component. |
MouseWheelEvent.java | Class | An event which indicates that the mouse wheel was rotated in a component.
A wheel mouse is a mouse which has a wheel in place of the middle button.
This wheel can be rotated towards or away from the user. |
MouseWheelListener.java | Interface | The listener interface for receiving mouse wheel events on a component.
(For clicks and other mouse events, use the MouseListener. |
PaintEvent.java | Class | The component-level paint event.
This event is a special type which is used to ensure that
paint/update method calls are serialized along with the other
events delivered from the event queue. |
TextEvent.java | Class | The text event emitted by TextComponents. |
TextListener.java | Interface | The listener interface for receiving adjustment events. |
WindowAdapter.java | Class | The adapter which receives window events. |
WindowEvent.java | Class | The window-level event. |
WindowFocusListener.java | Interface | The listener interface for receiving WindowEvents , including
WINDOW_GAINED_FOCUS and WINDOW_LOST_FOCUS events. |
WindowListener.java | Interface | The listener interface for receiving window events. |