org.jfree.chart.renderer
public abstract class AbstractRenderer extends Object implements Cloneable, Serializable
Field Summary | |
---|---|
static Paint | DEFAULT_OUTLINE_PAINT The default outline paint. |
static Stroke | DEFAULT_OUTLINE_STROKE The default outline stroke. |
static Paint | DEFAULT_PAINT The default paint. |
static Shape | DEFAULT_SHAPE The default shape. |
static Stroke | DEFAULT_STROKE The default stroke. |
static Font | DEFAULT_VALUE_LABEL_FONT The default value label font. |
static Paint | DEFAULT_VALUE_LABEL_PAINT The default value label paint. |
static Double | ZERO Zero represented as a Double . |
Constructor Summary | |
---|---|
AbstractRenderer()
Default constructor. |
Method Summary | |
---|---|
void | addChangeListener(RendererChangeListener listener)
Registers an object to receive notification of changes to the renderer.
|
protected Point2D | calculateLabelAnchorPoint(ItemLabelAnchor anchor, double x, double y, PlotOrientation orientation)
Calculates the item label anchor point.
|
protected Object | clone()
Returns an independent copy of the renderer.
|
boolean | equals(Object obj)
Tests this renderer for equality with another object.
|
protected void | fireChangeEvent()
Sends a RendererChangeEvent to all registered listeners.
|
boolean | getAutoPopulateSeriesFillPaint()
Returns the flag that controls whether or not the series fill paint list
is automatically populated when AbstractRenderer is
called.
|
boolean | getAutoPopulateSeriesOutlinePaint()
Returns the flag that controls whether or not the series outline paint
list is automatically populated when
AbstractRenderer is called.
|
boolean | getAutoPopulateSeriesOutlineStroke()
Returns the flag that controls whether or not the series outline stroke
list is automatically populated when
AbstractRenderer is called.
|
boolean | getAutoPopulateSeriesPaint()
Returns the flag that controls whether or not the series paint list is
automatically populated when AbstractRenderer is called.
|
boolean | getAutoPopulateSeriesShape()
Returns the flag that controls whether or not the series shape list is
automatically populated when AbstractRenderer is called.
|
boolean | getAutoPopulateSeriesStroke()
Returns the flag that controls whether or not the series stroke list is
automatically populated when AbstractRenderer is called.
|
boolean | getBaseCreateEntities()
Returns the base visibility for all series.
|
Paint | getBaseFillPaint()
Returns the base fill paint.
|
Font | getBaseItemLabelFont()
Returns the base item label font (this is used when no other font
setting is available).
|
Paint | getBaseItemLabelPaint()
Returns the base item label paint.
|
Boolean | getBaseItemLabelsVisible()
Returns the base setting for item label visibility. |
ItemLabelPosition | getBaseNegativeItemLabelPosition()
Returns the base item label position for negative values.
|
Paint | getBaseOutlinePaint()
Returns the base outline paint.
|
Stroke | getBaseOutlineStroke()
Returns the base outline stroke.
|
Paint | getBasePaint()
Returns the base paint.
|
ItemLabelPosition | getBasePositiveItemLabelPosition()
Returns the base positive item label position.
|
boolean | getBaseSeriesVisible()
Returns the base visibility for all series.
|
boolean | getBaseSeriesVisibleInLegend()
Returns the base visibility in the legend for all series.
|
Shape | getBaseShape()
Returns the base shape.
|
Stroke | getBaseStroke()
Returns the base stroke.
|
Boolean | getCreateEntities()
Returns the flag that controls whether or not chart entities are created
for the items in ALL series. |
abstract DrawingSupplier | getDrawingSupplier()
Returns the drawing supplier from the plot.
|
boolean | getItemCreateEntity(int series, int item)
Returns a boolean that indicates whether or not the specified item
should have a chart entity created for it.
|
Paint | getItemFillPaint(int row, int column)
Returns the paint used to fill data items as they are drawn. |
double | getItemLabelAnchorOffset()
Returns the item label anchor offset.
|
Font | getItemLabelFont(int row, int column)
Returns the font for an item label.
|
Font | getItemLabelFont()
Returns the font used for all item labels. |
Paint | getItemLabelPaint(int row, int column)
Returns the paint used to draw an item label.
|
Paint | getItemLabelPaint()
Returns the paint used for all item labels. |
Paint | getItemOutlinePaint(int row, int column)
Returns the paint used to outline data items as they are drawn.
|
Stroke | getItemOutlineStroke(int row, int column)
Returns the stroke used to outline data items. |
Paint | getItemPaint(int row, int column)
Returns the paint used to fill data items as they are drawn.
|
Shape | getItemShape(int row, int column)
Returns a shape used to represent a data item.
|
Stroke | getItemStroke(int row, int column)
Returns the stroke used to draw data items.
|
boolean | getItemVisible(int series, int item)
Returns a boolean that indicates whether or not the specified item
should be drawn (this is typically used to hide an entire series).
|
ItemLabelPosition | getNegativeItemLabelPosition(int row, int column)
Returns the item label position for negative values. |
ItemLabelPosition | getNegativeItemLabelPosition()
Returns the item label position for negative values in ALL series.
|
ItemLabelPosition | getPositiveItemLabelPosition(int row, int column)
Returns the item label position for positive values.
|
ItemLabelPosition | getPositiveItemLabelPosition()
Returns the item label position for positive values in ALL series.
|
Boolean | getSeriesCreateEntities(int series)
Returns the flag that controls whether entities are created for a
series.
|
Paint | getSeriesFillPaint(int series)
Returns the paint used to fill an item drawn by the renderer.
|
Font | getSeriesItemLabelFont(int series)
Returns the font for all the item labels in a series.
|
Paint | getSeriesItemLabelPaint(int series)
Returns the paint used to draw the item labels for a series.
|
ItemLabelPosition | getSeriesNegativeItemLabelPosition(int series)
Returns the item label position for all negative values in a series.
|
Paint | getSeriesOutlinePaint(int series)
Returns the paint used to outline an item drawn by the renderer.
|
Stroke | getSeriesOutlineStroke(int series)
Returns the stroke used to outline the items in a series.
|
Paint | getSeriesPaint(int series)
Returns the paint used to fill an item drawn by the renderer.
|
ItemLabelPosition | getSeriesPositiveItemLabelPosition(int series)
Returns the item label position for all positive values in a series.
|
Shape | getSeriesShape(int series)
Returns a shape used to represent the items in a series.
|
Stroke | getSeriesStroke(int series)
Returns the stroke used to draw the items in a series.
|
Boolean | getSeriesVisible()
Returns the flag that controls the visibility of ALL series. |
Boolean | getSeriesVisible(int series)
Returns the flag that controls whether a series is visible.
|
Boolean | getSeriesVisibleInLegend()
Returns the flag that controls the visibility of ALL series in the
legend. |
Boolean | getSeriesVisibleInLegend(int series)
Returns the flag that controls whether a series is visible in the
legend. |
int | hashCode()
Returns a hashcode for the renderer.
|
boolean | hasListener(EventListener listener)
Returns true if the specified object is registered with
the dataset as a listener. |
boolean | isItemLabelVisible(int row, int column)
Returns true if an item label is visible, and
false otherwise.
|
boolean | isSeriesItemLabelsVisible(int series)
Returns true if the item labels for a series are visible,
and false otherwise.
|
boolean | isSeriesVisible(int series)
Returns a boolean that indicates whether or not the specified series
should be drawn.
|
boolean | isSeriesVisibleInLegend(int series)
Returns true if the series should be shown in the legend,
and false otherwise.
|
Paint | lookupSeriesFillPaint(int series)
Returns the paint used to fill an item drawn by the renderer.
|
Paint | lookupSeriesOutlinePaint(int series)
Returns the paint used to outline an item drawn by the renderer.
|
Stroke | lookupSeriesOutlineStroke(int series)
Returns the stroke used to outline the items in a series.
|
Paint | lookupSeriesPaint(int series)
Returns the paint used to fill an item drawn by the renderer.
|
Shape | lookupSeriesShape(int series)
Returns a shape used to represent the items in a series.
|
Stroke | lookupSeriesStroke(int series)
Returns the stroke used to draw the items in a series.
|
void | notifyListeners(RendererChangeEvent event)
Notifies all registered listeners that the renderer has been modified.
|
void | removeChangeListener(RendererChangeListener listener)
Deregisters an object so that it no longer receives
notification of changes to the renderer.
|
void | setAutoPopulateSeriesFillPaint(boolean auto)
Sets the flag that controls whether or not the series fill paint list is
automatically populated when AbstractRenderer is
called.
|
void | setAutoPopulateSeriesOutlinePaint(boolean auto)
Sets the flag that controls whether or not the series outline paint list
is automatically populated when AbstractRenderer
is called.
|
void | setAutoPopulateSeriesOutlineStroke(boolean auto)
Sets the flag that controls whether or not the series outline stroke list
is automatically populated when AbstractRenderer
is called.
|
void | setAutoPopulateSeriesPaint(boolean auto)
Sets the flag that controls whether or not the series paint list is
automatically populated when AbstractRenderer is called.
|
void | setAutoPopulateSeriesShape(boolean auto)
Sets the flag that controls whether or not the series shape list is
automatically populated when AbstractRenderer is called.
|
void | setAutoPopulateSeriesStroke(boolean auto)
Sets the flag that controls whether or not the series stroke list is
automatically populated when AbstractRenderer is called.
|
void | setBaseCreateEntities(boolean create)
Sets the base flag that controls whether entities are created
for a series, and sends a RendererChangeEvent
to all registered listeners.
|
void | setBaseCreateEntities(boolean create, boolean notify)
Sets the base flag that controls whether entities are created and,
if requested, sends a RendererChangeEvent to all registered
listeners.
|
void | setBaseFillPaint(Paint paint)
Sets the base fill paint and sends a RendererChangeEvent to
all registered listeners.
|
void | setBaseFillPaint(Paint paint, boolean notify)
Sets the base fill paint and, if requested, sends a
RendererChangeEvent to all registered listeners.
|
void | setBaseItemLabelFont(Font font)
Sets the base item label font and sends a RendererChangeEvent to
all registered listeners.
|
void | setBaseItemLabelFont(Font font, boolean notify)
Sets the base item label font and, if requested, sends a
RendererChangeEvent to all registered listeners.
|
void | setBaseItemLabelPaint(Paint paint)
Sets the base item label paint and sends a RendererChangeEvent
to all registered listeners.
|
void | setBaseItemLabelPaint(Paint paint, boolean notify)
Sets the base item label paint and, if requested, sends a
RendererChangeEvent to all registered listeners..
|
void | setBaseItemLabelsVisible(boolean visible)
Sets the base flag that controls whether or not item labels are visible,
and sends a RendererChangeEvent to all registered listeners.
|
void | setBaseItemLabelsVisible(Boolean visible)
Sets the base setting for item label visibility and sends a
RendererChangeEvent to all registered listeners.
|
void | setBaseItemLabelsVisible(Boolean visible, boolean notify)
Sets the base visibility for item labels and, if requested, sends a
RendererChangeEvent to all registered listeners.
|
void | setBaseNegativeItemLabelPosition(ItemLabelPosition position)
Sets the base item label position for negative values and sends a
RendererChangeEvent to all registered listeners.
|
void | setBaseNegativeItemLabelPosition(ItemLabelPosition position, boolean notify)
Sets the base negative item label position and, if requested, sends a
RendererChangeEvent to all registered listeners.
|
void | setBaseOutlinePaint(Paint paint)
Sets the base outline paint and sends a RendererChangeEvent to
all registered listeners.
|
void | setBaseOutlinePaint(Paint paint, boolean notify)
Sets the base outline paint and, if requested, sends a
RendererChangeEvent to all registered listeners.
|
void | setBaseOutlineStroke(Stroke stroke)
Sets the base outline stroke and sends a RendererChangeEvent to
all registered listeners.
|
void | setBaseOutlineStroke(Stroke stroke, boolean notify)
Sets the base outline stroke and, if requested, sends a
RendererChangeEvent to all registered listeners.
|
void | setBasePaint(Paint paint)
Sets the base paint and sends a RendererChangeEvent to all
registered listeners.
|
void | setBasePaint(Paint paint, boolean notify)
Sets the base paint and, if requested, sends a
RendererChangeEvent to all registered listeners.
|
void | setBasePositiveItemLabelPosition(ItemLabelPosition position)
Sets the base positive item label position.
|
void | setBasePositiveItemLabelPosition(ItemLabelPosition position, boolean notify)
Sets the base positive item label position and, if requested, sends a
RendererChangeEvent to all registered listeners.
|
void | setBaseSeriesVisible(boolean visible)
Sets the base visibility and sends a RendererChangeEvent
to all registered listeners.
|
void | setBaseSeriesVisible(boolean visible, boolean notify)
Sets the base visibility and, if requested, sends
a RendererChangeEvent to all registered listeners.
|
void | setBaseSeriesVisibleInLegend(boolean visible)
Sets the base visibility in the legend and sends a
RendererChangeEvent to all registered listeners.
|
void | setBaseSeriesVisibleInLegend(boolean visible, boolean notify)
Sets the base visibility in the legend and, if requested, sends
a RendererChangeEvent to all registered listeners.
|
void | setBaseShape(Shape shape)
Sets the base shape and sends a RendererChangeEvent to all
registered listeners.
|
void | setBaseShape(Shape shape, boolean notify)
Sets the base shape and, if requested, sends a
RendererChangeEvent to all registered listeners.
|
void | setBaseStroke(Stroke stroke)
Sets the base stroke and sends a RendererChangeEvent to all
registered listeners.
|
void | setBaseStroke(Stroke stroke, boolean notify)
Sets the base stroke and, if requested, sends a
RendererChangeEvent to all registered listeners.
|
void | setCreateEntities(Boolean create)
Sets the flag that controls whether or not chart entities are created
for the items in ALL series, and sends a RendererChangeEvent to
all registered listeners. |
void | setCreateEntities(Boolean create, boolean notify)
Sets the flag that controls whether or not chart entities are created
for the items in ALL series, and sends a RendererChangeEvent to
all registered listeners. |
void | setFillPaint(Paint paint)
Sets the fill paint for ALL series (optional).
|
void | setFillPaint(Paint paint, boolean notify)
Sets the fill paint for ALL series and, if requested, sends a
RendererChangeEvent to all registered listeners.
|
void | setItemLabelAnchorOffset(double offset)
Sets the item label anchor offset.
|
void | setItemLabelFont(Font font)
Sets the item label font for ALL series and sends a
RendererChangeEvent to all registered listeners. |
void | setItemLabelFont(Font font, boolean notify)
Sets the item label font for ALL series and, if requested, sends a
RendererChangeEvent to all registered listeners.
|
void | setItemLabelPaint(Paint paint)
Sets the item label paint for ALL series and sends a
RendererChangeEvent to all registered listeners.
|
void | setItemLabelPaint(Paint paint, boolean notify)
Sets the item label paint for ALL series and, if requested, sends a
RendererChangeEvent to all registered listeners.
|
void | setItemLabelsVisible(boolean visible)
Sets the visibility of the item labels for ALL series.
|
void | setItemLabelsVisible(Boolean visible)
Sets the visibility of the item labels for ALL series (optional).
|
void | setItemLabelsVisible(Boolean visible, boolean notify)
Sets the visibility of item labels for ALL series and, if requested,
sends a RendererChangeEvent to all registered listeners.
|
void | setNegativeItemLabelPosition(ItemLabelPosition position)
Sets the item label position for negative values in ALL series, and
sends a RendererChangeEvent to all registered listeners. |
void | setNegativeItemLabelPosition(ItemLabelPosition position, boolean notify)
Sets the item label position for negative values in ALL series and (if
requested) sends a RendererChangeEvent to all registered
listeners.
|
void | setOutlinePaint(Paint paint)
Sets the outline paint for ALL series (optional) and sends a
RendererChangeEvent to all registered listeners.
|
void | setOutlinePaint(Paint paint, boolean notify)
Sets the outline paint for ALL series and, if requested, sends a
RendererChangeEvent to all registered listeners.
|
void | setOutlineStroke(Stroke stroke)
Sets the outline stroke for ALL series and sends a
RendererChangeEvent to all registered listeners.
|
void | setOutlineStroke(Stroke stroke, boolean notify)
Sets the outline stroke for ALL series and, if requested, sends a
RendererChangeEvent to all registered listeners.
|
void | setPaint(Paint paint)
Sets the paint to be used for ALL series, and sends a
RendererChangeEvent to all registered listeners. |
void | setPaint(Paint paint, boolean notify)
Sets the paint to be used for all series and, if requested, sends a
RendererChangeEvent to all registered listeners.
|
void | setPositiveItemLabelPosition(ItemLabelPosition position)
Sets the item label position for positive values in ALL series, and
sends a RendererChangeEvent to all registered listeners. |
void | setPositiveItemLabelPosition(ItemLabelPosition position, boolean notify)
Sets the positive item label position for ALL series and (if requested)
sends a RendererChangeEvent to all registered listeners.
|
void | setSeriesCreateEntities(int series, Boolean create)
Sets the flag that controls whether entities are created for a series,
and sends a RendererChangeEvent to all registered listeners.
|
void | setSeriesCreateEntities(int series, Boolean create, boolean notify)
Sets the flag that controls whether entities are created for a series
and, if requested, sends a RendererChangeEvent to all registered
listeners.
|
void | setSeriesFillPaint(int series, Paint paint)
Sets the paint used for a series fill and sends a
RendererChangeEvent to all registered listeners.
|
void | setSeriesFillPaint(int series, Paint paint, boolean notify)
Sets the paint used to fill a series and, if requested,
sends a RendererChangeEvent to all registered listeners.
|
void | setSeriesItemLabelFont(int series, Font font)
Sets the item label font for a series and sends a
RendererChangeEvent to all registered listeners.
|
void | setSeriesItemLabelFont(int series, Font font, boolean notify)
Sets the item label font for a series and, if requested, sends a
RendererChangeEvent to all registered listeners.
|
void | setSeriesItemLabelPaint(int series, Paint paint)
Sets the item label paint for a series and sends a
RendererChangeEvent to all registered listeners.
|
void | setSeriesItemLabelPaint(int series, Paint paint, boolean notify)
Sets the item label paint for a series and, if requested, sends a
RendererChangeEvent to all registered listeners.
|
void | setSeriesItemLabelsVisible(int series, boolean visible)
Sets a flag that controls the visibility of the item labels for a series,
and sends a RendererChangeEvent to all registered listeners.
|
void | setSeriesItemLabelsVisible(int series, Boolean visible)
Sets the visibility of the item labels for a series and sends a
RendererChangeEvent to all registered listeners.
|
void | setSeriesItemLabelsVisible(int series, Boolean visible, boolean notify)
Sets the visibility of item labels for a series and, if requested, sends
a RendererChangeEvent to all registered listeners.
|
void | setSeriesNegativeItemLabelPosition(int series, ItemLabelPosition position)
Sets the item label position for negative values in a series and sends a
RendererChangeEvent to all registered listeners.
|
void | setSeriesNegativeItemLabelPosition(int series, ItemLabelPosition position, boolean notify)
Sets the item label position for negative values in a series and (if
requested) sends a RendererChangeEvent to all registered
listeners.
|
void | setSeriesOutlinePaint(int series, Paint paint)
Sets the paint used for a series outline and sends a
RendererChangeEvent to all registered listeners.
|
void | setSeriesOutlinePaint(int series, Paint paint, boolean notify)
Sets the paint used to draw the outline for a series and, if requested,
sends a RendererChangeEvent to all registered listeners.
|
void | setSeriesOutlineStroke(int series, Stroke stroke)
Sets the outline stroke used for a series and sends a
RendererChangeEvent to all registered listeners.
|
void | setSeriesOutlineStroke(int series, Stroke stroke, boolean notify)
Sets the outline stroke for a series and, if requested, sends a
RendererChangeEvent to all registered listeners.
|
void | setSeriesPaint(int series, Paint paint)
Sets the paint used for a series and sends a RendererChangeEvent
to all registered listeners.
|
void | setSeriesPaint(int series, Paint paint, boolean notify)
Sets the paint used for a series and, if requested, sends a
RendererChangeEvent to all registered listeners.
|
void | setSeriesPositiveItemLabelPosition(int series, ItemLabelPosition position)
Sets the item label position for all positive values in a series and
sends a RendererChangeEvent to all registered listeners.
|
void | setSeriesPositiveItemLabelPosition(int series, ItemLabelPosition position, boolean notify)
Sets the item label position for all positive values in a series and (if
requested) sends a RendererChangeEvent to all registered
listeners.
|
void | setSeriesShape(int series, Shape shape)
Sets the shape used for a series and sends a RendererChangeEvent
to all registered listeners.
|
void | setSeriesShape(int series, Shape shape, boolean notify)
Sets the shape for a series and, if requested, sends a
RendererChangeEvent to all registered listeners.
|
void | setSeriesStroke(int series, Stroke stroke)
Sets the stroke used for a series and sends a RendererChangeEvent
to all registered listeners.
|
void | setSeriesStroke(int series, Stroke stroke, boolean notify)
Sets the stroke for a series and, if requested, sends a
RendererChangeEvent to all registered listeners.
|
void | setSeriesVisible(Boolean visible)
Sets the flag that controls the visibility of ALL series and sends a
RendererChangeEvent to all registered listeners. |
void | setSeriesVisible(Boolean visible, boolean notify)
Sets the flag that controls the visibility of ALL series and sends a
RendererChangeEvent to all registered listeners. |
void | setSeriesVisible(int series, Boolean visible)
Sets the flag that controls whether a series is visible and sends a
RendererChangeEvent to all registered listeners.
|
void | setSeriesVisible(int series, Boolean visible, boolean notify)
Sets the flag that controls whether a series is visible and, if
requested, sends a RendererChangeEvent to all registered
listeners.
|
void | setSeriesVisibleInLegend(Boolean visible)
Sets the flag that controls the visibility of ALL series in the legend
and sends a RendererChangeEvent to all registered listeners.
|
void | setSeriesVisibleInLegend(Boolean visible, boolean notify)
Sets the flag that controls the visibility of ALL series in the legend
and sends a RendererChangeEvent to all registered listeners.
|
void | setSeriesVisibleInLegend(int series, Boolean visible)
Sets the flag that controls whether a series is visible in the legend
and sends a RendererChangeEvent to all registered listeners.
|
void | setSeriesVisibleInLegend(int series, Boolean visible, boolean notify)
Sets the flag that controls whether a series is visible in the legend
and, if requested, sends a RendererChangeEvent to all registered
listeners.
|
void | setShape(Shape shape)
Sets the shape for ALL series (optional) and sends a
RendererChangeEvent to all registered listeners.
|
void | setShape(Shape shape, boolean notify)
Sets the shape for ALL series and, if requested, sends a
RendererChangeEvent to all registered listeners.
|
void | setStroke(Stroke stroke)
Sets the stroke for ALL series and sends a RendererChangeEvent
to all registered listeners.
|
void | setStroke(Stroke stroke, boolean notify)
Sets the stroke for ALL series and, if requested, sends a
RendererChangeEvent to all registered listeners.
|
Double
.Parameters: listener the listener (null
not permitted).
See Also: removeChangeListener
Parameters: anchor the anchor. x the x coordinate. y the y coordinate. orientation the plot orientation.
Returns: The anchor point (never null
).
Returns: A clone.
Throws: CloneNotSupportedException if some component of the renderer does not support cloning.
Parameters: obj the object (null
permitted).
Returns: true
or false
.
Since: 1.0.5
Returns: A boolean.
Since: 1.0.6
See Also: AbstractRenderer
Returns: A boolean.
Since: 1.0.6
See Also: AbstractRenderer
Returns: A boolean.
Since: 1.0.6
See Also: AbstractRenderer
Returns: A boolean.
Since: 1.0.6
See Also: AbstractRenderer
Returns: A boolean.
Since: 1.0.6
See Also: AbstractRenderer
Returns: A boolean.
Since: 1.0.6
See Also: AbstractRenderer
Returns: The base visibility.
See Also: AbstractRenderer
Returns: The paint (never null
).
See Also: setBaseFillPaint
Returns: The font (never
null).
See Also: setBaseItemLabelFont
Returns: The paint (never null
).
See Also: setBaseItemLabelPaint
null
result should be interpreted as equivalent to Boolean.FALSE
.
Returns: A flag (possibly null
).
See Also: AbstractRenderer
Returns: The position (never null
).
See Also: setBaseNegativeItemLabelPosition
Returns: The paint (never null
).
See Also: setBaseOutlinePaint
Returns: The stroke (never null
).
See Also: setBaseOutlineStroke
Returns: The base paint (never null
).
See Also: setBasePaint
Returns: The position (never null
).
See Also: setBasePositiveItemLabelPosition
Returns: The base visibility.
See Also: AbstractRenderer
Returns: The base visibility.
See Also: AbstractRenderer
Returns: The shape (never null
).
See Also: setBaseShape
Returns: The base stroke (never null
).
See Also: setBaseStroke
Deprecated: This method should no longer be used (as of version 1.0.6). It is sufficient to rely on AbstractRenderer and getBaseCreateEntities.
Returns the flag that controls whether or not chart entities are created for the items in ALL series. This flag overrides the per series and default settings - you must set it tonull
if you want the
other settings to apply.
Returns: The flag (possibly null
).
Returns: The drawing supplier.
Parameters: series the series index. item the item index.
Returns: A boolean.
Parameters: row the row (or series) index (zero-based). column the column (or category) index (zero-based).
Returns: The paint (never null
).
Returns: The offset.
See Also: AbstractRenderer
Parameters: row the row index (zero-based). column the column index (zero-based).
Returns: The font (never null
).
Deprecated: This method should no longer be used (as of version 1.0.6). It is sufficient to rely on AbstractRenderer and getBaseItemLabelFont.
Returns the font used for all item labels. This may benull
, in which case the per series font settings will apply.
Returns: The font (possibly null
).
Parameters: row the row index (zero based). column the column index (zero based).
Returns: The paint (never null
).
Deprecated: This method should no longer be used (as of version 1.0.6). It is sufficient to rely on AbstractRenderer and getBaseItemLabelPaint.
Returns the paint used for all item labels. This may benull
, in which case the per series paint settings will
apply.
Returns: The paint (possibly null
).
The default implementation passes control to the AbstractRenderer method. You can override this method if you require different behaviour.
Parameters: row the row (or series) index (zero-based). column the column (or category) index (zero-based).
Returns: The paint (never null
).
Parameters: row the row (or series) index (zero-based). column the column (or category) index (zero-based).
Returns: The stroke (never null
).
The default implementation passes control to the
lookupSeriesPaint()
method. You can override this method
if you require different behaviour.
Parameters: row the row (or series) index (zero-based). column the column (or category) index (zero-based).
Returns: The paint (never null
).
The default implementation passes control to the getSeriesShape method. You can override this method if you require different behaviour.
Parameters: row the row (or series) index (zero-based). column the column (or category) index (zero-based).
Returns: The shape (never null
).
The default implementation passes control to the getSeriesStroke method. You can override this method if you require different behaviour.
Parameters: row the row (or series) index (zero-based). column the column (or category) index (zero-based).
Returns: The stroke (never null
).
Parameters: series the series index. item the item index.
Returns: A boolean.
Parameters: row the row index (zero-based). column the column (zero-based).
Returns: The item label position (never null
).
See Also: AbstractRenderer
Deprecated: This method should no longer be used (as of version 1.0.6). It is sufficient to rely on AbstractRenderer and getBaseNegativeItemLabelPosition.
Returns the item label position for negative values in ALL series.Returns: The item label position (possibly null
).
Parameters: row the row index (zero-based). column the column index (zero-based).
Returns: The item label position (never null
).
See Also: AbstractRenderer
Deprecated: This method should no longer be used (as of version 1.0.6). It is sufficient to rely on AbstractRenderer and getBasePositiveItemLabelPosition.
Returns the item label position for positive values in ALL series.Returns: The item label position (possibly null
).
Parameters: series the series index (zero-based).
Returns: The flag (possibly null
).
See Also: AbstractRenderer
Parameters: series the series (zero-based index).
Returns: The paint (never null
).
See Also: AbstractRenderer
Parameters: series the series index (zero-based).
Returns: The font (possibly null
).
See Also: AbstractRenderer
Parameters: series the series index (zero based).
Returns: The paint (possibly null
).
See Also: AbstractRenderer
Parameters: series the series index (zero-based).
Returns: The item label position (never null
).
See Also: AbstractRenderer
Parameters: series the series (zero-based index).
Returns: The paint (possibly null
).
See Also: AbstractRenderer
Parameters: series the series (zero-based index).
Returns: The stroke (possibly null
).
See Also: AbstractRenderer
Parameters: series the series index (zero-based).
Returns: The paint (possibly null
).
See Also: AbstractRenderer
Parameters: series the series index (zero-based).
Returns: The item label position (never null
).
See Also: AbstractRenderer
Parameters: series the series (zero-based index).
Returns: The shape (possibly null
).
See Also: AbstractRenderer
Parameters: series the series (zero-based index).
Returns: The stroke (possibly null
).
See Also: AbstractRenderer
Deprecated: This method should no longer be used (as of version 1.0.6). It is sufficient to rely on AbstractRenderer and getBaseSeriesVisible.
Returns the flag that controls the visibility of ALL series. This flag overrides the per series and default settings - you must set it tonull
if you want the other settings to apply.
Returns: The flag (possibly null
).
Parameters: series the series index (zero-based).
Returns: The flag (possibly null
).
See Also: AbstractRenderer
Deprecated: This method should no longer be used (as of version 1.0.6). It is sufficient to rely on AbstractRenderer and getBaseSeriesVisibleInLegend.
Returns the flag that controls the visibility of ALL series in the legend. This flag overrides the per series and default settings - you must set it tonull
if you want the other settings to
apply.
Returns: The flag (possibly null
).
Parameters: series the series index (zero-based).
Returns: The flag (possibly null
).
See Also: AbstractRenderer
Returns: The hashcode.
true
if the specified object is registered with
the dataset as a listener. Most applications won't need to call this
method, it exists mainly for use by unit testing code.
Parameters: listener the listener.
Returns: A boolean.
true
if an item label is visible, and
false
otherwise.
Parameters: row the row index (zero-based). column the column index (zero-based).
Returns: A boolean.
true
if the item labels for a series are visible,
and false
otherwise.
Parameters: series the series index (zero-based).
Returns: A boolean.
Parameters: series the series index.
Returns: A boolean.
true
if the series should be shown in the legend,
and false
otherwise.
Parameters: series the series index.
Returns: A boolean.
Parameters: series the series (zero-based index).
Returns: The paint (never null
).
Since: 1.0.6
Parameters: series the series (zero-based index).
Returns: The paint (never null
).
Since: 1.0.6
Parameters: series the series (zero-based index).
Returns: The stroke (never null
).
Since: 1.0.6
Parameters: series the series index (zero-based).
Returns: The paint (never null
).
Since: 1.0.6
Parameters: series the series (zero-based index).
Returns: The shape (never null
).
Since: 1.0.6
Parameters: series the series (zero-based index).
Returns: The stroke (never null
).
Since: 1.0.6
Parameters: event information about the change event.
Parameters: listener the object (null
not permitted).
See Also: addChangeListener
Parameters: auto the new flag value.
Since: 1.0.6
See Also: getAutoPopulateSeriesFillPaint
Parameters: auto the new flag value.
Since: 1.0.6
See Also: getAutoPopulateSeriesOutlinePaint
Parameters: auto the new flag value.
Since: 1.0.6
See Also: getAutoPopulateSeriesOutlineStroke
Parameters: auto the new flag value.
Since: 1.0.6
See Also: getAutoPopulateSeriesPaint
Parameters: auto the new flag value.
Since: 1.0.6
See Also: getAutoPopulateSeriesShape
Parameters: auto the new flag value.
Since: 1.0.6
See Also: getAutoPopulateSeriesStroke
Parameters: create the flag.
See Also: getBaseCreateEntities
Parameters: create the visibility. notify notify listeners?
See Also: getBaseCreateEntities
Parameters: paint the paint (null
not permitted).
See Also: getBaseFillPaint
Parameters: paint the paint (null
not permitted). notify notify listeners?
See Also: getBaseFillPaint
Parameters: font the font (null
not permitted).
See Also: getBaseItemLabelFont
Parameters: font the font (null
not permitted). notify a flag that controls whether or not listeners are
notified.
See Also: getBaseItemLabelFont
Parameters: paint the paint (null
not permitted).
See Also: getBaseItemLabelPaint
Parameters: paint the paint (null
not permitted). notify a flag that controls whether or not listeners are
notified.
See Also: getBaseItemLabelPaint
Parameters: visible the flag.
See Also: getBaseItemLabelsVisible
Parameters: visible the flag (null
is permitted, and viewed
as equivalent to Boolean.FALSE
).
Parameters: visible the flag (null
is permitted, and viewed
as equivalent to Boolean.FALSE
). notify a flag that controls whether or not listeners are
notified.
See Also: getBaseItemLabelsVisible
Parameters: position the position (null
not permitted).
See Also: getBaseNegativeItemLabelPosition
Parameters: position the position (null
not permitted). notify notify registered listeners?
See Also: getBaseNegativeItemLabelPosition
Parameters: paint the paint (null
not permitted).
See Also: getBaseOutlinePaint
Parameters: paint the paint (null
not permitted). notify notify listeners?
See Also: getBaseOutlinePaint
Parameters: stroke the stroke (null
not permitted).
See Also: getBaseOutlineStroke
Parameters: stroke the stroke (null
not permitted). notify a flag that controls whether or not listeners are
notified.
See Also: getBaseOutlineStroke
Parameters: paint the paint (null
not permitted).
See Also: getBasePaint
Parameters: paint the paint (null
not permitted). notify notify listeners?
See Also: getBasePaint
Parameters: position the position (null
not permitted).
See Also: getBasePositiveItemLabelPosition
Parameters: position the position (null
not permitted). notify notify registered listeners?
See Also: getBasePositiveItemLabelPosition
Parameters: visible the flag.
See Also: getBaseSeriesVisible
Parameters: visible the visibility. notify notify listeners?
See Also: getBaseSeriesVisible
Parameters: visible the flag.
See Also: getBaseSeriesVisibleInLegend
Parameters: visible the visibility. notify notify listeners?
See Also: getBaseSeriesVisibleInLegend
Parameters: shape the shape (null
not permitted).
See Also: getBaseShape
Parameters: shape the shape (null
not permitted). notify notify listeners?
See Also: getBaseShape
Parameters: stroke the stroke (null
not permitted).
See Also: getBaseStroke
Parameters: stroke the stroke (null
not permitted). notify notify listeners?
See Also: getBaseStroke
Deprecated: This method should no longer be used (as of version 1.0.6). It is sufficient to rely on AbstractRenderer and AbstractRenderer.
Sets the flag that controls whether or not chart entities are created for the items in ALL series, and sends a RendererChangeEvent to all registered listeners. This flag overrides the per series and default settings - you must set it tonull
if you want the
other settings to apply.
Parameters: create the flag (null
permitted).
Deprecated: This method should no longer be used (as of version 1.0.6). It is sufficient to rely on AbstractRenderer and AbstractRenderer.
Sets the flag that controls whether or not chart entities are created for the items in ALL series, and sends a RendererChangeEvent to all registered listeners. This flag overrides the per series and default settings - you must set it tonull
if you want the
other settings to apply.
Parameters: create the flag (null
permitted). notify notify listeners?
Deprecated: This method should no longer be used (as of version 1.0.6). It is sufficient to rely on AbstractRenderer and setBaseFillPaint.
Sets the fill paint for ALL series (optional).Parameters: paint the paint (null
permitted).
Deprecated: This method should no longer be used (as of version 1.0.6). It is sufficient to rely on AbstractRenderer and AbstractRenderer.
Sets the fill paint for ALL series and, if requested, sends a RendererChangeEvent to all registered listeners.Parameters: paint the paint (null
permitted). notify notify listeners?
Parameters: offset the offset.
See Also: getItemLabelAnchorOffset
Deprecated: This method should no longer be used (as of version 1.0.6). It is sufficient to rely on AbstractRenderer and setBaseItemLabelFont.
Sets the item label font for ALL series and sends a RendererChangeEvent to all registered listeners. You can set this tonull
if you prefer to set the font on a per series
basis.
Parameters: font the font (null
permitted).
Deprecated: This method should no longer be used (as of version 1.0.6). It is sufficient to rely on AbstractRenderer and AbstractRenderer.
Sets the item label font for ALL series and, if requested, sends a RendererChangeEvent to all registered listeners.Parameters: font the font (null
permitted). notify a flag that controls whether or not listeners are
notified.
Deprecated: This method should no longer be used (as of version 1.0.6). It is sufficient to rely on AbstractRenderer and setBaseItemLabelPaint.
Sets the item label paint for ALL series and sends a RendererChangeEvent to all registered listeners.Parameters: paint the paint (null
permitted).
Deprecated: This method should no longer be used (as of version 1.0.6). It is sufficient to rely on AbstractRenderer and AbstractRenderer.
Sets the item label paint for ALL series and, if requested, sends a RendererChangeEvent to all registered listeners.Parameters: paint the paint. notify a flag that controls whether or not listeners are notified.
Deprecated: This method should no longer be used (as of version 1.0.6). It is sufficient to rely on AbstractRenderer and AbstractRenderer.
Sets the visibility of the item labels for ALL series.Parameters: visible the flag.
Deprecated: This method should no longer be used (as of version 1.0.6). It is sufficient to rely on AbstractRenderer and AbstractRenderer.
Sets the visibility of the item labels for ALL series (optional).Parameters: visible the flag (null
permitted).
Deprecated: This method should no longer be used (as of version 1.0.6). It is sufficient to rely on AbstractRenderer and AbstractRenderer.
Sets the visibility of item labels for ALL series and, if requested, sends a RendererChangeEvent to all registered listeners.Parameters: visible a flag that controls whether or not the item labels are
visible (null
permitted). notify a flag that controls whether or not listeners are
notified.
Deprecated: This method should no longer be used (as of version 1.0.6). It is sufficient to rely on AbstractRenderer and setBaseNegativeItemLabelPosition.
Sets the item label position for negative values in ALL series, and sends a RendererChangeEvent to all registered listeners. You need to set this tonull
to expose the settings for
individual series.
Parameters: position the position (null
permitted).
Deprecated: This method should no longer be used (as of version 1.0.6). It is sufficient to rely on AbstractRenderer and AbstractRenderer.
Sets the item label position for negative values in ALL series and (if requested) sends a RendererChangeEvent to all registered listeners.Parameters: position the position (null
permitted). notify notify registered listeners?
Deprecated: This method should no longer be used (as of version 1.0.6). It is sufficient to rely on AbstractRenderer and setBaseOutlinePaint.
Sets the outline paint for ALL series (optional) and sends a RendererChangeEvent to all registered listeners.Parameters: paint the paint (null
permitted).
Deprecated: This method should no longer be used (as of version 1.0.6). It is sufficient to rely on AbstractRenderer and AbstractRenderer.
Sets the outline paint for ALL series and, if requested, sends a RendererChangeEvent to all registered listeners.Parameters: paint the paint (null
permitted). notify notify listeners?
Deprecated: This method should no longer be used (as of version 1.0.6). It is sufficient to rely on AbstractRenderer and setBaseOutlineStroke.
Sets the outline stroke for ALL series and sends a RendererChangeEvent to all registered listeners.Parameters: stroke the stroke (null
permitted).
Deprecated: This method should no longer be used (as of version 1.0.6). It is sufficient to rely on AbstractRenderer and AbstractRenderer.
Sets the outline stroke for ALL series and, if requested, sends a RendererChangeEvent to all registered listeners.Parameters: stroke the stroke (null
permitted). notify notify listeners?
Deprecated: This method should no longer be used (as of version 1.0.6). It is sufficient to rely on AbstractRenderer and setBasePaint.
Sets the paint to be used for ALL series, and sends a RendererChangeEvent to all registered listeners. If this isnull
, the renderer will use the paint for the series.
Parameters: paint the paint (null
permitted).
Deprecated: This method should no longer be used (as of version 1.0.6). It is sufficient to rely on AbstractRenderer and AbstractRenderer.
Sets the paint to be used for all series and, if requested, sends a RendererChangeEvent to all registered listeners.Parameters: paint the paint (null
permitted). notify notify listeners?
Deprecated: This method should no longer be used (as of version 1.0.6). It is sufficient to rely on AbstractRenderer and setBasePositiveItemLabelPosition.
Sets the item label position for positive values in ALL series, and sends a RendererChangeEvent to all registered listeners. You need to set this tonull
to expose the settings for
individual series.
Parameters: position the position (null
permitted).
Deprecated: This method should no longer be used (as of version 1.0.6). It is sufficient to rely on AbstractRenderer and AbstractRenderer.
Sets the positive item label position for ALL series and (if requested) sends a RendererChangeEvent to all registered listeners.Parameters: position the position (null
permitted). notify notify registered listeners?
Parameters: series the series index (zero-based). create the flag (null
permitted).
See Also: AbstractRenderer
Parameters: series the series index. create the flag (null
permitted). notify notify listeners?
See Also: AbstractRenderer
Parameters: series the series index (zero-based). paint the paint (null
permitted).
See Also: AbstractRenderer
Parameters: series the series index (zero-based). paint the paint (null
permitted). notify notify listeners?
See Also: AbstractRenderer
Parameters: series the series index (zero-based). font the font (null
permitted).
See Also: AbstractRenderer
Parameters: series the series index (zero based). font the font (null
permitted). notify a flag that controls whether or not listeners are
notified.
See Also: AbstractRenderer
Parameters: series the series (zero based index). paint the paint (null
permitted).
See Also: AbstractRenderer
Parameters: series the series index (zero based). paint the paint (null
permitted). notify a flag that controls whether or not listeners are
notified.
See Also: AbstractRenderer
Parameters: series the series index (zero-based). visible the flag.
Parameters: series the series index (zero-based). visible the flag (null
permitted).
Parameters: series the series index (zero-based). visible the visible flag. notify a flag that controls whether or not listeners are notified.
Parameters: series the series index (zero-based). position the position (null
permitted).
See Also: AbstractRenderer
Parameters: series the series index (zero-based). position the position (null
permitted). notify notify registered listeners?
See Also: AbstractRenderer
Parameters: series the series index (zero-based). paint the paint (null
permitted).
See Also: AbstractRenderer
Parameters: series the series index (zero-based). paint the paint (null
permitted). notify notify listeners?
See Also: AbstractRenderer
Parameters: series the series index (zero-based). stroke the stroke (null
permitted).
See Also: AbstractRenderer
Parameters: series the series index. stroke the stroke (null
permitted). notify notify listeners?
See Also: AbstractRenderer
Parameters: series the series index (zero-based). paint the paint (null
permitted).
See Also: AbstractRenderer
Parameters: series the series index. paint the paint (null
permitted). notify notify listeners?
See Also: AbstractRenderer
Parameters: series the series index (zero-based). position the position (null
permitted).
See Also: AbstractRenderer
Parameters: series the series index (zero-based). position the position (null
permitted). notify notify registered listeners?
See Also: AbstractRenderer
Parameters: series the series index (zero-based). shape the shape (null
permitted).
See Also: AbstractRenderer
Parameters: series the series index (zero based). shape the shape (null
permitted). notify notify listeners?
See Also: AbstractRenderer
Parameters: series the series index (zero-based). stroke the stroke (null
permitted).
See Also: AbstractRenderer
Parameters: series the series index (zero-based). stroke the stroke (null
permitted). notify notify listeners?
See Also: AbstractRenderer
Deprecated: This method should no longer be used (as of version 1.0.6). It is sufficient to rely on AbstractRenderer and AbstractRenderer.
Sets the flag that controls the visibility of ALL series and sends a RendererChangeEvent to all registered listeners. This flag overrides the per series and default settings - you must set it tonull
if you want the other settings to apply.
Parameters: visible the flag (null
permitted).
Deprecated: This method should no longer be used (as of version 1.0.6). It is sufficient to rely on AbstractRenderer and AbstractRenderer.
Sets the flag that controls the visibility of ALL series and sends a RendererChangeEvent to all registered listeners. This flag overrides the per series and default settings - you must set it tonull
if you want the other settings to apply.
Parameters: visible the flag (null
permitted). notify notify listeners?
Parameters: series the series index (zero-based). visible the flag (null
permitted).
See Also: AbstractRenderer
Parameters: series the series index. visible the flag (null
permitted). notify notify listeners?
See Also: AbstractRenderer
Deprecated: This method should no longer be used (as of version 1.0.6). It is sufficient to rely on AbstractRenderer and AbstractRenderer.
Sets the flag that controls the visibility of ALL series in the legend and sends a RendererChangeEvent to all registered listeners. This flag overrides the per series and default settings - you must set it tonull
if you want the other settings to apply.
Parameters: visible the flag (null
permitted).
Deprecated: This method should no longer be used (as of version 1.0.6). It is sufficient to rely on AbstractRenderer and AbstractRenderer.
Sets the flag that controls the visibility of ALL series in the legend and sends a RendererChangeEvent to all registered listeners. This flag overrides the per series and default settings - you must set it tonull
if you want the other settings to apply.
Parameters: visible the flag (null
permitted). notify notify listeners?
Parameters: series the series index (zero-based). visible the flag (null
permitted).
See Also: AbstractRenderer
Parameters: series the series index. visible the flag (null
permitted). notify notify listeners?
See Also: AbstractRenderer
Deprecated: This method should no longer be used (as of version 1.0.6). It is sufficient to rely on AbstractRenderer and setBaseShape.
Sets the shape for ALL series (optional) and sends a RendererChangeEvent to all registered listeners.Parameters: shape the shape (null
permitted).
Deprecated: This method should no longer be used (as of version 1.0.6). It is sufficient to rely on AbstractRenderer and AbstractRenderer.
Sets the shape for ALL series and, if requested, sends a RendererChangeEvent to all registered listeners.Parameters: shape the shape (null
permitted). notify notify listeners?
Deprecated: This method should no longer be used (as of version 1.0.6). It is sufficient to rely on AbstractRenderer and setBaseStroke.
Sets the stroke for ALL series and sends a RendererChangeEvent to all registered listeners.Parameters: stroke the stroke (null
permitted).
Deprecated: This method should no longer be used (as of version 1.0.6). It is sufficient to rely on AbstractRenderer and AbstractRenderer.
Sets the stroke for ALL series and, if requested, sends a RendererChangeEvent to all registered listeners.Parameters: stroke the stroke (null
permitted). notify notify listeners?