1 28 package net.sf.jasperreports.charts.fill; 29 30 import net.sf.jasperreports.charts.JRDataRange; 31 import net.sf.jasperreports.charts.JRMeterPlot; 32 import net.sf.jasperreports.charts.JRValueDisplay; 33 import net.sf.jasperreports.engine.fill.JRFillChartPlot; 34 import net.sf.jasperreports.engine.fill.JRFillObjectFactory; 35 36 import java.awt.Color ; 37 import java.util.List ; 38 39 43 public class JRFillMeterPlot extends JRFillChartPlot implements JRMeterPlot 44 { 45 46 49 public JRFillMeterPlot(JRMeterPlot meterPlot, JRFillObjectFactory factory) 50 { 51 super(meterPlot, factory); 52 } 53 54 57 public JRDataRange getDataRange() 58 { 59 return ((JRMeterPlot)parent).getDataRange(); 60 } 61 62 65 public JRValueDisplay getValueDisplay() 66 { 67 return ((JRMeterPlot)parent).getValueDisplay(); 68 } 69 70 73 public byte getShape() 74 { 75 return ((JRMeterPlot)parent).getShape(); 76 } 77 78 81 public List getIntervals(){ 82 return ((JRMeterPlot)parent).getIntervals(); 83 } 84 85 88 public int getMeterAngle() 89 { 90 return ((JRMeterPlot)parent).getMeterAngle(); 91 } 92 93 96 public String getUnits() 97 { 98 return ((JRMeterPlot)parent).getUnits(); 99 } 100 101 104 public double getTickInterval() 105 { 106 return ((JRMeterPlot)parent).getTickInterval(); 107 } 108 109 112 public Color getMeterBackgroundColor() 113 { 114 return ((JRMeterPlot)parent).getMeterBackgroundColor(); 115 } 116 117 120 public Color getNeedleColor() 121 { 122 return ((JRMeterPlot)parent).getNeedleColor(); 123 } 124 125 128 public Color getTickColor() 129 { 130 return ((JRMeterPlot)parent).getTickColor(); 131 } 132 } 133 | Popular Tags |