Example usage for Java java.awt.event InputEvent fields, constructors, methods, implement or subclass
The text is from its open source code.
int | SHIFT_MASK The Shift key modifier constant. |
int | CTRL_MASK The Control key modifier constant. |
int | META_MASK The Meta key modifier constant. |
int | ALT_MASK The Alt key modifier constant. |
int | ALT_GRAPH_MASK The AltGraph key modifier constant. |
int | BUTTON1_MASK The Mouse Button1 modifier constant. |
int | BUTTON2_MASK The Mouse Button2 modifier constant. |
int | BUTTON3_MASK The Mouse Button3 modifier constant. |
int | SHIFT_DOWN_MASK The Shift key extended modifier constant. |
int | CTRL_DOWN_MASK The Control key extended modifier constant. |
int | META_DOWN_MASK The Meta key extended modifier constant. |
int | ALT_DOWN_MASK The Alt key extended modifier constant. |
int | BUTTON1_DOWN_MASK The Mouse Button1 extended modifier constant. |
int | BUTTON2_DOWN_MASK The Mouse Button2 extended modifier constant. |
int | BUTTON3_DOWN_MASK The Mouse Button3 extended modifier constant. |
int | ALT_GRAPH_DOWN_MASK The AltGraph key extended modifier constant. |
int | getModifiers() Returns the modifier mask for this event. |
int | getModifiersEx() Returns the extended modifier mask for this event. |
String | getModifiersExText(int modifiers) Returns a String describing the extended modifier keys and mouse buttons, such as "Shift", "Button1", or "Ctrl+Shift". |
boolean | isControlDown() Returns whether or not the Control modifier is down on this event. |
boolean | isShiftDown() Returns whether or not the Shift modifier is down on this event. |