Package org.jfree.chart.renderer
Interface PaintScale
- All Known Implementing Classes:
GrayPaintScale,LookupPaintScale
public interface PaintScale
A source for
NOTE: Classes that implement this interface should also implement
Paint instances, used by the
XYBlockRenderer.
NOTE: Classes that implement this interface should also implement
PublicCloneable and Serializable, so
that any renderer (or other object instance) that references an instance of
this interface can still be cloned or serialized.-
Method Summary
Modifier and TypeMethodDescriptiondoubleReturns the lower bound for the scale.getPaint(double value) Returns aPaintinstance for the specified value.doubleReturns the upper bound for the scale.
-
Method Details
-
getLowerBound
double getLowerBound()Returns the lower bound for the scale.- Returns:
- The lower bound.
- See Also:
-
getUpperBound
double getUpperBound()Returns the upper bound for the scale.- Returns:
- The upper bound.
- See Also:
-
getPaint
Returns aPaintinstance for the specified value.- Parameters:
value- the value.- Returns:
- A
Paintinstance (nevernull).
-