1 42 43 package org.jfree.chart.renderer; 44 45 import java.awt.Graphics2D ; 46 import java.awt.geom.Rectangle2D ; 47 import java.util.List ; 48 49 import org.jfree.chart.LegendItem; 50 import org.jfree.chart.axis.ValueAxis; 51 import org.jfree.chart.event.RendererChangeListener; 52 import org.jfree.chart.plot.PlotRenderingInfo; 53 import org.jfree.chart.plot.PolarPlot; 54 import org.jfree.data.xy.XYDataset; 55 56 59 public interface PolarItemRenderer { 60 61 71 public void drawSeries(Graphics2D g2, 72 Rectangle2D dataArea, 73 PlotRenderingInfo info, 74 PolarPlot plot, 75 XYDataset dataset, 76 int seriesIndex); 77 78 86 public void drawAngularGridLines(Graphics2D g2, 87 PolarPlot plot, 88 List ticks, 89 Rectangle2D dataArea); 90 91 100 public void drawRadialGridLines(Graphics2D g2, 101 PolarPlot plot, 102 ValueAxis radialAxis, 103 List ticks, 104 Rectangle2D dataArea); 105 106 113 public LegendItem getLegendItem(int series); 114 115 120 public PolarPlot getPlot(); 121 122 130 public void setPlot(PolarPlot plot); 131 132 137 public void addChangeListener(RendererChangeListener listener); 138 139 144 public void removeChangeListener(RendererChangeListener listener); 145 146 147 } 148 | Popular Tags |