org.jfree.chart.plot
Class DefaultDrawingSupplier
java.lang.Object
org.jfree.chart.plot.DefaultDrawingSupplier
- Cloneable, DrawingSupplier, PublicCloneable, Serializable
A default implementation of the
DrawingSupplier
interface. All
Plot
instances have a new instance of this class installed by
default.
DefaultDrawingSupplier() - Creates a new supplier, with default sequences for fill paint, outline
paint, stroke and shapes.
|
DefaultDrawingSupplier(Paint[] paintSequence, Paint[] outlinePaintSequence, Stroke[] strokeSequence, Stroke[] outlineStrokeSequence, Shape[] shapeSequence) - Creates a new supplier.
|
Object | clone() - Returns a clone.
|
static Shape[] | createStandardSeriesShapes() - Creates an array of standard shapes to display for the items in series
on charts.
|
boolean | equals(Object obj) - Tests this object for equality with another object.
|
Paint | getNextOutlinePaint() - Returns the next outline paint in the sequence.
|
Stroke | getNextOutlineStroke() - Returns the next outline stroke in the sequence.
|
Paint | getNextPaint() - Returns the next paint in the sequence.
|
Shape | getNextShape() - Returns the next shape in the sequence.
|
Stroke | getNextStroke() - Returns the next stroke in the sequence.
|
DefaultDrawingSupplier
public DefaultDrawingSupplier()
Creates a new supplier, with default sequences for fill paint, outline
paint, stroke and shapes.
DefaultDrawingSupplier
public DefaultDrawingSupplier(Paint[] paintSequence,
Paint[] outlinePaintSequence,
Stroke[] strokeSequence,
Stroke[] outlineStrokeSequence,
Shape[] shapeSequence)
Creates a new supplier.
paintSequence
- the fill paint sequence.outlinePaintSequence
- the outline paint sequence.strokeSequence
- the stroke sequence.outlineStrokeSequence
- the outline stroke sequence.shapeSequence
- the shape sequence.
clone
public Object clone()
throws CloneNotSupportedException
Returns a clone.
createStandardSeriesShapes
public static Shape[] createStandardSeriesShapes()
Creates an array of standard shapes to display for the items in series
on charts.
equals
public boolean equals(Object obj)
Tests this object for equality with another object.
obj
- the object (null
permitted).