| java.lang.Object | |
| ↳ | org.jfree.chart.renderer.LookupPaintScale |
A paint scale that uses a lookup table to associate paint instances with data value ranges.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new paint scale.
| |||||||||||
Creates a new paint scale with the specified default paint.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
This method is deprecated.
Use
add(double, Paint).
| |||||||||||
Adds an entry to the lookup table.
| |||||||||||
Returns a clone of the instance.
| |||||||||||
Tests this instance for equality with an arbitrary object.
| |||||||||||
Returns the default paint (never
null). | |||||||||||
Returns the lower bound.
| |||||||||||
Returns the paint associated with the specified value.
| |||||||||||
Returns the upper bound.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.jfree.chart.renderer.PaintScale
| |||||||||||
Creates a new paint scale.
Creates a new paint scale with the specified default paint.
| lowerBound | the lower bound. |
|---|---|
| upperBound | the upper bound. |
| defaultPaint | the default paint (null not
permitted).
|
This method is deprecated.
Use add(double, Paint).
Adds an entry to the lookup table. Any values from n up
to but not including the next value in the table take on the specified
paint.
| value | the data value (null not permitted). |
|---|---|
| paint | the paint. |
Adds an entry to the lookup table. Any values from n up
to but not including the next value in the table take on the specified
paint.
| value | the data value. |
|---|---|
| paint | the paint. |
Returns a clone of the instance.
| CloneNotSupportedException | if there is a problem cloning the instance. |
|---|
Tests this instance for equality with an arbitrary object.
| obj | the object (null permitted). |
|---|
Returns the paint associated with the specified value.
| value | the value. |
|---|