org.jfree.data

Class RangeType

Implemented Interfaces:
Serializable

public final class RangeType
extends java.lang.Object
implements Serializable

Used to indicate the type of range to display on an axis (full, positive or negative).

Field Summary

static RangeType
FULL
Full range (positive and negative).
static RangeType
NEGATIVE
Negative range.
static RangeType
POSITIVE
Positive range.

Method Summary

boolean
equals(Object obj)
Returns true if this object is equal to the specified object, and false otherwise.
int
hashCode()
Returns a hash code value for the object.
String
toString()
Returns a string representing the object.

Field Details

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 Details

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.