Java java.awt.event InputEvent fields, constructors, methods, implement or subclass

Example usage for Java java.awt.event InputEvent fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.awt.event InputEvent.

The text is from its open source code.

Field

intSHIFT_MASK
The Shift key modifier constant.
intCTRL_MASK
The Control key modifier constant.
intMETA_MASK
The Meta key modifier constant.
intALT_MASK
The Alt key modifier constant.
intALT_GRAPH_MASK
The AltGraph key modifier constant.
intBUTTON1_MASK
The Mouse Button1 modifier constant.
intBUTTON2_MASK
The Mouse Button2 modifier constant.
intBUTTON3_MASK
The Mouse Button3 modifier constant.
intSHIFT_DOWN_MASK
The Shift key extended modifier constant.
intCTRL_DOWN_MASK
The Control key extended modifier constant.
intMETA_DOWN_MASK
The Meta key extended modifier constant.
intALT_DOWN_MASK
The Alt key extended modifier constant.
intBUTTON1_DOWN_MASK
The Mouse Button1 extended modifier constant.
intBUTTON2_DOWN_MASK
The Mouse Button2 extended modifier constant.
intBUTTON3_DOWN_MASK
The Mouse Button3 extended modifier constant.
intALT_GRAPH_DOWN_MASK
The AltGraph key extended modifier constant.

Method

intgetModifiers()
Returns the modifier mask for this event.
intgetModifiersEx()
Returns the extended modifier mask for this event.
StringgetModifiersExText(int modifiers)
Returns a String describing the extended modifier keys and mouse buttons, such as "Shift", "Button1", or "Ctrl+Shift".
booleanisControlDown()
Returns whether or not the Control modifier is down on this event.
booleanisShiftDown()
Returns whether or not the Shift modifier is down on this event.