Class DatasetRenderingOrder

java.lang.Object
org.jfree.chart.plot.DatasetRenderingOrder
All Implemented Interfaces:
Serializable

public final class DatasetRenderingOrder extends Object implements Serializable
Defines the tokens that indicate the rendering order for datasets in a CategoryPlot or an XYPlot.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    Render datasets in the order 0, 1, 2, ..., N-1, where N is the number of datasets.
    Render datasets in the order N-1, N-2, ..., 2, 1, 0, where N is the number of datasets.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns true if this object is equal to the specified object, and false otherwise.
    int
    Returns a hash code for this instance.
    Returns a string representing the object.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • 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

    • toString

      public String toString()
      Returns a string representing the object.
      Overrides:
      toString in class Object
      Returns:
      The string (never null).
    • equals

      public boolean equals(Object obj)
      Returns true if this object is equal to the specified object, and false otherwise.
      Overrides:
      equals in class Object
      Parameters:
      obj - the object (null permitted).
      Returns:
      A boolean.
    • hashCode

      public int hashCode()
      Returns a hash code for this instance.
      Overrides:
      hashCode in class Object
      Returns:
      A hash code.