org.jfree.data.time

Class TimePeriodAnchor

Implemented Interfaces:
Serializable

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

Used to indicate one of three positions in a time period: START, MIDDLE and END.

Field Summary

static TimePeriodAnchor
END
End of period.
static TimePeriodAnchor
MIDDLE
Middle of period.
static TimePeriodAnchor
START
Start of period.

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

END

public static final TimePeriodAnchor END
End of period.

MIDDLE

public static final TimePeriodAnchor MIDDLE
Middle of period.

START

public static final TimePeriodAnchor START
Start of period.

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.