public class JRBaseThermometerPlot extends JRBaseChartPlot implements JRThermometerPlot
JRBaseChartPlot.JRBaseSeriesColorJRChartPlot.JRSeriesColor| Modifier and Type | Field and Description |
|---|---|
protected JRDataRange |
dataRange
The range of values that can be displayed by this thermometer.
|
protected JRDataRange |
highRange
The boundaries of the high range.
|
protected JRDataRange |
lowRange
The boundaries of the low range.
|
protected JRDataRange |
mediumRange
The boundaries of the medium range.
|
protected Color |
mercuryColor
The default color to use for the mercury in the thermometer.
|
protected JRValueDisplay |
valueDisplay
Formatting information for the textual display of the value, including
font, color and a mask.
|
protected ValueLocationEnum |
valueLocationObject
Specifies where the textual display of the value should be shown.
|
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 |
|---|
JRBaseThermometerPlot(JRChartPlot plot,
JRChart chart)
Constructs a new thermometer plot that is a copy of an existing one.
|
JRBaseThermometerPlot(JRThermometerPlot thermoPlot,
JRBaseObjectFactory factory)
Constructs a new plot that is a copy of an existing one, and registers
all expression used by the plot with the specified factory.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
clone(JRChart parentChart) |
void |
collectExpressions(JRExpressionCollector collector)
Adds all the expression used by this plot with the specified collector.
|
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. |
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 |
getValueLocationValue()
Returns the location where the value of the thermometer will be shown.
|
addSeriesColor, clearSeriesColors, clone, getBackcolor, getBackgroundAlphaFloat, getChart, getEventSupport, getForegroundAlphaFloat, getLabelRotationDouble, getOrientation, getOrientationValue, getOwnBackcolor, getSeriesColors, getStyleResolver, setBackcolor, setBackgroundAlpha, setForegroundAlpha, setLabelRotation, setOrientation, setOrientation, setSeriesColorsequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddSeriesColor, clearSeriesColors, getBackcolor, getBackgroundAlphaFloat, getChart, getForegroundAlphaFloat, getLabelRotationDouble, getOrientation, getOrientationValue, getOwnBackcolor, getSeriesColors, setBackcolor, setBackgroundAlpha, setForegroundAlpha, setLabelRotation, setOrientation, setOrientation, setSeriesColorscloneprotected JRDataRange dataRange
protected JRValueDisplay valueDisplay
protected ValueLocationEnum valueLocationObject
protected Color mercuryColor
protected JRDataRange lowRange
protected JRDataRange mediumRange
protected JRDataRange highRange
public JRBaseThermometerPlot(JRChartPlot plot, JRChart chart)
plot - the plot to copychart - the parent chartpublic JRBaseThermometerPlot(JRThermometerPlot thermoPlot, JRBaseObjectFactory factory)
thermoPlot - the plot to copyfactory - the factory to register any expressions withpublic JRDataRange getDataRange()
JRThermometerPlotgetDataRange in interface JRThermometerPlotpublic JRValueDisplay getValueDisplay()
JRThermometerPlotgetValueDisplay in interface JRThermometerPlotpublic ValueLocationEnum getValueLocationValue()
JRThermometerPlotNONE,
LEFT, RIGHT or
BULB.getValueLocationValue in interface JRThermometerPlotpublic Color getMercuryColor()
JRThermometerPlotgetMercuryColor in interface JRThermometerPlotpublic JRDataRange getLowRange()
JRThermometerPlotnull if undefined.getLowRange in interface JRThermometerPlotnull if undefined.public JRDataRange getMediumRange()
JRThermometerPlotnull if undefined.getMediumRange in interface JRThermometerPlotnull if undefined.public JRDataRange getHighRange()
JRThermometerPlotnull if undefined.getHighRange in interface JRThermometerPlotnull if undefined.public void collectExpressions(JRExpressionCollector collector)
collectExpressions in interface JRChartPlotcollector - the expression collector to usepublic Object clone(JRChart parentChart)
clone in interface JRChartPlotclone in class JRBaseChartPlotCopyright © 2017. All rights reserved.