Class RainbowPalette

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

public class RainbowPalette
extends ColorPalette
implements Serializable
Contains the data to constuct 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.
Author:
David M. O'Donnell
See Also:
Serialized Form
  • Constructor Details

    • RainbowPalette

      public RainbowPalette()
      Default constructor.
  • Method Details

    • initialize

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