public interface PolarItemRenderer
PolarPlot
class.Modifier and Type | Method and Description |
---|---|
void |
addChangeListener(RendererChangeListener listener)
Adds a change listener.
|
void |
drawAngularGridLines(java.awt.Graphics2D g2,
PolarPlot plot,
java.util.List ticks,
java.awt.geom.Rectangle2D dataArea)
Draw the angular gridlines - the spokes.
|
void |
drawRadialGridLines(java.awt.Graphics2D g2,
PolarPlot plot,
ValueAxis radialAxis,
java.util.List ticks,
java.awt.geom.Rectangle2D dataArea)
Draw the radial gridlines - the rings.
|
void |
drawSeries(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D dataArea,
PlotRenderingInfo info,
PolarPlot plot,
XYDataset dataset,
int seriesIndex)
Plots the data for a given series.
|
XYToolTipGenerator |
getBaseToolTipGenerator()
Returns the base tool tip generator.
|
LegendItem |
getLegendItem(int series)
Return the legend for the given series.
|
PolarPlot |
getPlot()
Returns the plot that this renderer has been assigned to.
|
XYToolTipGenerator |
getSeriesToolTipGenerator(int series)
Returns the tool tip generator for a series.
|
XYToolTipGenerator |
getToolTipGenerator(int row,
int column)
Returns the tool tip generator for a data item.
|
XYURLGenerator |
getURLGenerator()
Returns the URL generator for HTML image maps.
|
void |
removeChangeListener(RendererChangeListener listener)
Removes a change listener.
|
void |
setBaseToolTipGenerator(XYToolTipGenerator generator)
Sets the base tool tip generator and sends a
RendererChangeEvent
to all registered listeners. |
void |
setPlot(PolarPlot plot)
Sets the plot that this renderer is assigned to.
|
void |
setSeriesToolTipGenerator(int series,
XYToolTipGenerator generator)
Sets the tool tip generator for a series and sends a
RendererChangeEvent to all registered listeners. |
void |
setURLGenerator(XYURLGenerator urlGenerator)
Sets the URL generator for HTML image maps.
|
void drawSeries(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, PlotRenderingInfo info, PolarPlot plot, XYDataset dataset, int seriesIndex)
g2
- the drawing surface.dataArea
- the data area.info
- collects plot rendering info.plot
- the plot.dataset
- the dataset.seriesIndex
- the series index.void drawAngularGridLines(java.awt.Graphics2D g2, PolarPlot plot, java.util.List ticks, java.awt.geom.Rectangle2D dataArea)
g2
- the drawing surface.plot
- the plot.ticks
- the ticks.dataArea
- the data area.void drawRadialGridLines(java.awt.Graphics2D g2, PolarPlot plot, ValueAxis radialAxis, java.util.List ticks, java.awt.geom.Rectangle2D dataArea)
g2
- the drawing surface.plot
- the plot.radialAxis
- the radial axis.ticks
- the ticks.dataArea
- the data area.LegendItem getLegendItem(int series)
series
- the series index.PolarPlot getPlot()
void setPlot(PolarPlot plot)
plot
- the plot.void addChangeListener(RendererChangeListener listener)
listener
- the listener.void removeChangeListener(RendererChangeListener listener)
listener
- the listener.XYToolTipGenerator getToolTipGenerator(int row, int column)
row
- the row index (zero based).column
- the column index (zero based).null
).XYToolTipGenerator getSeriesToolTipGenerator(int series)
series
- the series index (zero based).null
).setSeriesToolTipGenerator(int, XYToolTipGenerator)
void setSeriesToolTipGenerator(int series, XYToolTipGenerator generator)
RendererChangeEvent
to all registered listeners.series
- the series index (zero based).generator
- the generator (null
permitted).getSeriesToolTipGenerator(int)
XYToolTipGenerator getBaseToolTipGenerator()
null
).setBaseToolTipGenerator(XYToolTipGenerator)
void setBaseToolTipGenerator(XYToolTipGenerator generator)
RendererChangeEvent
to all registered listeners.generator
- the generator (null
permitted).getBaseToolTipGenerator()
XYURLGenerator getURLGenerator()
void setURLGenerator(XYURLGenerator urlGenerator)
urlGenerator
- the URL generator (null permitted).