Kanzi  3.9.9
Kanzi Engine Java API
KeyModifier Enum Reference

Key modifier flags. More...

Inheritance diagram for KeyModifier:
[legend]

Public Member Functions

 KeyModifier (int value)
 Constructs a KeyModifier of an integer value. More...
 
 KeyModifier (KeyModifier enum_)
 Constructs a copy of a KeyModifier object. More...
 
int getValue ()
 Returns the integer value of the enumeration constant. More...
 
final int swigValue ()
 Returns the integer value of the enumeration constant. More...
 

Static Public Member Functions

static KeyModifier swigToEnum (int swigValue)
 Converts an integer value to the matching enumeration constant. More...
 
static KeyModifier toEnum (int value)
 Converts an integer value to the matching enumeration constant. More...
 

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. More...
 
 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. More...
 
 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. More...
 
 Undefined =(0)
 No key modifier is set, or the modifier is undefined.
 

Detailed Description

Key modifier flags.

You can set more than one modifier at a time for a KeyEvent.

Constructor & Destructor Documentation

KeyModifier ( int  value)

Constructs a KeyModifier of an integer value.

Parameters
valueInteger value to convert to enumeration constant.

Constructs a copy of a KeyModifier object.

Parameters
enum_KeyModifier to be copy constructed.

Member Function Documentation

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

static KeyModifier swigToEnum ( int  swigValue)
static

Converts an integer value to the matching enumeration constant.

Used internally by SWIG generated code.

Parameters
swigValueInteger value to convert to enumeration constant.
Returns
Enumeration constant matching the integer value.
final int swigValue ( )

Returns the integer value of the enumeration constant.

Used internally by SWIG generated code.

Returns
Integer value.
static KeyModifier toEnum ( int  value)
static

Converts an integer value to the matching enumeration constant.

Parameters
valueInteger value to convert to enumeration constant.
Returns
Enumeration constant matching the integer value.

Member Data Documentation

LeftSuper =(128)

Specifies the left Super key modifier.


See also
LogicalKey::Super
RightSuper =(256)

Specifies the right Super key modifier.


See also
LogicalKey::Super
Super =(4096)

Specifies the Super modifier, used when the operating system does not separate the
left and right Super modifiers.


See also
LogicalKey::Super