void
|
addChangeListener(RendererChangeListener listener)
Registers an object to receive notification of changes to the renderer.
|
Point2D
|
calculateLabelAnchorPoint(ItemLabelAnchor anchor, double x, double y, PlotOrientation orientation)
Calculates the item label anchor point.
|
void
|
clearSeriesPaints(boolean notify)
Clears the series paint settings for this renderer and, if requested,
sends a RendererChangeEvent to all registered listeners.
|
void
|
clearSeriesStrokes(boolean notify)
Clears the series stroke settings for this renderer and, if requested,
sends a RendererChangeEvent to all registered listeners.
|
Object
|
clone()
Returns an independent copy of the renderer.
|
boolean
|
equals(Object obj)
Tests this renderer for equality with another object.
|
void
|
fireChangeEvent()
|
boolean
|
getAutoPopulateSeriesFillPaint()
Returns the flag that controls whether or not the series fill paint list
is automatically populated when lookupSeriesFillPaint(int) is
called.
|
boolean
|
getAutoPopulateSeriesOutlinePaint()
Returns the flag that controls whether or not the series outline paint
list is automatically populated when
lookupSeriesOutlinePaint(int) is called.
|
boolean
|
getAutoPopulateSeriesOutlineStroke()
Returns the flag that controls whether or not the series outline stroke
list is automatically populated when
lookupSeriesOutlineStroke(int) is called.
|
boolean
|
getAutoPopulateSeriesPaint()
Returns the flag that controls whether or not the series paint list is
automatically populated when lookupSeriesPaint(int) is called.
|
boolean
|
getAutoPopulateSeriesShape()
Returns the flag that controls whether or not the series shape list is
automatically populated when lookupSeriesShape(int) is called.
|
boolean
|
getAutoPopulateSeriesStroke()
Returns the flag that controls whether or not the series stroke list is
automatically populated when lookupSeriesStroke(int) 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.
|
Shape
|
getBaseLegendShape()
Returns the default legend shape, which may be null .
|
Font
|
getBaseLegendTextFont()
Returns the default legend text font, which may be null .
|
Paint
|
getBaseLegendTextPaint()
Returns the default legend text paint, which may be null .
|
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()
|
boolean
|
getDataBoundsIncludesVisibleSeriesOnly()
Returns the flag that controls whether or not the data bounds reported
by this renderer will exclude non-visible series.
|
int
|
getDefaultEntityRadius()
Returns the radius of the circle used for the default entity area
when no area is specified.
|
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()
|
Paint
|
getItemLabelPaint(int row, int column)
Returns the paint used to draw an item label.
|
Paint
|
getItemLabelPaint()
|
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).
|
Shape
|
getLegendShape(int series)
Returns the legend shape defined for the specified series (possibly
null ).
|
Font
|
getLegendTextFont(int series)
Returns the legend text font defined for the specified series (possibly
null ).
|
Paint
|
getLegendTextPaint(int series)
Returns the legend text paint defined for the specified series (possibly
null ).
|
ItemLabelPosition
|
getNegativeItemLabelPosition()
|
ItemLabelPosition
|
getNegativeItemLabelPosition(int row, int column)
Returns the item label position for negative values.
|
ItemLabelPosition
|
getPositiveItemLabelPosition()
|
ItemLabelPosition
|
getPositiveItemLabelPosition(int row, int column)
Returns the item label position for positive values.
|
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(int series)
Returns the flag that controls whether a series is visible.
|
Boolean
|
getSeriesVisible()
|
Boolean
|
getSeriesVisibleInLegend(int series)
Returns the flag that controls whether a series is visible in the
legend.
|
Boolean
|
getSeriesVisibleInLegend()
|
boolean
|
hasListener(EventListener listener)
Returns true if the specified object is registered with
the dataset as a listener.
|
int
|
hashCode()
Returns a hashcode for the renderer.
|
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.
|
Shape
|
lookupLegendShape(int series)
Performs a lookup for the legend shape.
|
Font
|
lookupLegendTextFont(int series)
Performs a lookup for the legend text font.
|
Paint
|
lookupLegendTextPaint(int series)
Performs a lookup for the legend text paint.
|
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 lookupSeriesFillPaint(int) is
called.
|
void
|
setAutoPopulateSeriesOutlinePaint(boolean auto)
Sets the flag that controls whether or not the series outline paint list
is automatically populated when lookupSeriesOutlinePaint(int)
is called.
|
void
|
setAutoPopulateSeriesOutlineStroke(boolean auto)
|
void
|
setAutoPopulateSeriesPaint(boolean auto)
Sets the flag that controls whether or not the series paint list is
automatically populated when lookupSeriesPaint(int) is called.
|
void
|
setAutoPopulateSeriesShape(boolean auto)
Sets the flag that controls whether or not the series shape list is
automatically populated when lookupSeriesShape(int) is called.
|
void
|
setAutoPopulateSeriesStroke(boolean auto)
Sets the flag that controls whether or not the series stroke list is
automatically populated when lookupSeriesStroke(int) 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)
|
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)
|
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, boolean notify)
Sets the base item label paint and, if requested, sends a
RendererChangeEvent to all registered listeners..
|
void
|
setBaseItemLabelPaint(Paint paint)
|
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
|
setBaseLegendShape(Shape shape)
|
void
|
setBaseLegendTextFont(Font font)
|
void
|
setBaseLegendTextPaint(Paint paint)
Sets the default legend text paint and 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, boolean notify)
Sets the base outline paint and, if requested, sends a
RendererChangeEvent to all registered listeners.
|
void
|
setBaseOutlinePaint(Paint paint)
|
void
|
setBaseOutlineStroke(Stroke stroke, boolean notify)
Sets the base outline stroke and, if requested, sends a
RendererChangeEvent to all registered listeners.
|
void
|
setBaseOutlineStroke(Stroke stroke)
|
void
|
setBasePaint(Paint paint)
|
void
|
setBasePaint(Paint paint, boolean notify)
Sets the base paint and, if requested, sends a
RendererChangeEvent to all registered listeners.
|
void
|
setBasePositiveItemLabelPosition(ItemLabelPosition position, boolean notify)
Sets the base positive item label position and, if requested, sends a
RendererChangeEvent to all registered listeners.
|
void
|
setBasePositiveItemLabelPosition(ItemLabelPosition position)
Sets the base positive item label position.
|
void
|
setBaseSeriesVisible(boolean visible)
|
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)
|
void
|
setBaseShape(Shape shape, boolean notify)
Sets the base shape and, if requested, 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
|
setBaseStroke(Stroke stroke)
|
void
|
setCreateEntities(Boolean create)
|
void
|
setCreateEntities(Boolean create, boolean notify)
|
void
|
setDataBoundsIncludesVisibleSeriesOnly(boolean visibleOnly)
Sets the flag that controls whether or not the data bounds reported
by this renderer will exclude non-visible series and sends a
RendererChangeEvent to all registered listeners.
|
void
|
setDefaultEntityRadius(int radius)
Sets the radius of the circle used for the default entity area
when no area is specified.
|
void
|
setFillPaint(Paint paint, boolean notify)
|
void
|
setFillPaint(Paint paint)
|
void
|
setItemLabelAnchorOffset(double offset)
Sets the item label anchor offset.
|
void
|
setItemLabelFont(Font font)
|
void
|
setItemLabelFont(Font font, boolean notify)
|
void
|
setItemLabelPaint(Paint paint, boolean notify)
|
void
|
setItemLabelPaint(Paint paint)
|
void
|
setItemLabelsVisible(Boolean visible)
|
void
|
setItemLabelsVisible(boolean visible)
|
void
|
setItemLabelsVisible(Boolean visible, boolean notify)
|
void
|
setLegendShape(int series, Shape shape)
Sets the shape used for the legend item for the specified series, and
sends a RendererChangeEvent to all registered listeners.
|
void
|
setLegendTextFont(int series, Font font)
Sets the font used for the legend text for the specified series, and
sends a RendererChangeEvent to all registered listeners.
|
void
|
setLegendTextPaint(int series, Paint paint)
Sets the paint used for the legend text for the specified series, and
sends a RendererChangeEvent to all registered listeners.
|
void
|
setNegativeItemLabelPosition(ItemLabelPosition position)
|
void
|
setNegativeItemLabelPosition(ItemLabelPosition position, boolean notify)
|
void
|
setOutlinePaint(Paint paint)
|
void
|
setOutlinePaint(Paint paint, boolean notify)
|
void
|
setOutlineStroke(Stroke stroke, boolean notify)
|
void
|
setOutlineStroke(Stroke stroke)
|
void
|
setPaint(Paint paint, boolean notify)
|
void
|
setPaint(Paint paint)
|
void
|
setPositiveItemLabelPosition(ItemLabelPosition position, boolean notify)
|
void
|
setPositiveItemLabelPosition(ItemLabelPosition position)
|
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, boolean notify)
Sets the paint used to fill 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
|
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
|
setSeriesItemLabelFont(int series, Font font)
Sets the item label font 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
|
setSeriesItemLabelPaint(int series, Paint paint)
Sets the item label paint for a series and 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, boolean notify)
Sets the paint used to draw the outline for 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
|
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
|
setSeriesOutlineStroke(int series, Stroke stroke)
Sets the outline stroke used for a series and sends a
RendererChangeEvent to all registered listeners.
|
void
|
setSeriesPaint(int series, Paint paint)
|
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, 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
|
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
|
setSeriesShape(int series, Shape shape, boolean notify)
Sets the shape for a series and, if requested, sends a
RendererChangeEvent to all registered listeners.
|
void
|
setSeriesShape(int series, Shape shape)
|
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
|
setSeriesStroke(int series, Stroke stroke)
|
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(Boolean visible, boolean notify)
|
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
|
setSeriesVisible(Boolean visible)
|
void
|
setSeriesVisibleInLegend(Boolean visible)
|
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
|
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(Boolean visible, boolean notify)
|
void
|
setShape(Shape shape, boolean notify)
|
void
|
setShape(Shape shape)
|
void
|
setStroke(Stroke stroke)
|
void
|
setStroke(Stroke stroke, boolean notify)
|