| org.jfree.chart.renderer.PolarItemRenderer
All known Subclasses: org.jfree.chart.renderer.DefaultPolarItemRenderer,
PolarItemRenderer | public interface PolarItemRenderer (Code) | | The interface for a renderer that can be used by the
PolarPlot class.
|
Method Summary | |
public void | addChangeListener(RendererChangeListener listener) Adds a change listener. | public void | drawAngularGridLines(Graphics2D g2, PolarPlot plot, List ticks, Rectangle2D dataArea) Draw the angular gridlines - the spokes. | public void | drawRadialGridLines(Graphics2D g2, PolarPlot plot, ValueAxis radialAxis, List ticks, Rectangle2D dataArea) Draw the radial gridlines - the rings. | public void | drawSeries(Graphics2D g2, Rectangle2D dataArea, PlotRenderingInfo info, PolarPlot plot, XYDataset dataset, int seriesIndex) Plots the data for a given series. | public LegendItem | getLegendItem(int series) Return the legend for the given series.
Parameters: series - the series index. | public PolarPlot | getPlot() Returns the plot that this renderer has been assigned to. | public void | removeChangeListener(RendererChangeListener listener) Removes a change listener. | public void | setPlot(PolarPlot plot) Sets the plot that this renderer is assigned to. |
addChangeListener | public void addChangeListener(RendererChangeListener listener)(Code) | | Adds a change listener.
Parameters: listener - the listener. |
drawAngularGridLines | public void drawAngularGridLines(Graphics2D g2, PolarPlot plot, List ticks, Rectangle2D dataArea)(Code) | | Draw the angular gridlines - the spokes.
Parameters: g2 - the drawing surface. Parameters: plot - the plot. Parameters: ticks - the ticks. Parameters: dataArea - the data area. |
drawRadialGridLines | public void drawRadialGridLines(Graphics2D g2, PolarPlot plot, ValueAxis radialAxis, List ticks, Rectangle2D dataArea)(Code) | | Draw the radial gridlines - the rings.
Parameters: g2 - the drawing surface. Parameters: plot - the plot. Parameters: radialAxis - the radial axis. Parameters: ticks - the ticks. Parameters: dataArea - the data area. |
drawSeries | public void drawSeries(Graphics2D g2, Rectangle2D dataArea, PlotRenderingInfo info, PolarPlot plot, XYDataset dataset, int seriesIndex)(Code) | | Plots the data for a given series.
Parameters: g2 - the drawing surface. Parameters: dataArea - the data area. Parameters: info - collects plot rendering info. Parameters: plot - the plot. Parameters: dataset - the dataset. Parameters: seriesIndex - the series index. |
getLegendItem | public LegendItem getLegendItem(int series)(Code) | | Return the legend for the given series.
Parameters: series - the series index. The legend item. |
getPlot | public PolarPlot getPlot()(Code) | | Returns the plot that this renderer has been assigned to.
The plot. |
removeChangeListener | public void removeChangeListener(RendererChangeListener listener)(Code) | | Removes a change listener.
Parameters: listener - the listener. |
setPlot | public void setPlot(PolarPlot plot)(Code) | | Sets the plot that this renderer is assigned to.
This method will be called by the plot class...you do not need to call
it yourself.
Parameters: plot - the plot. |
|
|