java.lang.Object | |
↳ | org.jfree.chart.plot.ColorPalette |
Known Direct Subclasses |
This class is 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
.
Defines palette used by ContourPlot
.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
b | Blue components. | ||||||||||
g | Green components. | ||||||||||
inverse | Inverse palette (ie, min and max colors are reversed). | ||||||||||
log10 | Constant for converting loge to log10. | ||||||||||
logscale | Logscale? | ||||||||||
maxZ | The max z-axis value. | ||||||||||
minZ | The min z-axis value. | ||||||||||
paletteName | The palette name. | ||||||||||
r | Red components. | ||||||||||
stepped | Controls whether palette colors are stepped (not continuous). | ||||||||||
tickValues | Tick values are stored for use with stepped palette. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Default contructor.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns a clone of the palette.
| |||||||||||
Tests an object for equality with this instance.
| |||||||||||
Returns the color associated with a value.
| |||||||||||
Returns a color.
| |||||||||||
Returns Color by mapping a given value to a linear palette.
| |||||||||||
Returns Color by mapping a given value to a common log palette.
| |||||||||||
Returns the maximum Z value.
| |||||||||||
Returns the minimum Z value.
| |||||||||||
Returns Paint by mapping a given value to a either a linear or common
log palette as controlled by the value logscale.
| |||||||||||
Returns the palette name.
| |||||||||||
Returns the tick values.
| |||||||||||
Returns a hash code.
| |||||||||||
Called to initialize the palette's color indexes
| |||||||||||
Inverts Palette
| |||||||||||
Returns the inverse flag.
| |||||||||||
Returns the log-scale flag.
| |||||||||||
Returns the 'is-stepped' flag.
| |||||||||||
Sets the inverse flag.
| |||||||||||
Sets the 'log-scale' flag.
| |||||||||||
Sets the maximum Z value.
| |||||||||||
Sets the minimum Z value.
| |||||||||||
Sets the palette name.
| |||||||||||
Sets the stepped flag.
| |||||||||||
Sets the tick values.
| |||||||||||
Store ticks.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Blue components.
Green components.
Inverse palette (ie, min and max colors are reversed).
Constant for converting loge to log10.
Logscale?
The max z-axis value.
The min z-axis value.
Red components.
Controls whether palette colors are stepped (not continuous).
Tick values are stored for use with stepped palette.
Default contructor.
Tests an object for equality with this instance.
o | the object to test. |
---|
Returns the color associated with a value.
value | the value. |
---|
Returns a color.
izV | the index into the palette (zero based). |
---|
Returns Color by mapping a given value to a linear palette.
value | the value. |
---|
Returns Color by mapping a given value to a common log palette.
value | the value. |
---|
Returns the maximum Z value.
Returns the minimum Z value.
Returns Paint by mapping a given value to a either a linear or common log palette as controlled by the value logscale.
value | the value. |
---|
Returns the tick values.
Returns a hash code.
Called to initialize the palette's color indexes
Inverts Palette
Returns the inverse flag.
Returns the log-scale flag.
Returns the 'is-stepped' flag.
Sets the inverse flag.
inverse | the new value. |
---|
Sets the 'log-scale' flag.
logscale | the new value. |
---|
Sets the maximum Z value.
newMaxZ | the new value. |
---|
Sets the minimum Z value.
newMinZ | the new value. |
---|
Sets the palette name.
paletteName | the name. |
---|
Sets the stepped flag.
stepped | the flag. |
---|
Sets the tick values.
newTickValues | the tick values. |
---|
Store ticks. Required when doing stepped axis
ticks | the ticks. |
---|