package net.sf.jasperreports.engine.fill; import java.awt.Color; import java.util.Collection; import java.util.SortedSet; import net.sf.jasperreports.engine.JRChart; import net.sf.jasperreports.engine.JRChartPlot; import net.sf.jasperreports.engine.JRExpressionCollector; import net.sf.jasperreports.engine.JRVisitable; import net.sf.jasperreports.engine.util.JRStyleResolver; import org.jfree.chart.plot.PlotOrientation; public class JRFillChartPlot implements JRChartPlot { protected JRChartPlot parent = null; protected JRChart chart = null; protected JRFillChartPlot(JRChartPlot plot, JRFillObjectFactory factory) { factory.put(plot, this); this.parent = plot; this.chart = (JRChart)factory.getVisitResult((JRVisitable)plot.getChart()); } public JRChart getChart() { return this.chart; } public Color getBackcolor() { return JRStyleResolver.getBackcolor(this); } public Color getOwnBackcolor() { return this.parent.getOwnBackcolor(); } public void setBackcolor(Color backcolor) {} public PlotOrientation getOrientation() { return this.parent.getOrientation(); } public void setOrientation(PlotOrientation orientation) {} public float getBackgroundAlpha() { return this.parent.getBackgroundAlpha(); } public void setBackgroundAlpha(float BackgroundAlpha) {} public float getForegroundAlpha() { return this.parent.getForegroundAlpha(); } public void setForegroundAlpha(float foregroundAlpha) {} public double getLabelRotation() { return this.parent.getLabelRotation(); } public void setLabelRotation(double labelRotation) {} public SortedSet getSeriesColors() { return this.parent.getSeriesColors(); } public void clearSeriesColors() {} public void addSeriesColor(JRChartPlot.JRSeriesColor seriesColor) {} public void setSeriesColors(Collection colors) {} public void collectExpressions(JRExpressionCollector collector) {} public Object clone(JRChart parentChart) { return null; } }