Package xyz.cofe.term.win
Enum InputKeyEvent.StateFlags
- java.lang.Object
-
- java.lang.Enum<InputKeyEvent.StateFlags>
-
- xyz.cofe.term.win.InputKeyEvent.StateFlags
-
- All Implemented Interfaces:
Serializable,Comparable<InputKeyEvent.StateFlags>,BitFlag
- Enclosing class:
- InputKeyEvent
public static enum InputKeyEvent.StateFlags extends Enum<InputKeyEvent.StateFlags> implements BitFlag
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CAPSLOCK_ONENHANCED_KEYLEFT_ALT_PRESSEDLEFT_CTRL_PRESSEDNUMLOCK_ONRIGHT_ALT_PRESSEDRIGHT_CTRL_PRESSEDSCROLLLOCK_ONSHIFT_PRESSED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intbitFlag()static InputKeyEvent.StateFlagsvalueOf(String name)Returns the enum constant of this type with the specified name.static InputKeyEvent.StateFlags[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CAPSLOCK_ON
public static final InputKeyEvent.StateFlags CAPSLOCK_ON
-
ENHANCED_KEY
public static final InputKeyEvent.StateFlags ENHANCED_KEY
-
LEFT_ALT_PRESSED
public static final InputKeyEvent.StateFlags LEFT_ALT_PRESSED
-
LEFT_CTRL_PRESSED
public static final InputKeyEvent.StateFlags LEFT_CTRL_PRESSED
-
NUMLOCK_ON
public static final InputKeyEvent.StateFlags NUMLOCK_ON
-
RIGHT_ALT_PRESSED
public static final InputKeyEvent.StateFlags RIGHT_ALT_PRESSED
-
RIGHT_CTRL_PRESSED
public static final InputKeyEvent.StateFlags RIGHT_CTRL_PRESSED
-
SCROLLLOCK_ON
public static final InputKeyEvent.StateFlags SCROLLLOCK_ON
-
SHIFT_PRESSED
public static final InputKeyEvent.StateFlags SHIFT_PRESSED
-
-
Method Detail
-
values
public static InputKeyEvent.StateFlags[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (InputKeyEvent.StateFlags c : InputKeyEvent.StateFlags.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InputKeyEvent.StateFlags valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
-