org.jfree.chart.renderer
public class GrayPaintScale extends Object implements PaintScale, PublicCloneable, Serializable
Since: 1.0.4
Constructor Summary | |
---|---|
GrayPaintScale()
Creates a new GrayPaintScale instance with default values. | |
GrayPaintScale(double lowerBound, double upperBound)
Creates a new paint scale for values in the specified range.
|
Method Summary | |
---|---|
Object | clone()
Returns a clone of this GrayPaintScale instance.
|
boolean | equals(Object obj)
Tests this GrayPaintScale instance for equality with an
arbitrary object. |
double | getLowerBound()
Returns the lower bound.
|
Paint | getPaint(double value)
Returns a paint for the specified value.
|
double | getUpperBound()
Returns the upper bound.
|
GrayPaintScale
instance with default values.Parameters: lowerBound the lower bound. upperBound the upper bound.
GrayPaintScale
instance.
Returns: A clone.
Throws: CloneNotSupportedException if there is a problem cloning this instance.
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
;Parameters: obj the object (null
permitted).
Returns: A boolean.
Returns: The lower bound.
Parameters: value the value.
Returns: A paint for the specified value.
Returns: The upper bound.