public enum SynchronizedInputType extends java.lang.Enum<SynchronizedInputType> implements INativeEnum
Enum Constant and Description |
---|
KeyDown
A key has been pressed.
|
KeyUp
A key has been released.
|
LeftMouseDown
The left mouse button has been pressed.
|
LeftMouseUp
The left mouse button has been released.
|
RightMouseDown
The right mouse button has been pressed.
|
RightMouseUp
The right mouse button has been released.
|
Modifier and Type | Method and Description |
---|---|
static java.util.Optional<SynchronizedInputType> |
fromNativeValue(int nativeValue) |
java.lang.String |
getConstantName() |
int |
getNativeValue() |
static SynchronizedInputType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SynchronizedInputType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SynchronizedInputType KeyUp
public static final SynchronizedInputType KeyDown
public static final SynchronizedInputType LeftMouseUp
public static final SynchronizedInputType LeftMouseDown
public static final SynchronizedInputType RightMouseUp
public static final SynchronizedInputType RightMouseDown
public static SynchronizedInputType[] values()
for (SynchronizedInputType c : SynchronizedInputType.values()) System.out.println(c);
public static SynchronizedInputType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getNativeValue()
getNativeValue
in interface INativeEnum
public java.lang.String getConstantName()
getConstantName
in interface INativeEnum
public static java.util.Optional<SynchronizedInputType> fromNativeValue(int nativeValue)