Package org.jfree.chart.plot
Interface DrawingSupplier
-
- All Known Implementing Classes:
DefaultDrawingSupplier
public interface DrawingSupplierA 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 java.awt.PaintgetNextFillPaint()Returns the next fill paint in a sequence maintained by the supplier.java.awt.PaintgetNextOutlinePaint()Returns the next outline paint in a sequence maintained by the supplier.java.awt.StrokegetNextOutlineStroke()Returns the nextStrokeobject in a sequence maintained by the supplier.java.awt.PaintgetNextPaint()Returns the next paint in a sequence maintained by the supplier.java.awt.ShapegetNextShape()Returns the nextShapeobject in a sequence maintained by the supplier.java.awt.StrokegetNextStroke()Returns the nextStrokeobject in a sequence maintained by the supplier.
-
-
-
Method Detail
-
getNextPaint
java.awt.Paint getNextPaint()
Returns the next paint in a sequence maintained by the supplier.- Returns:
- The paint.
-
getNextOutlinePaint
java.awt.Paint getNextOutlinePaint()
Returns the next outline paint in a sequence maintained by the supplier.- Returns:
- The paint.
-
getNextFillPaint
java.awt.Paint getNextFillPaint()
Returns the next fill paint in a sequence maintained by the supplier.- Returns:
- The paint.
-
getNextStroke
java.awt.Stroke getNextStroke()
Returns the nextStrokeobject in a sequence maintained by the supplier.- Returns:
- The stroke.
-
getNextOutlineStroke
java.awt.Stroke getNextOutlineStroke()
Returns the nextStrokeobject in a sequence maintained by the supplier.- Returns:
- The stroke.
-
getNextShape
java.awt.Shape getNextShape()
Returns the nextShapeobject in a sequence maintained by the supplier.- Returns:
- The shape.
-
-