org.jfree.chart.plot

Class DatasetRenderingOrder

Implemented Interfaces:
Serializable

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

Defines the tokens that indicate the rendering order for datasets in a CategoryPlot or an XYPlot.

Field Summary

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

Method Summary

boolean
equals(Object o)
Returns true if this object is equal to the specified object, and false otherwise.
String
toString()
Returns a string representing the object.

Field Details

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 Details

equals

public boolean equals(Object o)
Returns true if this object is equal to the specified object, and false otherwise.
Parameters:
o - the other object.
Returns:
A boolean.

toString

public String toString()
Returns a string representing the object.
Returns:
The string (never null).