| java.lang.Object | |
| ↳ | org.jfree.chart.renderer.GrayPaintScale |
A paint scale that returns shades of gray.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new
GrayPaintScale instance with default values. | |||||||||||
Creates a new paint scale for values in the specified range.
| |||||||||||
Creates a new paint scale for values in the specified range.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns a clone of this
GrayPaintScale instance. | |||||||||||
Tests this
GrayPaintScale instance for equality with an
arbitrary object. | |||||||||||
Returns the alpha transparency that was specified in the constructor.
| |||||||||||
Returns the lower bound.
| |||||||||||
Returns a paint for the specified value.
| |||||||||||
Returns the upper bound.
| |||||||||||
Returns a hash code for this instance.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.jfree.chart.renderer.PaintScale
| |||||||||||
Creates a new GrayPaintScale instance with default values.
Creates a new paint scale for values in the specified range.
| lowerBound | the lower bound. |
|---|---|
| upperBound | the upper bound. |
| IllegalArgumentException | if lowerBound is not
less than upperBound.
|
|---|
Creates a new paint scale for values in the specified range.
| lowerBound | the lower bound. |
|---|---|
| upperBound | the upper bound. |
| alpha | the alpha transparency (0-255). |
| IllegalArgumentException | if lowerBound is not
less than upperBound, or alpha is not in
the range 0 to 255. |
|---|
Returns a clone of this GrayPaintScale instance.
| CloneNotSupportedException | if there is a problem cloning this instance. |
|---|
Tests this GrayPaintScale instance for equality with an
arbitrary object. This method returns true if and only
if:
obj is not null;obj is an instance of GrayPaintScale;| obj | the object (null permitted). |
|---|
Returns the alpha transparency that was specified in the constructor.
Returns a paint for the specified value.
| value | the value (must be within the range specified by the lower and upper bounds for the scale). |
|---|
Returns a hash code for this instance.