public static enum Angle.Direction extends Enum<Angle.Direction>
Enum Constant and Description |
---|
Clockwise
Angle in clockwise direction. |
CounterClockwise
Angle in counter-clockwise direction. |
Modifier and Type | Method and Description |
---|---|
static Angle.Direction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Angle.Direction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Angle.Direction Clockwise
Angle
in clockwise direction.public static final Angle.Direction CounterClockwise
Angle
in counter-clockwise direction.public static Angle.Direction[] values()
for (Angle.Direction c : Angle.Direction.values()) System.out.println(c);
public static Angle.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 null