org.jfree.util
Class Rotation
- Serializable
extends java.lang.Object
implements Serializable
Represents a direction of rotation (CLOCKWISE or
ANTICLOCKWISE).
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.
|
ANTICLOCKWISE
public static final Rotation ANTICLOCKWISE
The reverse order renders the primary dataset first.
equals
public boolean equals(Object o)
Compares this object for equality with an other object.
Implementation note: This simply compares the factor instead
of the name.
getFactor
public double getFactor()
Returns the rotation factor, which is -1.0 for CLOCKWISE
and 1.0 for ANTICLOCKWISE.
hashCode
public int hashCode()
Returns a hash code value for the object.
toString
public String toString()
Returns a string representing the object.