Package org.jfree.chart.ui
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 Summary
Constructors Constructor Description RainbowPalette()
Default constructor. -
Method Summary
Modifier and Type Method Description void
initialize()
Intializes the palettes indexesMethods inherited from class org.jfree.chart.ui.ColorPalette
clone, equals, getColor, getColor, getColorLinear, getColorLog, getMaxZ, getMinZ, getPaint, getPaletteName, getTickValues, hashCode, 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- Specified by:
initialize
in classColorPalette
-