| net.sf.jasperreports.charts.JRThermometerPlot
All known Subclasses: net.sf.jasperreports.charts.base.JRBaseThermometerPlot, net.sf.jasperreports.charts.fill.JRFillThermometerPlot,
JRThermometerPlot | public interface JRThermometerPlot extends JRChartPlot(Code) | | 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) version: $Id: JRThermometerPlot.java 1792 2007-07-30 08:57:32Z teodord $ |
Field Summary | |
final public static byte | LOCATION_BULB The value should be displayed in the bulb of the thermometer. | final public static byte | LOCATION_LEFT The value should be displayed to the left of the thermometer. | final public static byte | LOCATION_NONE The value should not be displayed. | final public static byte | LOCATION_RIGHT The value should be displayed to the right of the thermometer. |
LOCATION_BULB | final public static byte LOCATION_BULB(Code) | | The value should be displayed in the bulb of the thermometer. When
using this option make sure the font is small enough or the value short
enough so the value fits in the bulb.
|
LOCATION_LEFT | final public static byte LOCATION_LEFT(Code) | | The value should be displayed to the left of the thermometer.
|
LOCATION_NONE | final public static byte LOCATION_NONE(Code) | | The value should not be displayed.
|
LOCATION_RIGHT | final public static byte LOCATION_RIGHT(Code) | | The value should be displayed to the right of the thermometer.
|
getDataRange | public JRDataRange getDataRange()(Code) | | Returns the range of values displayed by this thermometer. This range
corresponds with the scale on the thermometer.
the range of values displayed by this thermometer |
getHighRange | public JRDataRange getHighRange()(Code) | | Returns the high range, or null if undefined.
the high range, or null if undefined. |
getLowRange | public JRDataRange getLowRange()(Code) | | Returns the low range, or null if undefined.
the low range, or null if undefined. |
getMediumRange | public JRDataRange getMediumRange()(Code) | | Returns the medium range, or null if undefined.
the medium range, or null if undefined. |
getMercuryColor | public Color getMercuryColor()(Code) | | Returns the color of the "mercury" in the thermometer when the value is
not in a defined range.
the default color of the mercury in the thermometer |
getValueDisplay | public JRValueDisplay getValueDisplay()(Code) | | Returns formatting information for the textual representation of the value.
formatting information for the value |
getValueLocation | public byte getValueLocation()(Code) | | 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 .
the location where the value of the thermometer will be shown |
isShowValueLines | public boolean isShowValueLines()(Code) | | Returns whether or not lines are drawn showing the bounds of each defined
range.
true if range bounds are shown, false otherwise |
|
|