public enum InteractionAxis extends Enum<InteractionAxis> implements Key
Enum Constant and Description |
---|
x
X directions are used in calculating distances.
|
xy
XY directions are used in calculating distances.
|
y
Y directions are used in calculating distances.
|
Modifier and Type | Method and Description |
---|---|
static InteractionAxis |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InteractionAxis[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InteractionAxis x
public static final InteractionAxis y
public static final InteractionAxis xy
public static InteractionAxis[] values()
for (InteractionAxis c : InteractionAxis.values()) System.out.println(c);
public static InteractionAxis valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null