Package org.jfree.chart.plot
Class SeriesRenderingOrder
- java.lang.Object
-
- org.jfree.chart.plot.SeriesRenderingOrder
-
- All Implemented Interfaces:
java.io.Serializable
public final class SeriesRenderingOrder extends java.lang.Object implements java.io.SerializableDefines the tokens that indicate the rendering order for series in aXYPlot.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static SeriesRenderingOrderFORWARDRender series in the order 0, 1, 2, ..., N-1, where N is the number of series.private java.lang.StringnameThe name.static SeriesRenderingOrderREVERSERender series in the order N-1, N-2, ..., 2, 1, 0, where N is the number of series.private static longserialVersionUIDFor serialization.
-
Constructor Summary
Constructors Modifier Constructor Description privateSeriesRenderingOrder(java.lang.String name)Private constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)Returnstrueif this object is equal to the specified object, andfalseotherwise.inthashCode()Returns a hash code for this instance.private java.lang.ObjectreadResolve()Ensures that serialization returns the unique instances.java.lang.StringtoString()Returns a string representing the object.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
For serialization.- See Also:
- Constant Field Values
-
FORWARD
public static final SeriesRenderingOrder FORWARD
Render series in the order 0, 1, 2, ..., N-1, where N is the number of series.
-
REVERSE
public static final SeriesRenderingOrder REVERSE
Render series in the order N-1, N-2, ..., 2, 1, 0, where N is the number of series.
-
name
private java.lang.String name
The name.
-
-
Method Detail
-
toString
public java.lang.String toString()
Returns a string representing the object.- Overrides:
toStringin classjava.lang.Object- Returns:
- The string (never
null).
-
equals
public boolean equals(java.lang.Object obj)
Returnstrueif this object is equal to the specified object, andfalseotherwise.- Overrides:
equalsin classjava.lang.Object- Parameters:
obj- the object (nullpermitted).- Returns:
- A boolean.
-
hashCode
public int hashCode()
Returns a hash code for this instance.- Overrides:
hashCodein classjava.lang.Object- Returns:
- A hash code.
-
readResolve
private java.lang.Object readResolve() throws java.io.ObjectStreamExceptionEnsures that serialization returns the unique instances.- Returns:
- The object.
- Throws:
java.io.ObjectStreamException- if there is a problem.
-
-