Package net.sf.jasperreports.charts
Interface JRThermometerPlot
- All Superinterfaces:
Cloneable,JRChartPlot,JRCloneable
- All Known Implementing Classes:
JRBaseThermometerPlot,JRDesignThermometerPlot,JRFillThermometerPlot
Represents the display options of a Thermometer chart. A Thermometer chart
consists of the outline of a thermometer, a scale showing the reading of
the thermometer, three optional ranges corresponding to "good", "warning"
and "critical", and the textual display of the value.
- Author:
- Barry Klawans (bklawans@users.sourceforge.net)
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.sf.jasperreports.charts.JRChartPlot
JRChartPlot.JRSeriesColor -
Method Summary
Modifier and TypeMethodDescriptionReturns the range of values displayed by this thermometer.Returns the high range, ornullif undefined.Returns the low range, ornullif undefined.Returns the medium range, ornullif undefined.Returns the color of the "mercury" in the thermometer when the value is not in a defined range.Returns formatting information for the textual representation of the value.Returns the location where the value of the thermometer will be shown.Methods inherited from interface net.sf.jasperreports.charts.JRChartPlot
addSeriesColor, clearSeriesColors, clone, collectExpressions, getBackcolor, getBackgroundAlpha, getChart, getForegroundAlpha, getLabelRotation, getOrientation, getOwnBackcolor, getSeriesColors, setBackcolor, setBackgroundAlpha, setForegroundAlpha, setLabelRotation, setOrientation, setSeriesColorsMethods inherited from interface net.sf.jasperreports.engine.JRCloneable
clone
-
Method Details
-
getDataRange
JRDataRange getDataRange()Returns the range of values displayed by this thermometer. This range corresponds with the scale on the thermometer.- Returns:
- the range of values displayed by this thermometer
-
getValueDisplay
JRValueDisplay getValueDisplay()Returns formatting information for the textual representation of the value.- Returns:
- formatting information for the value
-
getValueLocation
ValueLocationEnum getValueLocation()Returns the location where the value of the thermometer will be shown. The return value will be one ofNONE,LEFT,RIGHTorBULB.- Returns:
- the location where the value of the thermometer will be shown
-
getMercuryColor
Color getMercuryColor()Returns the color of the "mercury" in the thermometer when the value is not in a defined range.- Returns:
- the default color of the mercury in the thermometer
-
getLowRange
JRDataRange getLowRange()Returns the low range, ornullif undefined.- Returns:
- the low range, or
nullif undefined.
-
getMediumRange
JRDataRange getMediumRange()Returns the medium range, ornullif undefined.- Returns:
- the medium range, or
nullif undefined.
-
getHighRange
JRDataRange getHighRange()Returns the high range, ornullif undefined.- Returns:
- the high range, or
nullif undefined.
-