Enum Class KeyEventMetaModifier
- All Implemented Interfaces:
Serializable,Comparable<KeyEventMetaModifier>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThis mask is used to check whether the left ALT meta key is pressed.ALT key locked.This mask is used to check whether one of the ALT meta keys is pressed.This mask is used to check whether the right the ALT meta key is pressed.SHIFT key locked in CAPS mode.This mask is used to check whether the CAPS LOCK meta key is on.This mask is used to check whether the left CTRL meta key is pressed.This mask is used to check whether one of the CTRL meta keys is pressed.This mask is used to check whether the right CTRL meta key is pressed.This mask is used to check whether the FUNCTION meta key is pressed.This mask is used to check whether the left META meta key is pressed.This mask is used to check whether one of the META meta keys is pressed.This mask is used to check whether the right META meta key is pressed.This mask is used to check whether the NUM LOCK meta key is on.This mask is used to check whether the SCROLL LOCK meta key is on.Text is in selection mode.This mask is used to check whether the left SHIFT meta key is pressed.This mask is used to check whether one of the SHIFT meta keys is pressed.This mask is used to check whether the right SHIFT meta key is pressed.SYM key locked.This mask is used to check whether the SYM meta key is pressed. -
Method Summary
Modifier and TypeMethodDescriptionintgetValue()static KeyEventMetaModifierReturns the enum constant of this class with the specified name.static KeyEventMetaModifier[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CAP_LOCKED
SHIFT key locked in CAPS mode. Reserved for use by MetaKeyKeyListener for a published constant in its API. -
ALT_LOCKED
ALT key locked. Reserved for use by MetaKeyKeyListener for a published constant in its API. -
SYM_LOCKED
SYM key locked. Reserved for use by MetaKeyKeyListener for a published constant in its API. -
SELECTING
Text is in selection mode. Reserved for use by MetaKeyKeyListener for a private unpublished constant in its API that is currently being retained for legacy reasons. -
ALT_ON
This mask is used to check whether one of the ALT meta keys is pressed.- See Also:
-
ALT_LEFT_ON
This mask is used to check whether the left ALT meta key is pressed.- See Also:
-
ALT_RIGHT_ON
This mask is used to check whether the right the ALT meta key is pressed.- See Also:
-
SHIFT_ON
This mask is used to check whether one of the SHIFT meta keys is pressed.- See Also:
-
SHIFT_LEFT_ON
This mask is used to check whether the left SHIFT meta key is pressed.- See Also:
-
SHIFT_RIGHT_ON
This mask is used to check whether the right SHIFT meta key is pressed.- See Also:
-
SYM_ON
This mask is used to check whether the SYM meta key is pressed. -
FUNCTION_ON
This mask is used to check whether the FUNCTION meta key is pressed. -
CTRL_ON
This mask is used to check whether one of the CTRL meta keys is pressed.- See Also:
-
CTRL_LEFT_ON
This mask is used to check whether the left CTRL meta key is pressed.- See Also:
-
CTRL_RIGHT_ON
This mask is used to check whether the right CTRL meta key is pressed.- See Also:
-
META_ON
This mask is used to check whether one of the META meta keys is pressed.- See Also:
-
META_LEFT_ON
This mask is used to check whether the left META meta key is pressed.- See Also:
-
META_RIGHT_ON
This mask is used to check whether the right META meta key is pressed.- See Also:
-
CAPS_LOCK_ON
This mask is used to check whether the CAPS LOCK meta key is on.- See Also:
-
NUM_LOCK_ON
This mask is used to check whether the NUM LOCK meta key is on.- See Also:
-
SCROLL_LOCK_ON
This mask is used to check whether the SCROLL LOCK meta key is on.- See Also:
-
SHIFT_MASK
-
ALT_MASK
-
CTRL_MASK
-
META_MASK
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public int getValue()
-