public static enum RelativeLocationFilter.State extends java.lang.Enum<RelativeLocationFilter.State>
Enum Constant and Description |
---|
ABSOLUTE
The filter considers the sample values to be in absolute mode.
|
OFF
The filter does nothing.
|
RELATIVE
The filter considers the sample values to be in relative mode and replace them with the reference (mouse pointer info).
|
UNDEFINED
The filter tries to see if the values are absolute or relative and sets the state if possible.
|
Modifier and Type | Method and Description |
---|---|
static RelativeLocationFilter.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RelativeLocationFilter.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RelativeLocationFilter.State UNDEFINED
public static final RelativeLocationFilter.State ABSOLUTE
public static final RelativeLocationFilter.State RELATIVE
public static final RelativeLocationFilter.State OFF
public static RelativeLocationFilter.State[] values()
for (RelativeLocationFilter.State c : RelativeLocationFilter.State.values()) System.out.println(c);
public static RelativeLocationFilter.State 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 null