Enum InputEvents

java.lang.Object
java.lang.Enum<InputEvents>
uk.co.caprica.vlcj.player.component.InputEvents
All Implemented Interfaces:
Serializable, Comparable<InputEvents>, java.lang.constant.Constable

public enum InputEvents extends Enum<InputEvents>
Enumeration of flags for controller input (mouse and keyboard) event handling for the video surface.
  • Enum Constant Details

    • NONE

      public static final InputEvents NONE
      No input event handling, no mouse or keyboard listener events will fire.
    • DEFAULT

      public static final InputEvents DEFAULT
      Default input event handling, mouse and keyboard listener events will fire.
    • DISABLE_NATIVE

      public static final InputEvents DISABLE_NATIVE
      Disable native input event handling, mouse and keyboard listener events will fire.

      This is the mode that is usually required on Windows.

  • Method Details

    • values

      public static InputEvents[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static InputEvents 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