Package net.sf.jasperreports.charts.fill
Class JRFillThermometerPlot
- java.lang.Object
-
- net.sf.jasperreports.charts.fill.JRFillChartPlot
-
- net.sf.jasperreports.charts.fill.JRFillThermometerPlot
-
- All Implemented Interfaces:
Cloneable
,JRChartPlot
,JRThermometerPlot
,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.charts.JRChartPlot
JRChartPlot.JRSeriesColor
-
-
Field Summary
-
Fields inherited from class net.sf.jasperreports.charts.fill.JRFillChartPlot
chart, parent
-
-
Constructor Summary
Constructors Constructor Description JRFillThermometerPlot(JRThermometerPlot thermoPlot, ChartsFillObjectFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JRDataRange
getDataRange()
Returns the range of values displayed by this thermometer.JRDataRange
getHighRange()
Returns the high range, ornull
if undefined.JRDataRange
getLowRange()
Returns the low range, ornull
if undefined.JRDataRange
getMediumRange()
Returns the medium range, ornull
if undefined.Color
getMercuryColor()
Returns the color of the "mercury" in the thermometer when the value is not in a defined range.JRValueDisplay
getValueDisplay()
Returns formatting information for the textual representation of the value.ValueLocationEnum
getValueLocation()
Returns the location where the value of the thermometer will be shown.-
Methods inherited from class net.sf.jasperreports.charts.fill.JRFillChartPlot
addSeriesColor, clearSeriesColors, clone, clone, collectExpressions, getBackcolor, getBackgroundAlpha, getChart, getForegroundAlpha, getLabelRotation, getOrientation, 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.charts.JRChartPlot
addSeriesColor, clearSeriesColors, clone, collectExpressions, getBackcolor, getBackgroundAlpha, getChart, getForegroundAlpha, getLabelRotation, getOrientation, 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, ChartsFillObjectFactory factory)
-
-
Method Detail
-
getDataRange
public JRDataRange getDataRange()
Description copied from interface:JRThermometerPlot
Returns the range of values displayed by this thermometer. This range corresponds with the scale on the thermometer.- Specified by:
getDataRange
in interfaceJRThermometerPlot
- Returns:
- the range of values displayed by this thermometer
-
getValueDisplay
public JRValueDisplay getValueDisplay()
Description copied from interface:JRThermometerPlot
Returns formatting information for the textual representation of the value.- Specified by:
getValueDisplay
in interfaceJRThermometerPlot
- Returns:
- formatting information for the value
-
getValueLocation
public ValueLocationEnum getValueLocation()
Description copied from interface:JRThermometerPlot
Returns the location where the value of the thermometer will be shown. The return value will be one ofNONE
,LEFT
,RIGHT
orBULB
.- Specified by:
getValueLocation
in interfaceJRThermometerPlot
- Returns:
- the location where the value of the thermometer will be shown
-
getMercuryColor
public Color getMercuryColor()
Description copied from interface:JRThermometerPlot
Returns the color of the "mercury" in the thermometer when the value is not in a defined range.- Specified by:
getMercuryColor
in interfaceJRThermometerPlot
- Returns:
- the default color of the mercury in the thermometer
-
getLowRange
public JRDataRange getLowRange()
Description copied from interface:JRThermometerPlot
Returns the low range, ornull
if undefined.- Specified by:
getLowRange
in interfaceJRThermometerPlot
- Returns:
- the low range, or
null
if undefined.
-
getMediumRange
public JRDataRange getMediumRange()
Description copied from interface:JRThermometerPlot
Returns the medium range, ornull
if undefined.- Specified by:
getMediumRange
in interfaceJRThermometerPlot
- Returns:
- the medium range, or
null
if undefined.
-
getHighRange
public JRDataRange getHighRange()
Description copied from interface:JRThermometerPlot
Returns the high range, ornull
if undefined.- Specified by:
getHighRange
in interfaceJRThermometerPlot
- Returns:
- the high range, or
null
if undefined.
-
-