net.sf.jasperreports.charts.fill
Class JRFillThermometerPlot

java.lang.Object
  extended by net.sf.jasperreports.engine.fill.JRFillChartPlot
      extended by net.sf.jasperreports.charts.fill.JRFillThermometerPlot
All Implemented Interfaces:
JRThermometerPlot, JRChartPlot

public class JRFillThermometerPlot
extends JRFillChartPlot
implements JRThermometerPlot

Version:
$Id: JRFillThermometerPlot.java 1794 2007-07-30 09:07:50Z teodord $
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
 
Fields inherited from interface net.sf.jasperreports.charts.JRThermometerPlot
LOCATION_BULB, LOCATION_LEFT, LOCATION_NONE, LOCATION_RIGHT
 
Constructor Summary
JRFillThermometerPlot(JRThermometerPlot thermoPlot, JRFillObjectFactory factory)
           
 
Method Summary
 JRDataRange getDataRange()
          Returns the range of values displayed by this thermometer.
 JRDataRange getHighRange()
          Returns the high range, or null if undefined.
 JRDataRange getLowRange()
          Returns the low range, or null if undefined.
 JRDataRange getMediumRange()
          Returns the medium range, or null if undefined.
 java.awt.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.
 byte getValueLocation()
          Returns the location where the value of the thermometer will be shown.
 boolean isShowValueLines()
          Returns whether or not lines are drawn showing the bounds of each defined range.
 
Methods inherited from class net.sf.jasperreports.engine.fill.JRFillChartPlot
addSeriesColor, clearSeriesColors, clone, collectExpressions, getBackcolor, getBackgroundAlpha, getChart, getForegroundAlpha, getLabelRotation, getOrientation, getOwnBackcolor, getSeriesColors, setBackcolor, setBackgroundAlpha, setForegroundAlpha, setLabelRotation, setOrientation, setSeriesColors
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.jasperreports.engine.JRChartPlot
addSeriesColor, clearSeriesColors, clone, collectExpressions, getBackcolor, getBackgroundAlpha, getChart, getForegroundAlpha, getLabelRotation, getOrientation, getOwnBackcolor, getSeriesColors, setBackcolor, setBackgroundAlpha, setForegroundAlpha, setLabelRotation, setOrientation, setSeriesColors
 

Constructor Detail

JRFillThermometerPlot

public JRFillThermometerPlot(JRThermometerPlot thermoPlot,
                             JRFillObjectFactory 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 interface JRThermometerPlot
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 interface JRThermometerPlot
Returns:
formatting information for the value

isShowValueLines

public boolean isShowValueLines()
Description copied from interface: JRThermometerPlot
Returns whether or not lines are drawn showing the bounds of each defined range.

Specified by:
isShowValueLines in interface JRThermometerPlot
Returns:
true if range bounds are shown, false otherwise

getValueLocation

public byte getValueLocation()
Description copied from interface: JRThermometerPlot
Returns the location where the value of the thermometer will be shown. The return value will be one of LOCATION_NONE, LOCATION_LEFT, LOCATION_RIGHT or LOCATION_BULB.

Specified by:
getValueLocation in interface JRThermometerPlot
Returns:
the location where the value of the thermometer will be shown

getMercuryColor

public java.awt.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 interface JRThermometerPlot
Returns:
the default color of the mercury in the thermometer

getLowRange

public JRDataRange getLowRange()
Description copied from interface: JRThermometerPlot
Returns the low range, or null if undefined.

Specified by:
getLowRange in interface JRThermometerPlot
Returns:
the low range, or null if undefined.

getMediumRange

public JRDataRange getMediumRange()
Description copied from interface: JRThermometerPlot
Returns the medium range, or null if undefined.

Specified by:
getMediumRange in interface JRThermometerPlot
Returns:
the medium range, or null if undefined.

getHighRange

public JRDataRange getHighRange()
Description copied from interface: JRThermometerPlot
Returns the high range, or null if undefined.

Specified by:
getHighRange in interface JRThermometerPlot
Returns:
the high range, or null if undefined.


© 2001-2006 JasperSoft Corporation www.jaspersoft.com