public enum Rotation extends Enum<Rotation>
CLOCKWISE
or
ANTICLOCKWISE
).Enum Constant and Description |
---|
ANTICLOCKWISE
The reverse order renders the primary dataset first.
|
CLOCKWISE
Clockwise.
|
Modifier and Type | Method and Description |
---|---|
double |
getFactor()
Returns the rotation factor, which is -1.0 for
CLOCKWISE
and 1.0 for ANTICLOCKWISE . |
String |
toString()
Returns a string representing the object.
|
static Rotation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Rotation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Rotation CLOCKWISE
public static final Rotation ANTICLOCKWISE
public static Rotation[] values()
for (Rotation c : Rotation.values()) System.out.println(c);
public static Rotation 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 String toString()
public double getFactor()
CLOCKWISE
and 1.0 for ANTICLOCKWISE
.Copyright © 2001–2017 JFree.org. All rights reserved.