Package org.jfree.chart.plot
Class SeriesRenderingOrder
java.lang.Object
org.jfree.chart.plot.SeriesRenderingOrder
- All Implemented Interfaces:
Serializable
Defines the tokens that indicate the rendering order for series in a
XYPlot
.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SeriesRenderingOrder
Render series in the order 0, 1, 2, ..., N-1, where N is the number of series.private String
The name.static final SeriesRenderingOrder
Render series in the order N-1, N-2, ..., 2, 1, 0, where N is the number of series.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 series in the order 0, 1, 2, ..., N-1, where N is the number of series. -
REVERSE
Render series in the order N-1, N-2, ..., 2, 1, 0, where N is the number of series. -
name
The name.
-
-
Constructor Details
-
SeriesRenderingOrder
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.
-