Package xyz.cofe.term.win
Enum InputMouseEvent.ControlState
- java.lang.Object
-
- java.lang.Enum<InputMouseEvent.ControlState>
-
- xyz.cofe.term.win.InputMouseEvent.ControlState
-
- All Implemented Interfaces:
Serializable,Comparable<InputMouseEvent.ControlState>,BitFlag
- Enclosing class:
- InputMouseEvent
public static enum InputMouseEvent.ControlState extends Enum<InputMouseEvent.ControlState> 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 InputMouseEvent.ControlStatevalueOf(String name)Returns the enum constant of this type with the specified name.static InputMouseEvent.ControlState[]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 InputMouseEvent.ControlState CAPSLOCK_ON
-
ENHANCED_KEY
public static final InputMouseEvent.ControlState ENHANCED_KEY
-
LEFT_ALT_PRESSED
public static final InputMouseEvent.ControlState LEFT_ALT_PRESSED
-
LEFT_CTRL_PRESSED
public static final InputMouseEvent.ControlState LEFT_CTRL_PRESSED
-
NUMLOCK_ON
public static final InputMouseEvent.ControlState NUMLOCK_ON
-
RIGHT_ALT_PRESSED
public static final InputMouseEvent.ControlState RIGHT_ALT_PRESSED
-
RIGHT_CTRL_PRESSED
public static final InputMouseEvent.ControlState RIGHT_CTRL_PRESSED
-
SCROLLLOCK_ON
public static final InputMouseEvent.ControlState SCROLLLOCK_ON
-
SHIFT_PRESSED
public static final InputMouseEvent.ControlState SHIFT_PRESSED
-
-
Method Detail
-
values
public static InputMouseEvent.ControlState[] 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 (InputMouseEvent.ControlState c : InputMouseEvent.ControlState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InputMouseEvent.ControlState 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
-
-