org.jfree.chart.plot

Class RainbowPalette

Implemented Interfaces:
Cloneable, Serializable

public class RainbowPalette
extends ColorPalette
implements Serializable

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.

Field Summary

Fields inherited from class org.jfree.chart.plot.ColorPalette

b, g, inverse, log10, logscale, maxZ, minZ, paletteName, r, stepped, tickValues

Constructor Summary

RainbowPalette()
Default constructor.

Method Summary

void
initialize()
Intializes the palettes indexes

Methods inherited from class org.jfree.chart.plot.ColorPalette

clone, equals, getColor, getColor, getColorLinear, getColorLog, getMaxZ, getMinZ, getPaint, getPaletteName, getTickValues, hashCode, initialize, invertPalette, isInverse, isLogscale, isStepped, setInverse, setLogscale, setMaxZ, setMinZ, setPaletteName, setStepped, setTickValues, setTickValues

Constructor Details

RainbowPalette

public RainbowPalette()
Default constructor.

Method Details

initialize

public void initialize()
Intializes the palettes indexes
Overrides:
initialize in interface ColorPalette