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