org.jfree.chart.renderer
public class DefaultPolarItemRenderer extends AbstractRenderer implements PolarItemRenderer
Constructor Summary | |
---|---|
DefaultPolarItemRenderer()
Creates a new instance of DefaultPolarItemRenderer |
Method Summary | |
---|---|
Object | clone()
Returns a clone of the renderer.
|
void | drawAngularGridLines(Graphics2D g2, PolarPlot plot, List ticks, Rectangle2D dataArea)
Draw the angular gridlines - the spokes.
|
void | drawRadialGridLines(Graphics2D g2, PolarPlot plot, ValueAxis radialAxis, List ticks, Rectangle2D dataArea)
Draw the radial gridlines - the rings.
|
void | drawSeries(Graphics2D g2, Rectangle2D dataArea, PlotRenderingInfo info, PolarPlot plot, XYDataset dataset, int seriesIndex)
Plots the data for a given series.
|
boolean | equals(Object obj)
Tests this renderer for equality with an arbitrary object.
|
DrawingSupplier | getDrawingSupplier()
Returns the drawing supplier from the plot.
|
LegendItem | getLegendItem(int series)
Return the legend for the given series.
|
PolarPlot | getPlot()
Return the plot associated with this renderer.
|
boolean | isSeriesFilled(int series)
Returns true if the renderer should fill the specified
series, and false otherwise.
|
void | setPlot(PolarPlot plot)
Set the plot associated with this renderer.
|
void | setSeriesFilled(int series, boolean filled)
Sets a flag that controls whether or not a series is filled.
|
Returns: A clone.
Throws: CloneNotSupportedException if the renderer cannot be cloned.
Parameters: g2 the drawing surface. plot the plot. ticks the ticks. dataArea the data area.
Parameters: g2 the drawing surface. plot the plot. radialAxis the radial axis. ticks the ticks. dataArea the data area.
Parameters: g2 the drawing surface. dataArea the data area. info collects plot rendering info. plot the plot. dataset the dataset. seriesIndex the series index.
Parameters: obj the object (null
not permitted).
Returns: true
if this renderer is equal to obj
,
and false
otherwise.
Returns: The drawing supplier.
Parameters: series the series index.
Returns: The legend item.
Returns: The plot.
See Also: setPlot
true
if the renderer should fill the specified
series, and false
otherwise.
Parameters: series the series index (zero-based).
Returns: A boolean.
Parameters: plot the plot.
See Also: getPlot
Parameters: series the series index. filled the flag.