|
Header
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jfree.chart.plot.DefaultDrawingSupplier
public class DefaultDrawingSupplier
A default implementation of the DrawingSupplier interface. All
Plot instances have a new instance of this class installed by
default.
| Field Summary | |
|---|---|
static java.awt.Paint[] |
DEFAULT_FILL_PAINT_SEQUENCE
The default fill paint sequence. |
static java.awt.Paint[] |
DEFAULT_OUTLINE_PAINT_SEQUENCE
The default outline paint sequence. |
static java.awt.Stroke[] |
DEFAULT_OUTLINE_STROKE_SEQUENCE
The default outline stroke sequence. |
static java.awt.Paint[] |
DEFAULT_PAINT_SEQUENCE
The default fill paint sequence. |
static java.awt.Shape[] |
DEFAULT_SHAPE_SEQUENCE
The default shape sequence. |
static java.awt.Stroke[] |
DEFAULT_STROKE_SEQUENCE
The default stroke sequence. |
| Constructor Summary | |
|---|---|
DefaultDrawingSupplier()
Creates a new supplier, with default sequences for fill paint, outline paint, stroke and shapes. |
|
DefaultDrawingSupplier(java.awt.Paint[] paintSequence,
java.awt.Paint[] fillPaintSequence,
java.awt.Paint[] outlinePaintSequence,
java.awt.Stroke[] strokeSequence,
java.awt.Stroke[] outlineStrokeSequence,
java.awt.Shape[] shapeSequence)
Creates a new supplier. |
|
DefaultDrawingSupplier(java.awt.Paint[] paintSequence,
java.awt.Paint[] outlinePaintSequence,
java.awt.Stroke[] strokeSequence,
java.awt.Stroke[] outlineStrokeSequence,
java.awt.Shape[] shapeSequence)
Creates a new supplier. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Returns a clone. |
static java.awt.Shape[] |
createStandardSeriesShapes()
Creates an array of standard shapes to display for the items in series on charts. |
boolean |
equals(java.lang.Object obj)
Tests this object for equality with another object. |
java.awt.Paint |
getNextFillPaint()
Returns the next fill paint in the sequence. |
java.awt.Paint |
getNextOutlinePaint()
Returns the next outline paint in the sequence. |
java.awt.Stroke |
getNextOutlineStroke()
Returns the next outline stroke in the sequence. |
java.awt.Paint |
getNextPaint()
Returns the next paint in the sequence. |
java.awt.Shape |
getNextShape()
Returns the next shape in the sequence. |
java.awt.Stroke |
getNextStroke()
Returns the next stroke in the sequence. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.awt.Paint[] DEFAULT_PAINT_SEQUENCE
public static final java.awt.Paint[] DEFAULT_OUTLINE_PAINT_SEQUENCE
public static final java.awt.Paint[] DEFAULT_FILL_PAINT_SEQUENCE
public static final java.awt.Stroke[] DEFAULT_STROKE_SEQUENCE
public static final java.awt.Stroke[] DEFAULT_OUTLINE_STROKE_SEQUENCE
public static final java.awt.Shape[] DEFAULT_SHAPE_SEQUENCE
| Constructor Detail |
|---|
public DefaultDrawingSupplier()
public DefaultDrawingSupplier(java.awt.Paint[] paintSequence,
java.awt.Paint[] outlinePaintSequence,
java.awt.Stroke[] strokeSequence,
java.awt.Stroke[] outlineStrokeSequence,
java.awt.Shape[] shapeSequence)
paintSequence - the fill paint sequence.outlinePaintSequence - the outline paint sequence.strokeSequence - the stroke sequence.outlineStrokeSequence - the outline stroke sequence.shapeSequence - the shape sequence.
public DefaultDrawingSupplier(java.awt.Paint[] paintSequence,
java.awt.Paint[] fillPaintSequence,
java.awt.Paint[] outlinePaintSequence,
java.awt.Stroke[] strokeSequence,
java.awt.Stroke[] outlineStrokeSequence,
java.awt.Shape[] shapeSequence)
paintSequence - the paint sequence.fillPaintSequence - the fill paint sequence.outlinePaintSequence - the outline paint sequence.strokeSequence - the stroke sequence.outlineStrokeSequence - the outline stroke sequence.shapeSequence - the shape sequence.| Method Detail |
|---|
public java.awt.Paint getNextPaint()
getNextPaint in interface DrawingSupplierpublic java.awt.Paint getNextOutlinePaint()
getNextOutlinePaint in interface DrawingSupplierpublic java.awt.Paint getNextFillPaint()
getNextFillPaint in interface DrawingSupplierpublic java.awt.Stroke getNextStroke()
getNextStroke in interface DrawingSupplierpublic java.awt.Stroke getNextOutlineStroke()
getNextOutlineStroke in interface DrawingSupplierpublic java.awt.Shape getNextShape()
getNextShape in interface DrawingSupplierpublic static java.awt.Shape[] createStandardSeriesShapes()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the object (null permitted).
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in interface org.jfree.util.PublicCloneableclone in class java.lang.Objectjava.lang.CloneNotSupportedException - if a component of the supplier does
not support cloning.
|
Footer
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||