Package net.sf.jasperreports.charts.fill
Class JRFillThermometerPlot
- java.lang.Object
-
- net.sf.jasperreports.engine.fill.JRFillChartPlot
-
- net.sf.jasperreports.charts.fill.JRFillThermometerPlot
-
- All Implemented Interfaces:
java.lang.Cloneable,JRThermometerPlot,JRChartPlot,JRCloneable
public class JRFillThermometerPlot extends JRFillChartPlot implements JRThermometerPlot
- Author:
- Barry Klawans (bklawans@users.sourceforge.net)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.sf.jasperreports.engine.JRChartPlot
JRChartPlot.JRSeriesColor
-
-
Field Summary
-
Fields inherited from class net.sf.jasperreports.engine.fill.JRFillChartPlot
chart, parent
-
-
Constructor Summary
Constructors Constructor Description JRFillThermometerPlot(JRThermometerPlot thermoPlot, JRFillObjectFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JRDataRangegetDataRange()Returns the range of values displayed by this thermometer.JRDataRangegetHighRange()Returns the high range, ornullif undefined.JRDataRangegetLowRange()Returns the low range, ornullif undefined.JRDataRangegetMediumRange()Returns the medium range, ornullif undefined.java.awt.ColorgetMercuryColor()Returns the color of the "mercury" in the thermometer when the value is not in a defined range.JRValueDisplaygetValueDisplay()Returns formatting information for the textual representation of the value.ValueLocationEnumgetValueLocationValue()Returns the location where the value of the thermometer will be shown.-
Methods inherited from class net.sf.jasperreports.engine.fill.JRFillChartPlot
addSeriesColor, clearSeriesColors, clone, clone, collectExpressions, getBackcolor, getBackgroundAlphaFloat, getChart, getForegroundAlphaFloat, getLabelRotationDouble, getOrientationValue, getOwnBackcolor, getSeriesColors, getStyleResolver, setBackcolor, setBackgroundAlpha, setBand, setForegroundAlpha, setLabelRotation, setOrientation, setSeriesColors
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sf.jasperreports.engine.JRChartPlot
addSeriesColor, clearSeriesColors, clone, collectExpressions, getBackcolor, getBackgroundAlphaFloat, getChart, getForegroundAlphaFloat, getLabelRotationDouble, getOrientationValue, getOwnBackcolor, getSeriesColors, setBackcolor, setBackgroundAlpha, setForegroundAlpha, setLabelRotation, setOrientation, setSeriesColors
-
Methods inherited from interface net.sf.jasperreports.engine.JRCloneable
clone
-
-
-
-
Constructor Detail
-
JRFillThermometerPlot
public JRFillThermometerPlot(JRThermometerPlot thermoPlot, JRFillObjectFactory factory)
-
-
Method Detail
-
getDataRange
public JRDataRange getDataRange()
Description copied from interface:JRThermometerPlotReturns the range of values displayed by this thermometer. This range corresponds with the scale on the thermometer.- Specified by:
getDataRangein interfaceJRThermometerPlot- Returns:
- the range of values displayed by this thermometer
-
getValueDisplay
public JRValueDisplay getValueDisplay()
Description copied from interface:JRThermometerPlotReturns formatting information for the textual representation of the value.- Specified by:
getValueDisplayin interfaceJRThermometerPlot- Returns:
- formatting information for the value
-
getValueLocationValue
public ValueLocationEnum getValueLocationValue()
Description copied from interface:JRThermometerPlotReturns the location where the value of the thermometer will be shown. The return value will be one ofNONE,LEFT,RIGHTorBULB.- Specified by:
getValueLocationValuein interfaceJRThermometerPlot- Returns:
- the location where the value of the thermometer will be shown
-
getMercuryColor
public java.awt.Color getMercuryColor()
Description copied from interface:JRThermometerPlotReturns the color of the "mercury" in the thermometer when the value is not in a defined range.- Specified by:
getMercuryColorin interfaceJRThermometerPlot- Returns:
- the default color of the mercury in the thermometer
-
getLowRange
public JRDataRange getLowRange()
Description copied from interface:JRThermometerPlotReturns the low range, ornullif undefined.- Specified by:
getLowRangein interfaceJRThermometerPlot- Returns:
- the low range, or
nullif undefined.
-
getMediumRange
public JRDataRange getMediumRange()
Description copied from interface:JRThermometerPlotReturns the medium range, ornullif undefined.- Specified by:
getMediumRangein interfaceJRThermometerPlot- Returns:
- the medium range, or
nullif undefined.
-
getHighRange
public JRDataRange getHighRange()
Description copied from interface:JRThermometerPlotReturns the high range, ornullif undefined.- Specified by:
getHighRangein interfaceJRThermometerPlot- Returns:
- the high range, or
nullif undefined.
-
-