org.jfree.chart.plot

Class DatasetRenderingOrder

public final class DatasetRenderingOrder extends Object implements Serializable

Defines the tokens that indicate the rendering order for datasets in a CategoryPlot or an XYPlot.
Field Summary
static DatasetRenderingOrderFORWARD
Render datasets in the order 0, 1, 2, ..., N-1, where N is the number of datasets.
static DatasetRenderingOrderREVERSE
Render datasets in the order N-1, N-2, ..., 2, 1, 0, where N is the number of datasets.
Method Summary
booleanequals(Object obj)
Returns true if this object is equal to the specified object, and false otherwise.
inthashCode()
Returns a hash code for this instance.
StringtoString()
Returns a string representing the object.

Field Detail

FORWARD

public static final DatasetRenderingOrder FORWARD
Render datasets in the order 0, 1, 2, ..., N-1, where N is the number of datasets.

REVERSE

public static final DatasetRenderingOrder REVERSE
Render datasets in the order N-1, N-2, ..., 2, 1, 0, where N is the number of datasets.

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 object (null permitted).

Returns: A boolean.

hashCode

public int hashCode()
Returns a hash code for this instance.

Returns: A hash code.

toString

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

Returns: The string (never null).