public enum KeyEventMetaModifier extends java.lang.Enum<KeyEventMetaModifier>
Enum Constant and Description |
---|
ALT_LEFT_ON
This mask is used to check whether the left ALT meta key is pressed.
|
ALT_LOCKED
ALT key locked.
|
ALT_MASK
|
ALT_ON
This mask is used to check whether one of the ALT meta keys is pressed.
|
ALT_RIGHT_ON
This mask is used to check whether the right the ALT meta key is pressed.
|
CAP_LOCKED
SHIFT key locked in CAPS mode.
|
CAPS_LOCK_ON
This mask is used to check whether the CAPS LOCK meta key is on.
|
CTRL_LEFT_ON
This mask is used to check whether the left CTRL meta key is pressed.
|
CTRL_MASK
|
CTRL_ON
This mask is used to check whether one of the CTRL meta keys is pressed.
|
CTRL_RIGHT_ON
This mask is used to check whether the right CTRL meta key is pressed.
|
FUNCTION_ON
This mask is used to check whether the FUNCTION meta key is pressed.
|
META_LEFT_ON
This mask is used to check whether the left META meta key is pressed.
|
META_MASK
|
META_ON
This mask is used to check whether one of the META meta keys is pressed.
|
META_RIGHT_ON
This mask is used to check whether the right META meta key is pressed.
|
NUM_LOCK_ON
This mask is used to check whether the NUM LOCK meta key is on.
|
SCROLL_LOCK_ON
This mask is used to check whether the SCROLL LOCK meta key is on.
|
SELECTING
Text is in selection mode.
|
SHIFT_LEFT_ON
This mask is used to check whether the left SHIFT meta key is pressed.
|
SHIFT_MASK
|
SHIFT_ON
This mask is used to check whether one of the SHIFT meta keys is pressed.
|
SHIFT_RIGHT_ON
This mask is used to check whether the right SHIFT meta key is pressed.
|
SYM_LOCKED
SYM key locked.
|
SYM_ON
This mask is used to check whether the SYM meta key is pressed.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static KeyEventMetaModifier |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static KeyEventMetaModifier[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyEventMetaModifier CAP_LOCKED
public static final KeyEventMetaModifier ALT_LOCKED
public static final KeyEventMetaModifier SYM_LOCKED
public static final KeyEventMetaModifier SELECTING
public static final KeyEventMetaModifier ALT_ON
This mask is used to check whether one of the ALT meta keys is pressed.
AndroidKey.ALT_LEFT
,
AndroidKey.ALT_RIGHT
public static final KeyEventMetaModifier ALT_LEFT_ON
This mask is used to check whether the left ALT meta key is pressed.
AndroidKey.ALT_LEFT
public static final KeyEventMetaModifier ALT_RIGHT_ON
This mask is used to check whether the right the ALT meta key is pressed.
AndroidKey.ALT_RIGHT
public static final KeyEventMetaModifier SHIFT_ON
This mask is used to check whether one of the SHIFT meta keys is pressed.
AndroidKey.SHIFT_LEFT
,
AndroidKey.SHIFT_RIGHT
public static final KeyEventMetaModifier SHIFT_LEFT_ON
This mask is used to check whether the left SHIFT meta key is pressed.
AndroidKey.SHIFT_LEFT
public static final KeyEventMetaModifier SHIFT_RIGHT_ON
This mask is used to check whether the right SHIFT meta key is pressed.
AndroidKey.SHIFT_RIGHT
public static final KeyEventMetaModifier SYM_ON
This mask is used to check whether the SYM meta key is pressed.
public static final KeyEventMetaModifier FUNCTION_ON
This mask is used to check whether the FUNCTION meta key is pressed.
public static final KeyEventMetaModifier CTRL_ON
This mask is used to check whether one of the CTRL meta keys is pressed.
AndroidKey.CTRL_LEFT
,
AndroidKey.CTRL_RIGHT
public static final KeyEventMetaModifier CTRL_LEFT_ON
This mask is used to check whether the left CTRL meta key is pressed.
AndroidKey.CTRL_LEFT
public static final KeyEventMetaModifier CTRL_RIGHT_ON
This mask is used to check whether the right CTRL meta key is pressed.
AndroidKey.CTRL_RIGHT
public static final KeyEventMetaModifier META_ON
This mask is used to check whether one of the META meta keys is pressed.
AndroidKey.META_LEFT
,
AndroidKey.META_RIGHT
public static final KeyEventMetaModifier META_LEFT_ON
This mask is used to check whether the left META meta key is pressed.
AndroidKey.META_LEFT
public static final KeyEventMetaModifier META_RIGHT_ON
This mask is used to check whether the right META meta key is pressed.
AndroidKey.META_RIGHT
public static final KeyEventMetaModifier CAPS_LOCK_ON
This mask is used to check whether the CAPS LOCK meta key is on.
AndroidKey.CAPS_LOCK
public static final KeyEventMetaModifier NUM_LOCK_ON
This mask is used to check whether the NUM LOCK meta key is on.
AndroidKey.NUM_LOCK
public static final KeyEventMetaModifier SCROLL_LOCK_ON
This mask is used to check whether the SCROLL LOCK meta key is on.
AndroidKey.SCROLL_LOCK
public static final KeyEventMetaModifier SHIFT_MASK
public static final KeyEventMetaModifier ALT_MASK
public static final KeyEventMetaModifier CTRL_MASK
public static final KeyEventMetaModifier META_MASK
public static KeyEventMetaModifier[] values()
for (KeyEventMetaModifier c : KeyEventMetaModifier.values()) System.out.println(c);
public static KeyEventMetaModifier valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getValue()