private static enum OrthogonalizeAction.Direction extends Enum<OrthogonalizeAction.Direction>
Modifier and Type | Method and Description |
---|---|
OrthogonalizeAction.Direction |
changeBy(int directionChange) |
static OrthogonalizeAction.Direction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OrthogonalizeAction.Direction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OrthogonalizeAction.Direction RIGHT
public static final OrthogonalizeAction.Direction UP
public static final OrthogonalizeAction.Direction LEFT
public static final OrthogonalizeAction.Direction DOWN
public static OrthogonalizeAction.Direction[] values()
for (OrthogonalizeAction.Direction c : OrthogonalizeAction.Direction.values()) System.out.println(c);
public static OrthogonalizeAction.Direction 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 nullpublic OrthogonalizeAction.Direction changeBy(int directionChange)