Package lc.kra.system
Enum GlobalHookMode
- java.lang.Object
-
- java.lang.Enum<GlobalHookMode>
-
- lc.kra.system.GlobalHookMode
-
- All Implemented Interfaces:
Serializable,Comparable<GlobalHookMode>
public enum GlobalHookMode extends Enum<GlobalHookMode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEFAULTcapture events via the low-level system hook, after a event was captured any next hook registered will be calledFINALcapture events via the low-level system hook, this mode will not invoke any further hooksRAWcapturing events in raw mode will provide you additional information of the device
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GlobalHookModevalueOf(String name)Returns the enum constant of this type with the specified name.static GlobalHookMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT
public static final GlobalHookMode DEFAULT
capture events via the low-level system hook, after a event was captured any next hook registered will be called
-
FINAL
public static final GlobalHookMode FINAL
capture events via the low-level system hook, this mode will not invoke any further hooks
-
RAW
public static final GlobalHookMode RAW
capturing events in raw mode will provide you additional information of the device
-
-
Method Detail
-
values
public static GlobalHookMode[] 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 (GlobalHookMode c : GlobalHookMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GlobalHookMode 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
-
-