Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.jfree.chart.renderer.AbstractRenderer
org.jfree.chart.renderer.DefaultPolarItemRenderer
PolarPlot
class.
Field Summary |
Fields inherited from class org.jfree.chart.renderer.AbstractRenderer | |
DEFAULT_OUTLINE_PAINT , DEFAULT_OUTLINE_STROKE , DEFAULT_PAINT , DEFAULT_SHAPE , DEFAULT_STROKE , DEFAULT_VALUE_LABEL_FONT , DEFAULT_VALUE_LABEL_PAINT , ZERO |
Constructor Summary | |
|
Method Summary | |
Object |
|
void |
|
void |
|
void |
|
boolean |
|
DrawingSupplier |
|
LegendItem |
|
PolarPlot |
|
boolean |
|
void | |
void |
|
public DefaultPolarItemRenderer()
Creates a new instance of DefaultPolarItemRenderer
public Object clone() throws CloneNotSupportedException
Returns a clone of the renderer.
- Overrides:
- clone in interface AbstractRenderer
- Returns:
- A clone.
public void drawAngularGridLines(Graphics2D g2, PolarPlot plot, List ticks, Rectangle2D dataArea)
Draw the angular gridlines - the spokes.
- Specified by:
- drawAngularGridLines in interface PolarItemRenderer
- Parameters:
g2
- the drawing surface.plot
- the plot.ticks
- the ticks.dataArea
- the data area.
public void drawRadialGridLines(Graphics2D g2, PolarPlot plot, ValueAxis radialAxis, List ticks, Rectangle2D dataArea)
Draw the radial gridlines - the rings.
- Specified by:
- drawRadialGridLines in interface PolarItemRenderer
- Parameters:
g2
- the drawing surface.plot
- the plot.radialAxis
- the radial axis.ticks
- the ticks.dataArea
- the data area.
public void drawSeries(Graphics2D g2, Rectangle2D dataArea, PlotRenderingInfo info, PolarPlot plot, XYDataset dataset, int seriesIndex)
Plots the data for a given series.
- Specified by:
- drawSeries in interface PolarItemRenderer
- Parameters:
g2
- the drawing surface.dataArea
- the data area.info
- collects plot rendering info.plot
- the plot.dataset
- the dataset.seriesIndex
- the series index.
public boolean equals(Object obj)
Tests this renderer for equality with an arbitrary object.
- Overrides:
- equals in interface AbstractRenderer
- Parameters:
obj
- the object (null
not permitted).
- Returns:
true
if this renderer is equal toobj
, andfalse
otherwise.
public DrawingSupplier getDrawingSupplier()
Returns the drawing supplier from the plot.
- Overrides:
- getDrawingSupplier in interface AbstractRenderer
- Returns:
- The drawing supplier.
public LegendItem getLegendItem(int series)
Return the legend for the given series.
- Specified by:
- getLegendItem in interface PolarItemRenderer
- Parameters:
series
- the series index.
- Returns:
- The legend item.
public PolarPlot getPlot()
Return the plot associated with this renderer.
- Specified by:
- getPlot in interface PolarItemRenderer
- Returns:
- The plot.
- See Also:
setPlot(PolarPlot)
public boolean isSeriesFilled(int series)
Returnstrue
if the renderer should fill the specified series, andfalse
otherwise.
- Parameters:
series
- the series index (zero-based).
- Returns:
- A boolean.
public void setPlot(PolarPlot plot)
Set the plot associated with this renderer.
- Specified by:
- setPlot in interface PolarItemRenderer
- Parameters:
plot
- the plot.
- See Also:
getPlot()
public void setSeriesFilled(int series, boolean filled)
Sets a flag that controls whether or not a series is filled.
- Parameters:
series
- the series index.filled
- the flag.