| |
|
| java.lang.Object org.jfree.util.Rotation
Rotation | final public class Rotation implements Serializable(Code) | | Represents a direction of rotation (CLOCKWISE or
ANTICLOCKWISE ).
author: David Gilbert |
Method Summary | |
public boolean | equals(Object o) Compares this object for equality with an other object. | public double | getFactor() Returns the rotation factor, which is -1.0 for CLOCKWISE
and 1.0 for ANTICLOCKWISE . | public int | hashCode() Returns a hash code value for the object. | public String | toString() Returns a string representing the object. |
ANTICLOCKWISE | final public static Rotation ANTICLOCKWISE(Code) | | The reverse order renders the primary dataset first.
|
equals | public boolean equals(Object o)(Code) | | Compares this object for equality with an other object.
Implementation note: This simply compares the factor instead
of the name.
Parameters: o - the other object true or false |
getFactor | public double getFactor()(Code) | | Returns the rotation factor, which is -1.0 for CLOCKWISE
and 1.0 for ANTICLOCKWISE .
the rotation factor. |
hashCode | public int hashCode()(Code) | | Returns a hash code value for the object.
the hashcode |
toString | public String toString()(Code) | | Returns a string representing the object.
the string (never null ). |
|
|
|