|
Header
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jfree.chart.renderer.AbstractRenderer
org.jfree.chart.renderer.DefaultPolarItemRenderer
public class DefaultPolarItemRenderer
A renderer that can be used with the 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 | |
|---|---|
DefaultPolarItemRenderer()
Creates a new instance of DefaultPolarItemRenderer |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Returns a clone of the renderer. |
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. |
boolean |
equals(java.lang.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. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jfree.chart.renderer.PolarItemRenderer |
|---|
addChangeListener, removeChangeListener |
| Constructor Detail |
|---|
public DefaultPolarItemRenderer()
| Method Detail |
|---|
public void setPlot(PolarPlot plot)
setPlot in interface PolarItemRendererplot - the plot.getPlot()public PolarPlot getPlot()
getPlot in interface PolarItemRenderersetPlot(PolarPlot)public DrawingSupplier getDrawingSupplier()
getDrawingSupplier in class AbstractRendererpublic boolean isSeriesFilled(int series)
true if the renderer should fill the specified
series, and false otherwise.
series - the series index (zero-based).
public void setSeriesFilled(int series,
boolean filled)
series - the series index.filled - the flag.
public void drawSeries(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D dataArea,
PlotRenderingInfo info,
PolarPlot plot,
XYDataset dataset,
int seriesIndex)
drawSeries in interface PolarItemRendererg2 - the drawing surface.dataArea - the data area.info - collects plot rendering info.plot - the plot.dataset - the dataset.seriesIndex - the series index.
public void drawAngularGridLines(java.awt.Graphics2D g2,
PolarPlot plot,
java.util.List ticks,
java.awt.geom.Rectangle2D dataArea)
drawAngularGridLines in interface PolarItemRendererg2 - the drawing surface.plot - the plot.ticks - the ticks.dataArea - the data area.
public void drawRadialGridLines(java.awt.Graphics2D g2,
PolarPlot plot,
ValueAxis radialAxis,
java.util.List ticks,
java.awt.geom.Rectangle2D dataArea)
drawRadialGridLines in interface PolarItemRendererg2 - the drawing surface.plot - the plot.radialAxis - the radial axis.ticks - the ticks.dataArea - the data area.public LegendItem getLegendItem(int series)
getLegendItem in interface PolarItemRendererseries - the series index.
public boolean equals(java.lang.Object obj)
equals in class AbstractRendererobj - the object (null not permitted).
true if this renderer is equal to obj,
and false otherwise.
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class AbstractRendererjava.lang.CloneNotSupportedException - if the renderer cannot be cloned.
|
Footer
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||