org.jfree.data

Class RangeType

public final class RangeType extends Object implements Serializable

Used to indicate the type of range to display on an axis (full, positive or negative).
Field Summary
static RangeTypeFULL
Full range (positive and negative).
static RangeTypeNEGATIVE
Negative range.
static RangeTypePOSITIVE
Positive range.
Method Summary
booleanequals(Object obj)
Returns true if this object is equal to the specified object, and false otherwise.
inthashCode()
Returns a hash code value for the object.
StringtoString()
Returns a string representing the object.

Field Detail

FULL

public static final RangeType FULL
Full range (positive and negative).

NEGATIVE

public static final RangeType NEGATIVE
Negative range.

POSITIVE

public static final RangeType POSITIVE
Positive range.

Method Detail

equals

public boolean equals(Object obj)
Returns true if this object is equal to the specified object, and false otherwise.

Parameters: obj the other object.

Returns: A boolean.

hashCode

public int hashCode()
Returns a hash code value for the object.

Returns: The hashcode

toString

public String toString()
Returns a string representing the object.

Returns: The string.