- All Implemented Interfaces:
Serializable
,Comparable<InputEvents>
,java.lang.constant.Constable
Enumeration of flags for controller input (mouse and keyboard) event handling for the video surface.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDefault input event handling, mouse and keyboard listener events will fire.Disable native input event handling, mouse and keyboard listener events will fire.No input event handling, no mouse or keyboard listener events will fire. -
Method Summary
Modifier and TypeMethodDescriptionstatic InputEvents
Returns the enum constant of this type with the specified name.static InputEvents[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
NONE
No input event handling, no mouse or keyboard listener events will fire. -
DEFAULT
Default input event handling, mouse and keyboard listener events will fire. -
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
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
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
-