java.lang.Object | |
↳ | org.jfree.chart.axis.ColorBar |
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
.
A color bar.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | DEFAULT_COLORBAR_THICKNESS | The default color bar thickness. | |||||||||
double | DEFAULT_COLORBAR_THICKNESS_PERCENT | The default color bar thickness percentage. | |||||||||
int | DEFAULT_OUTERGAP | The default outer gap. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a horizontal colorbar axis, using default values where
necessary.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Rescales the axis to ensure that all data are visible.
| |||||||||||
Returns a clone of the object.
| |||||||||||
Configures the color bar.
| |||||||||||
Draws the plot on a Java 2D graphics device (such as the screen or a
printer).
| |||||||||||
Draws the plot on a Java 2D graphics device (such as the screen or a
printer).
| |||||||||||
Tests this object for equality with another.
| |||||||||||
Returns the axis.
| |||||||||||
Returns the color palette.
| |||||||||||
Returns the Paint associated with a value.
| |||||||||||
Returns a hash code for this object.
| |||||||||||
Reserves the space required to draw the color bar.
| |||||||||||
Sets the axis.
| |||||||||||
Sets the color palette.
| |||||||||||
Sets the maximum value.
| |||||||||||
Sets the minimum value.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
The default color bar thickness.
The default color bar thickness percentage.
The default outer gap.
Constructs a horizontal colorbar axis, using default values where necessary.
label | the axis label. |
---|
Rescales the axis to ensure that all data are visible.
Returns a clone of the object.
CloneNotSupportedException | if some component of the color bar does not support cloning. |
---|
Draws the plot on a Java 2D graphics device (such as the screen or a printer).
g2 | the graphics device. |
---|---|
cursor | the cursor. |
plotArea | the area within which the chart should be drawn. |
dataArea | the area within which the plot should be drawn (a subset of the drawArea). |
reservedArea | the reserved area. |
edge | the color bar location. |
Draws the plot on a Java 2D graphics device (such as the screen or a printer).
g2 | the graphics device. |
---|---|
colorBarArea | the area within which the axis should be drawn. |
edge | the location. |
Tests this object for equality with another.
obj | the object to test against. |
---|
Returns the Paint associated with a value.
value | the value. |
---|
Returns a hash code for this object.
Reserves the space required to draw the color bar.
g2 | the graphics device. |
---|---|
plot | the plot that the axis belongs to. |
plotArea | the area within which the plot should be drawn. |
dataArea | the data area. |
edge | the axis location. |
space | the space already reserved. |
Sets the color palette.
palette | the new palette. |
---|
Sets the maximum value.
value | the maximum value. |
---|
Sets the minimum value.
value | the minimum value. |
---|