Package xyz.cofe.term.win
Enum InputMouseEvent.EventFlags
- java.lang.Object
-
- java.lang.Enum<InputMouseEvent.EventFlags>
-
- xyz.cofe.term.win.InputMouseEvent.EventFlags
-
- All Implemented Interfaces:
Serializable,Comparable<InputMouseEvent.EventFlags>,BitFlag
- Enclosing class:
- InputMouseEvent
public static enum InputMouseEvent.EventFlags extends Enum<InputMouseEvent.EventFlags> implements BitFlag
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DOUBLE_CLICKMOUSE_HWHEELEDMOUSE_MOVEDMOUSE_WHEELED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intbitFlag()static InputMouseEvent.EventFlagsvalueOf(String name)Returns the enum constant of this type with the specified name.static InputMouseEvent.EventFlags[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DOUBLE_CLICK
public static final InputMouseEvent.EventFlags DOUBLE_CLICK
-
MOUSE_HWHEELED
public static final InputMouseEvent.EventFlags MOUSE_HWHEELED
-
MOUSE_MOVED
public static final InputMouseEvent.EventFlags MOUSE_MOVED
-
MOUSE_WHEELED
public static final InputMouseEvent.EventFlags MOUSE_WHEELED
-
-
Method Detail
-
values
public static InputMouseEvent.EventFlags[] 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.EventFlags c : InputMouseEvent.EventFlags.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.EventFlags 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
-
-