Listeners and adapters for different kinds of AWT events.
See: Description
Interface Summary | |
---|---|
ActionListener | This interface is for classes that listen for action events. |
AdjustmentListener | Interface for classes that listen for adjustment events. |
AWTEventListener | This listener is for classes that need to listen to all events in the AWT system. |
ComponentListener | This interface is for classes that receive all events from a component. |
ContainerListener | This interface is for classes that wish to listen for all events from container objects. |
FocusListener | This interface is for classes that wish to be notified of changes of keyboard focus for a component. |
HierarchyBoundsListener | This listens for changes in an ancestors size or location. |
HierarchyListener | This listens for changes in the hierarchy tree of components. |
InputMethodListener | This interface is for classes that wish to receive events from an input method. |
ItemListener | This interface is for classes that wish to receive events when an item's selection state changes. |
KeyListener | This interface is for classes that wish to receive keyboard events. |
MouseListener | This interface is for classes that wish to receive mouse events other than simple motion events. |
MouseMotionListener | This interface is for classes that wish to be notified of mouse movements. |
MouseWheelListener | This interface is for classes that wish to receive mouse wheel events. |
TextListener | This interface is for classes that wish to be notified when text changes in a component. |
WindowFocusListener | This interface is for classes that wish to monitor events for window focus changes. |
WindowListener | This interface is for classes that wish to monitor events for window changes. |
WindowStateListener | This interface is for classes that wish to monitor events for window state changes. |
Class Summary | |
---|---|
ActionEvent | This event is generated when an action on a component (such as a button press) occurs. |
AdjustmentEvent | This class represents an event that is generated when an adjustable value is changed. |
AWTEventListenerProxy | This class allows adding an AWTEventListener which only pays attention to a specific event mask. |
ComponentAdapter |
This class implements ComponentListener and implements
all methods with empty bodies. |
ComponentEvent | This class is for events generated when a component is moved, resized, hidden, or shown. |
ContainerAdapter |
This class implements ContainerListener and implements
all methods with empty bodies. |
ContainerEvent | This event is generated when a component is added or removed from a container. |
FocusAdapter |
This class implements FocusListener and implements all
methods with empty bodies. |
FocusEvent | This class represents an event generated when a focus change occurs for a component. |
HierarchyBoundsAdapter |
This class implements HierarchyBoundsListener and implements
all methods with empty bodies. |
HierarchyEvent | This class represents an event generated for an ancestor component which may affect this component. |
InputEvent | This is the common superclass for all component input classes. |
InputMethodEvent | This class is for event generated by change in a text input method. |
InvocationEvent | This event executes {@link Runnable#run()} of a target object when it is dispatched. |
ItemEvent | This event is generated when a selection item changes state. |
KeyAdapter |
This class implements KeyListener and implements all methods
with empty bodies. |
KeyEvent | This event is generated when a key is pressed or released. |
MouseAdapter |
This class implements MouseListener and implements all methods
with empty bodies. |
MouseEvent | This event is generated for a mouse event. |
MouseMotionAdapter |
This class implements MouseMotionListener and implements all
methods with empty bodies. |
MouseWheelEvent | This event is generated for a mouse wheel rotation. |
PaintEvent | This event is generated when an area of the screen needs to be painted. |
TextEvent | This event is generated when a text box changes contents. |
WindowAdapter |
This class implements WindowListener ,
WindowStateListener , and WindowFocusListener , and
implements all methods with empty bodies. |
WindowEvent | This event is generated when there is a change in a window. |
Listeners and adapters for different kinds of AWT events.