-
- All Known Implementing Classes:
DefaultDrawingSupplier
public interface DrawingSupplier
A supplier ofPaint,StrokeandShapeobjects 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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 nextStrokeobject in a sequence maintained by the supplier.PaintgetNextPaint()Returns the next paint in a sequence maintained by the supplier.ShapegetNextShape()Returns the nextShapeobject in a sequence maintained by the supplier.StrokegetNextStroke()Returns the nextStrokeobject in a sequence maintained by the supplier.
-
-
-
Method Detail
-
getNextPaint
Paint getNextPaint()
Returns the next paint in a sequence maintained by the supplier.- Returns:
- The paint (never
null).
-
getNextOutlinePaint
Paint getNextOutlinePaint()
Returns the next outline paint in a sequence maintained by the supplier.- Returns:
- The paint (never
null).
-
getNextFillPaint
Paint getNextFillPaint()
Returns the next fill paint in a sequence maintained by the supplier.- Returns:
- The paint (never
null).
-
getNextStroke
Stroke getNextStroke()
Returns the nextStrokeobject in a sequence maintained by the supplier.- Returns:
- The stroke (never
null).
-
getNextOutlineStroke
Stroke getNextOutlineStroke()
Returns the nextStrokeobject in a sequence maintained by the supplier.- Returns:
- The stroke (never
null).
-
getNextShape
Shape getNextShape()
Returns the nextShapeobject in a sequence maintained by the supplier.- Returns:
- The shape (never
null).
-
-