Key modifier flags. More...
Public Member Functions | |
KeyModifier (int value) | |
Constructs a KeyModifier of an integer value. | |
KeyModifier (KeyModifier enum_) | |
Constructs a copy of a KeyModifier object. | |
int | getValue () |
Returns the integer value of the enumeration constant. | |
final int | swigValue () |
Returns the integer value of the enumeration constant. | |
Static Public Member Functions | |
static KeyModifier | swigToEnum (int swigValue) |
Converts an integer value to the matching enumeration constant. | |
static KeyModifier | toEnum (int value) |
Converts an integer value to the matching enumeration constant. | |
Public Attributes | |
Alt =(2048) | |
Specifies the Alt modifier, used when the operating system does not separate the left and right Alt modifiers. | |
CapsLock =(1) | |
Specifies the Caps lock key modifier. | |
Control =(1024) | |
Specifies the Control modifier, used when the operating system does not separate the left and right Control modifiers. | |
LeftAlt =(32) | |
Specifies the left Alt key modifier. | |
LeftControl =(8) | |
Specifies the left Control key modifier. | |
LeftShift =(2) | |
Specifies the left Shift key modifier. | |
LeftSuper =(128) | |
Specifies the left Super key modifier. | |
RightAlt =(64) | |
Specifies the right Alt key modifier. | |
RightControl =(16) | |
Specifies the right Control key modifier. | |
RightShift =(4) | |
Specifies the right Shift key modifier. | |
RightSuper =(256) | |
Specifies the right Super key modifier. | |
Shift =(512) | |
Specifies the Shift modifier, used when the operating system does not separate the left and right Shift modifiers. | |
Super =(4096) | |
Specifies the Super modifier, used when the operating system does not separate the left and right Super modifiers. | |
Undefined =(0) | |
No key modifier is set, or the modifier is undefined. | |
Key modifier flags.
You can set more than one modifier at a time for a KeyEvent.
KeyModifier | ( | int | value | ) |
Constructs a KeyModifier of an integer value.
value | Integer value to convert to enumeration constant. |
KeyModifier | ( | KeyModifier | enum_ | ) |
Constructs a copy of a KeyModifier object.
enum_ | KeyModifier to be copy constructed. |
int getValue | ( | ) |
|
static |
Converts an integer value to the matching enumeration constant.
Used internally by SWIG generated code.
swigValue | Integer value to convert to enumeration constant. |
Returns the integer value of the enumeration constant.
Used internally by SWIG generated code.
|
static |
Converts an integer value to the matching enumeration constant.
value | Integer value to convert to enumeration constant. |
LeftSuper =(128) |
Specifies the left Super key modifier.
RightSuper =(256) |
Specifies the right Super key modifier.
Super =(4096) |
Specifies the Super modifier, used when the operating system does not separate the
left and right Super modifiers.