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, orientationValue, PROPERTY_BACKCOLOR, PROPERTY_BACKGROUND_ALPHA, PROPERTY_FOREGROUND_ALPHA, PROPERTY_LABEL_ROTATION, PROPERTY_ORIENTATION, PROPERTY_SERIES_COLORS, seriesColors
Constructor and Description |
---|
JRDesignThermometerPlot(JRChartPlot plot,
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(ValueLocationEnum valueLocationObject)
Sets where to show the textual display of the value.
|
clone, collectExpressions, getDataRange, getHighRange, getLowRange, getMediumRange, getMercuryColor, getValueDisplay, getValueLocationValue, isShowValueLines
addSeriesColor, clearSeriesColors, clone, getBackcolor, getBackgroundAlphaFloat, getChart, getEventSupport, getForegroundAlphaFloat, getLabelRotationDouble, getOrientation, getOrientationValue, getOwnBackcolor, getSeriesColors, setBackcolor, setBackgroundAlpha, setForegroundAlpha, setLabelRotation, setOrientation, setSeriesColors
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addSeriesColor, clearSeriesColors, getBackcolor, getBackgroundAlphaFloat, getChart, getForegroundAlphaFloat, getLabelRotationDouble, getOrientation, getOrientationValue, getOwnBackcolor, getSeriesColors, setBackcolor, setBackgroundAlpha, setForegroundAlpha, 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 plot, JRChart chart)
plot
- 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(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