Overview | Methods | Fields | This Package | All Packages
Retrieves a value indicating the current state of the SHIFT, CTRL, and ALT keys.
Syntax
public static final int getModifierKeys()
Return Value
Returns an integer that represents the status of the SHIFT, CTRL, and ALT keys. Possible return values are obtained by applying the bitwise OR operation (|) to the Key.SHIFT, Key.CONTROL, and Key.ALT constants defined in the Key class.