Java org.jfree.chart.renderer.xy XYItemRenderer fields, constructors, methods, implement or subclass

Example usage for Java org.jfree.chart.renderer.xy XYItemRenderer fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.jfree.chart.renderer.xy XYItemRenderer.

The text is from its open source code.

Implementation

org.jfree.chart.renderer.xy.XYItemRenderer has the following implementations.
Click this link to see all its implementation.

Method

voidaddAnnotation(XYAnnotation annotation)
Adds an annotation and sends a RendererChangeEvent to all registered listeners.
voidaddChangeListener(RendererChangeListener listener)
Add a renderer change listener.
voiddrawAnnotations(Graphics2D g2, Rectangle2D dataArea, ValueAxis domainAxis, ValueAxis rangeAxis, Layer layer, PlotRenderingInfo info)
Draws all the annotations for the specified layer.
voiddrawDomainMarker(Graphics2D g2, XYPlot plot, ValueAxis axis, Marker marker, Rectangle2D dataArea)
Draws the specified marker against the domain axis.
voiddrawItem(Graphics2D g2, XYItemRendererState state, Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass)
Called for each item to be plotted.
voiddrawRangeMarker(Graphics2D g2, XYPlot plot, ValueAxis axis, Marker marker, Rectangle2D dataArea)
Draws a horizontal line across the chart to represent a 'range marker'.
RangefindDomainBounds(XYDataset dataset)
Returns the lower and upper bounds (range) of the x-values in the specified dataset.
RangefindRangeBounds(XYDataset dataset)
Returns the lower and upper bounds (range) of the y-values in the specified dataset.
FontgetBaseItemLabelFont()
Returns the base item label font (this is used when no other font setting is available).
XYItemLabelGeneratorgetBaseItemLabelGenerator()
Returns the base item label generator.
PaintgetBaseItemLabelPaint()
Returns the base item label paint.
BooleangetBaseItemLabelsVisible()
Returns the base setting for item label visibility.
PaintgetBaseOutlinePaint()
Returns the base (or default) outline paint.
PaintgetBasePaint()
Returns the base (or default) paint.
StrokegetBaseStroke()
Returns the base (or default) stroke.
XYToolTipGeneratorgetBaseToolTipGenerator()
Returns the base tool tip generator.
ClassgetClass()
Returns the runtime class of this Object .
PaintgetItemPaint(int row, int column)
Returns the paint used to color data items as they are drawn.
booleangetItemVisible(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).
LegendItemgetLegendItem(int datasetIndex, int series)
Returns a legend item for a series from a dataset.
intgetPassCount()
Returns the number of passes through the data required by the renderer.
PaintgetSeriesItemLabelPaint(int series)
Returns the paint used to draw the item labels for a series.
PaintgetSeriesOutlinePaint(int series)
Returns the paint used to outline an item drawn by the renderer.
PaintgetSeriesPaint(int series)
Returns the paint used to color an item drawn by the renderer.
ShapegetSeriesShape(int series)
Returns a shape used to represent the items in a series.
StrokegetSeriesStroke(int series)
Returns the stroke used to draw the items in a series.
BooleangetSeriesVisible(int series)
Returns the flag that controls whether a series is visible.
XYItemRendererStateinitialise(Graphics2D g2, Rectangle2D dataArea, XYPlot plot, XYDataset dataset, PlotRenderingInfo info)
Initialises the renderer then returns the number of 'passes' through the data that the renderer will require (usually just one).
booleanisSeriesVisible(int series)
Returns a boolean that indicates whether or not the specified series should be drawn (this is typically used to hide an entire series).
booleanisSeriesVisibleInLegend(int series)
Returns true if the series should be shown in the legend, and false otherwise.
voidremoveAnnotations()
Removes all annotations and sends a RendererChangeEvent to all registered listeners.
voidremoveChangeListener(RendererChangeListener listener)
Removes a change listener.
voidsetBaseItemLabelFont(Font font)
Sets the base item label font and sends a RendererChangeEvent to all registered listeners.
voidsetBaseItemLabelGenerator(XYItemLabelGenerator generator)
Sets the base item label generator and sends a RendererChangeEvent to all registered listeners.
voidsetBaseItemLabelPaint(Paint paint)
Sets the base item label paint and sends a RendererChangeEvent to all registered listeners.
voidsetBaseItemLabelsVisible(boolean visible)
Sets the base flag that controls whether or not item labels are visible.
voidsetBaseItemLabelsVisible(Boolean visible)
Sets the base setting for item label visibility.
voidsetBaseOutlinePaint(Paint paint)
Sets the base outline paint and sends a RendererChangeEvent to all registered listeners.
voidsetBasePaint(Paint paint)
Sets the base paint and sends a RendererChangeEvent to all registered listeners.
voidsetBasePositiveItemLabelPosition(ItemLabelPosition position)
Sets the base positive item label position.
voidsetBaseSeriesVisible(boolean visible)
Sets the base visibility and sends a RendererChangeEvent to all registered listeners.
voidsetBaseSeriesVisibleInLegend(boolean visible)
Sets the base visibility in the legend and sends a RendererChangeEvent to all registered listeners.
voidsetBaseShape(Shape shape)
Sets the base shape and sends a RendererChangeEvent to all registered listeners.
voidsetBaseStroke(Stroke stroke)
Sets the base stroke and sends a RendererChangeEvent to all registered listeners.
voidsetBaseToolTipGenerator(XYToolTipGenerator generator)
Sets the base tool tip generator and sends a RendererChangeEvent to all registered listeners.
voidsetItemLabelFont(Font font)
Sets the item label font for ALL series and sends a RendererChangeEvent to all registered listeners.
voidsetItemLabelGenerator(XYItemLabelGenerator generator)
Sets the item label generator for ALL series and sends a RendererChangeEvent to all registered listeners.
voidsetItemLabelPaint(Paint paint)
Sets the item label paint for ALL series and sends a RendererChangeEvent to all registered listeners.
voidsetItemLabelsVisible(boolean visible)
Sets a flag that controls whether or not the item labels for ALL series are visible.
voidsetItemLabelsVisible(Boolean visible)
Sets a flag that controls whether or not the item labels for ALL series are visible.
voidsetLegendItemLabelGenerator(XYSeriesLabelGenerator generator)
Sets the legend item label generator and sends a RendererChangeEvent to all registered listeners.
voidsetNegativeItemLabelPosition(ItemLabelPosition position)
Sets the item label position for negative values in ALL series, and sends a RendererChangeEvent to all registered listeners.
voidsetPaint(Paint paint)
Sets the paint to be used for ALL series, and sends a RendererChangeEvent to all registered listeners.
voidsetPlot(XYPlot plot)
Sets the plot that this renderer is assigned to.
voidsetPositiveItemLabelPosition(ItemLabelPosition position)
Sets the item label position for positive values in ALL series, and sends a RendererChangeEvent to all registered listeners.
voidsetSeriesItemLabelFont(int series, Font font)
Sets the item label font for a series and sends a RendererChangeEvent to all registered listeners.
voidsetSeriesItemLabelGenerator(int series, XYItemLabelGenerator generator)
Sets the item label generator for a series and sends a RendererChangeEvent to all registered listeners.
voidsetSeriesItemLabelPaint(int series, Paint paint)
Sets the item label paint for a series and sends a RendererChangeEvent to all registered listeners.
voidsetSeriesItemLabelsVisible(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.
voidsetSeriesItemLabelsVisible(int series, Boolean visible)
Sets a flag that controls the visibility of the item labels for a series.
voidsetSeriesOutlinePaint(int series, Paint paint)
Sets the paint used for a series outline and sends a RendererChangeEvent to all registered listeners.
voidsetSeriesOutlineStroke(int series, Stroke stroke)
Sets the outline stroke used for a series and sends a RendererChangeEvent to all registered listeners.
voidsetSeriesPaint(int series, Paint paint)
Sets the paint used for a series and sends a RendererChangeEvent to all registered listeners.
voidsetSeriesPositiveItemLabelPosition(int series, ItemLabelPosition position)
Sets the item label position for all positive values in a series and sends a RendererChangeEvent to all registered listeners.
voidsetSeriesShape(int series, Shape shape)
Sets the shape used for a series and sends a RendererChangeEvent to all registered listeners.
voidsetSeriesStroke(int series, Stroke stroke)
Sets the stroke used for a series and sends a RendererChangeEvent to all registered listeners.
voidsetSeriesToolTipGenerator(int series, XYToolTipGenerator generator)
Sets the tool tip generator for a series and sends a RendererChangeEvent to all registered listeners.
voidsetSeriesVisible(int series, Boolean visible)
Sets the flag that controls whether a series is visible and sends a RendererChangeEvent to all registered listeners.
voidsetSeriesVisible(Boolean visible, boolean notify)
Sets the flag that controls the visibility of ALL series and sends a RendererChangeEvent to all registered listeners.
voidsetSeriesVisible(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.
voidsetSeriesVisibleInLegend(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.
voidsetSeriesVisibleInLegend(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.
voidsetShape(Shape shape)
Sets the shape for ALL series (optional) and sends a RendererChangeEvent to all registered listeners.
voidsetStroke(Stroke stroke)
Sets the stroke for ALL series and sends a RendererChangeEvent to all registered listeners.
voidsetToolTipGenerator(XYToolTipGenerator generator)
Sets the tool tip generator for ALL series and sends a RendererChangeEvent to all registered listeners.
voidsetURLGenerator(XYURLGenerator urlGenerator)
Sets the URL generator for HTML image maps.