Package org.jfree.chart.plot
Class DatasetRenderingOrder
java.lang.Object
org.jfree.chart.plot.DatasetRenderingOrder
- All Implemented Interfaces:
Serializable
Defines the tokens that indicate the rendering order for datasets in a
CategoryPlot
or an
XYPlot
.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DatasetRenderingOrder
Render datasets in the order 0, 1, 2, ..., N-1, where N is the number of datasets.private final String
The name.static final DatasetRenderingOrder
Render datasets in the order N-1, N-2, ..., 2, 1, 0, where N is the number of datasets.private static final long
For serialization. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returnstrue
if this object is equal to the specified object, andfalse
otherwise.int
hashCode()
Returns a hash code for this instance.private Object
Ensures that serialization returns the unique instances.toString()
Returns a string representing the object.
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDFor serialization.- See Also:
-
FORWARD
Render datasets in the order 0, 1, 2, ..., N-1, where N is the number of datasets. -
REVERSE
Render datasets in the order N-1, N-2, ..., 2, 1, 0, where N is the number of datasets. -
name
The name.
-
-
Constructor Details
-
DatasetRenderingOrder
Private constructor.- Parameters:
name
- the name.
-
-
Method Details
-
toString
Returns a string representing the object. -
equals
Returnstrue
if this object is equal to the specified object, andfalse
otherwise. -
hashCode
public int hashCode()Returns a hash code for this instance. -
readResolve
Ensures that serialization returns the unique instances.- Returns:
- The object.
- Throws:
ObjectStreamException
- if there is a problem.
-