org.jfree.util
public final class Rotation extends Object implements Serializable
CLOCKWISE
or
ANTICLOCKWISE
).
Field Summary | |
---|---|
static Rotation | ANTICLOCKWISE The reverse order renders the primary dataset first. |
static Rotation | CLOCKWISE Clockwise. |
Method Summary | |
---|---|
boolean | equals(Object o)
Compares this object for equality with an other object.
|
double | getFactor()
Returns the rotation factor, which is -1.0 for CLOCKWISE
and 1.0 for ANTICLOCKWISE .
|
int | hashCode()
Returns a hash code value for the object.
|
String | toString()
Returns a string representing the object.
|
Parameters: o the other object
Returns: true or false
CLOCKWISE
and 1.0 for ANTICLOCKWISE
.
Returns: the rotation factor.
Returns: the hashcode
Returns: the string (never null
).