org.jfree.chart.plot

Interface DrawingSupplier

public interface DrawingSupplier

A supplier of Paint, Stroke and Shape objects for use by plots and renderers. By providing a central place for obtaining these items, we can ensure that duplication is avoided.

To support the cloning of charts, classes that implement this interface should also implement PublicCloneable.

Method Summary
PaintgetNextFillPaint()
Returns the next fill paint in a sequence maintained by the supplier.
PaintgetNextOutlinePaint()
Returns the next outline paint in a sequence maintained by the supplier.
StrokegetNextOutlineStroke()
Returns the next Stroke object in a sequence maintained by the supplier.
PaintgetNextPaint()
Returns the next paint in a sequence maintained by the supplier.
ShapegetNextShape()
Returns the next Shape object in a sequence maintained by the supplier.
StrokegetNextStroke()
Returns the next Stroke object in a sequence maintained by the supplier.

Method Detail

getNextFillPaint

public Paint getNextFillPaint()
Returns the next fill paint in a sequence maintained by the supplier.

Returns: The paint.

Since: 1.0.6

getNextOutlinePaint

public Paint getNextOutlinePaint()
Returns the next outline paint in a sequence maintained by the supplier.

Returns: The paint.

getNextOutlineStroke

public Stroke getNextOutlineStroke()
Returns the next Stroke object in a sequence maintained by the supplier.

Returns: The stroke.

getNextPaint

public Paint getNextPaint()
Returns the next paint in a sequence maintained by the supplier.

Returns: The paint.

getNextShape

public Shape getNextShape()
Returns the next Shape object in a sequence maintained by the supplier.

Returns: The shape.

getNextStroke

public Stroke getNextStroke()
Returns the next Stroke object in a sequence maintained by the supplier.

Returns: The stroke.

Copyright © 2000-2009 by Object Refinery Limited. All Rights Reserved.