java.awt.event
Class InputEventjava.lang.Object | +--java.util.EventObject | +--java.awt.AWTEvent | +--java.awt.event.ComponentEvent | +--java.awt.event.InputEvent
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- KeyEvent, MouseEvent
- public abstract class InputEvent
- extends ComponentEvent
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. For example, consuming mousePressed events on a Button component will prevent the Button from being activated.
- Since:
- 1.1
- See Also:
- KeyEvent, KeyAdapter, MouseEvent, MouseAdapter, MouseMotionAdapter, Serialized Form
Field Summary
static int ALT_DOWN_MASK
The ALT key extended modifier constant.static int ALT_GRAPH_DOWN_MASK
The alt-graph key extended modifier constant.static int ALT_GRAPH_MASK
The alt-graph key modifier constant.static int ALT_MASK
The alt key modifier constant.static int BUTTON1_DOWN_MASK
The mouse button1 extended modifier constant.static int BUTTON1_MASK
The mouse button1 modifier constant.static int BUTTON2_DOWN_MASK
The mouse button2 extended modifier constant.static int BUTTON2_MASK
The mouse button2 modifier constant.static int BUTTON3_DOWN_MASK
The mouse button3 extended modifier constant.static int BUTTON3_MASK
The mouse button3 modifier constant.static int CTRL_DOWN_MASK
The CTRL key extended modifier constant.static int CTRL_MASK
The control key modifier constant.static int META_DOWN_MASK
The META key extended modifier constant.static int META_MASK
The meta key modifier constant.static int SHIFT_DOWN_MASK
The SHIFT key extended modifier constant.static int SHIFT_MASK
The shift key modifier constant.
Fields inherited from class java.awt.event.ComponentEvent COMPONENT_FIRST, COMPONENT_HIDDEN,