Package lc.kra.system

Enum GlobalHookMode

    • 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 name
        NullPointerException - if the argument is null