net.sf.jasperreports.charts.design
public class JRDesignThermometerPlot extends JRBaseThermometerPlot
JRBaseChartPlot.JRBaseSeriesColor
JRChartPlot.JRSeriesColor
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROPERTY_DATA_RANGE |
static java.lang.String |
PROPERTY_HIGH_RANGE |
static java.lang.String |
PROPERTY_LOW_RANGE |
static java.lang.String |
PROPERTY_MEDIUM_RANGE |
static java.lang.String |
PROPERTY_MERCURY_COLOR |
static java.lang.String |
PROPERTY_SHOW_VALUE_LINES
Deprecated.
No longer used.
|
static java.lang.String |
PROPERTY_VALUE_DISPLAY |
static java.lang.String |
PROPERTY_VALUE_LOCATION |
dataRange, highRange, lowRange, mediumRange, mercuryColor, showValueLines, valueDisplay, valueLocationObject
backcolor, backgroundAlphaFloat, chart, foregroundAlphaFloat, labelRotationDouble, orientation, PROPERTY_BACKCOLOR, PROPERTY_BACKGROUND_ALPHA, PROPERTY_FOREGROUND_ALPHA, PROPERTY_LABEL_ROTATION, PROPERTY_ORIENTATION, PROPERTY_SERIES_COLORS, seriesColors
LOCATION_BULB, LOCATION_LEFT, LOCATION_NONE, LOCATION_RIGHT
Constructor and Description |
---|
JRDesignThermometerPlot(JRChartPlot thermoPlot,
JRChart chart)
Constructs a new plot that is a copy of an existing one.
|
Modifier and Type | Method and Description |
---|---|
void |
setDataRange(JRDataRange dataRange)
Sets the range of values that can be displayed by this thermometer.
|
void |
setHighRange(JRDataRange highRange)
Specifies the high range of the thermometer.
|
void |
setLowRange(JRDataRange lowRange)
Specifies the low range of the thermometer.
|
void |
setMediumRange(JRDataRange mediumRange)
Specifies the medium range of the thermometer.
|
void |
setMercuryColor(java.awt.Color mercuryColor)
Sets the default color of the mercury in the thermometer.
|
void |
setShowValueLines(boolean showValueLines)
Deprecated.
No longer used.
|
void |
setValueDisplay(JRValueDisplay valueDisplay)
Sets the formatting option for the textual display of the
value.
|
void |
setValueLocation(byte valueLocation)
Deprecated.
Replaced by
setValueLocation(ValueLocationEnum) |
void |
setValueLocation(java.lang.Byte valueLocation)
Deprecated.
Replaced by
setValueLocation(ValueLocationEnum) |
void |
setValueLocation(ValueLocationEnum valueLocationObject)
Sets where to show the textual display of the value.
|
clone, collectExpressions, getDataRange, getHighRange, getLowRange, getMediumRange, getMercuryColor, getValueDisplay, getValueLocation, getValueLocationByte, getValueLocationValue, isShowValueLines
addSeriesColor, clearSeriesColors, clone, getBackcolor, getBackgroundAlpha, getBackgroundAlphaFloat, getChart, getEventSupport, getForegroundAlpha, getForegroundAlphaFloat, getLabelRotation, getLabelRotationDouble, getOrientation, getOwnBackcolor, getSeriesColors, setBackcolor, setBackgroundAlpha, setBackgroundAlpha, setForegroundAlpha, setForegroundAlpha, setLabelRotation, setLabelRotation, setOrientation, setSeriesColors
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addSeriesColor, clearSeriesColors, getBackcolor, getBackgroundAlpha, getBackgroundAlphaFloat, getChart, getForegroundAlpha, getForegroundAlphaFloat, getLabelRotation, getLabelRotationDouble, getOrientation, getOwnBackcolor, getSeriesColors, setBackcolor, setBackgroundAlpha, setBackgroundAlpha, setForegroundAlpha, setForegroundAlpha, setLabelRotation, setLabelRotation, setOrientation, setSeriesColors
clone
public static final java.lang.String PROPERTY_DATA_RANGE
public static final java.lang.String PROPERTY_HIGH_RANGE
public static final java.lang.String PROPERTY_LOW_RANGE
public static final java.lang.String PROPERTY_MEDIUM_RANGE
public static final java.lang.String PROPERTY_MERCURY_COLOR
public static final java.lang.String PROPERTY_SHOW_VALUE_LINES
public static final java.lang.String PROPERTY_VALUE_DISPLAY
public static final java.lang.String PROPERTY_VALUE_LOCATION
public JRDesignThermometerPlot(JRChartPlot thermoPlot, JRChart chart)
thermoPlot
- the plot to copypublic void setDataRange(JRDataRange dataRange)
dataRange
- the range of values to displaypublic void setValueDisplay(JRValueDisplay valueDisplay)
valueDisplay
- the value display formatting optionspublic void setShowValueLines(boolean showValueLines)
public void setValueLocation(byte valueLocation)
setValueLocation(ValueLocationEnum)
public void setValueLocation(java.lang.Byte valueLocation)
setValueLocation(ValueLocationEnum)
public void setValueLocation(ValueLocationEnum valueLocationObject)
valueLocationObject
- where to show the textual display of the valuepublic void setMercuryColor(java.awt.Color mercuryColor)
mercuryColor
- the default color of the mercurypublic void setLowRange(JRDataRange lowRange)
lowRange
- the low range of the thermometerpublic void setMediumRange(JRDataRange mediumRange)
mediumRange
- the medium range of the thermometerpublic void setHighRange(JRDataRange highRange)
highRange
- the high range of the thermometer© 2001-2010 Jaspersoft Corporation www.jaspersoft.com