1 28 package net.sf.jasperreports.charts.fill; 29 30 import net.sf.jasperreports.charts.JRDataRange; 31 import net.sf.jasperreports.charts.JRThermometerPlot; 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 38 42 public class JRFillThermometerPlot extends JRFillChartPlot implements JRThermometerPlot 43 { 44 45 46 47 50 public JRFillThermometerPlot(JRThermometerPlot thermoPlot, JRFillObjectFactory factory) 51 { 52 super(thermoPlot, factory); 53 } 54 55 56 59 public JRDataRange getDataRange() 60 { 61 return ((JRThermometerPlot)parent).getDataRange(); 62 } 63 64 67 public JRValueDisplay getValueDisplay() 68 { 69 return ((JRThermometerPlot)parent).getValueDisplay(); 70 } 71 72 75 public boolean isShowValueLines() 76 { 77 return ((JRThermometerPlot)parent).isShowValueLines(); 78 } 79 80 83 public byte getValueLocation() 84 { 85 return ((JRThermometerPlot)parent).getValueLocation(); 86 } 87 88 91 public Color getMercuryColor() 92 { 93 return ((JRThermometerPlot)parent).getMercuryColor(); 94 } 95 96 99 public JRDataRange getLowRange() 100 { 101 return ((JRThermometerPlot)parent).getLowRange(); 102 } 103 104 107 public JRDataRange getMediumRange() 108 { 109 return ((JRThermometerPlot)parent).getMediumRange(); 110 } 111 112 115 public JRDataRange getHighRange() 116 { 117 return ((JRThermometerPlot)parent).getHighRange(); 118 } 119 } 120 | Popular Tags |