Class RainbowPalette

java.lang.Object
org.jfree.chart.plot.ColorPalette
org.jfree.chart.plot.RainbowPalette
All Implemented Interfaces:
Serializable, Cloneable

public class RainbowPalette extends ColorPalette implements Serializable
Deprecated.
This class is no longer supported (as of version 1.0.4). If you are creating contour plots, please try to use XYPlot and XYBlockRenderer.
Contains the data to construct an 8-bit rainbow palette This come from an old application which ran on 8-bit graphics device. Thus indexes 0 and 1 were preserved for rendering white and black respectively.
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      Deprecated.
      For serialization.
      See Also:
    • red

      private int[] red
      Deprecated.
      The red values.
    • green

      private int[] green
      Deprecated.
      The green values.
    • blue

      private int[] blue
      Deprecated.
      The blue values.
  • Constructor Details

    • RainbowPalette

      public RainbowPalette()
      Deprecated.
      Default constructor.
  • Method Details

    • initialize

      public void initialize()
      Deprecated.
      Intializes the palettes indexes
      Specified by:
      initialize in class ColorPalette