org.jfree.chart.renderer

Interface PaintScale

public interface PaintScale

A source for 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.

Since: 1.0.4

Method Summary
doublegetLowerBound()
Returns the lower bound for the scale.
PaintgetPaint(double value)
Returns a Paint instance for the specified value.
doublegetUpperBound()
Returns the upper bound for the scale.

Method Detail

getLowerBound

public double getLowerBound()
Returns the lower bound for the scale.

Returns: The lower bound.

See Also: getUpperBound

getPaint

public Paint getPaint(double value)
Returns a Paint instance for the specified value.

Parameters: value the value.

Returns: A Paint instance (never null).

getUpperBound

public double getUpperBound()
Returns the upper bound for the scale.

Returns: The upper bound.

See Also: getLowerBound