net.simplace.util.jfreechart.style.ColorPaintScale
A paint scale that returns shades of gray.
public class ColorPaintScale implements org.jfree.chart.renderer.PaintScale,
org.jfree.util.PublicCloneable, java.io.Serializable {
// Public Constructors
public ColorPaintScale(Color lowerBoundColor, double lowerBound, Color
upperBoundColor, double upperBound);
// Public Instance Methods public double getLowerBound(); // From org.jfree.chart.renderer.PaintScale
Returns the lower bound.
returns The lower bound.
public double getUpperBound(); // From org.jfree.chart.renderer.PaintScale
Returns the upper bound.
returns The upper bound.
public Paint
getPaint(double value);
// From
org.jfree.chart.renderer.PaintScale
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 paint for the specified value.
public boolean
equals(Object obj);
// Overrides java.lang.Object
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 A boolean.
public Object clone() throws CloneNotSupportedException; // Overrides
java.lang.Object
Returns a clone of this GrayPaintScale
instance.
returns A clone.
}