1 28 package net.sf.jasperreports.charts.design; 29 30 import net.sf.jasperreports.charts.JRDataRange; 31 import net.sf.jasperreports.charts.JRValueDisplay; 32 import net.sf.jasperreports.charts.base.JRBaseThermometerPlot; 33 import net.sf.jasperreports.engine.JRChartPlot; 34 import net.sf.jasperreports.engine.JRConstants; 35 36 import java.awt.Color ; 37 38 44 public class JRDesignThermometerPlot extends JRBaseThermometerPlot 45 { 46 47 48 51 private static final long serialVersionUID = JRConstants.SERIAL_VERSION_UID; 52 53 54 59 public JRDesignThermometerPlot(JRChartPlot thermoPlot) 60 { 61 super(thermoPlot); 62 } 63 64 70 public void setDataRange(JRDataRange dataRange) 71 { 72 this.dataRange = dataRange; 73 } 74 75 81 public void setValueDisplay(JRValueDisplay valueDisplay) 82 { 83 this.valueDisplay = valueDisplay; 84 } 85 86 87 93 public void setShowValueLines(boolean showValueLines) 94 { 95 this.showValueLines = showValueLines; 96 } 97 98 103 public void setValueLocation(byte valueLocation) 104 { 105 this.valueLocation = valueLocation; 106 } 107 108 114 public void setMercuryColor(Color mercuryColor) 115 { 116 this.mercuryColor = mercuryColor; 117 } 118 119 124 public void setLowRange(JRDataRange lowRange) 125 { 126 this.lowRange = lowRange; 127 } 128 129 134 public void setMediumRange(JRDataRange mediumRange) 135 { 136 this.mediumRange = mediumRange; 137 } 138 139 144 public void setHighRange(JRDataRange highRange) 145 { 146 this.highRange = highRange; 147 } 148 } 149 | Popular Tags |