Java org.jfree.chart.plot ThermometerPlot fields, constructors, methods, implement or subclass

Example usage for Java org.jfree.chart.plot ThermometerPlot fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.jfree.chart.plot ThermometerPlot.

The text is from its open source code.

Field

intUNITS_NONE
A constant for unit type 'None'.
intUNITS_FAHRENHEIT
A constant for unit type 'Fahrenheit'.
intUNITS_CELCIUS
A constant for unit type 'Celcius'.
intUNITS_KELVIN
A constant for unit type 'Kelvin'.
intNONE
A constant for the value label position (no label).
intRIGHT
A constant for the value label position (right of the thermometer).
intLEFT
A constant for the value label position (left of the thermometer).
intBULB
A constant for the value label position (in the thermometer bulb).
intNORMAL
A constant for the 'normal' range.
intWARNING
A constant for the 'warning' range.
intCRITICAL
A constant for the 'critical' range.

Constructor

ThermometerPlot(ValueDataset dataset)
Creates a new thermometer plot, using default attributes where necessary.

Method

ClassgetClass()
Returns the runtime class of this Object .
ValueDatasetgetDataset()
Returns the dataset for the plot.
doublegetLowerBound()
Returns the lower bound for the thermometer.
PaintgetMercuryPaint()
Returns the default mercury paint.
ValueAxisgetRangeAxis()
Returns the range axis.
doublegetUpperBound()
Returns the upper bound for the thermometer.
FontgetValueFont()
Gets the font used to display the current value.
intgetValueLocation()
Returns a code indicating the location at which the value label is displayed.
PaintgetValuePaint()
Gets the paint used to display the current value.
voidsetBackgroundAlpha(float alpha)
Sets the alpha transparency of the plot area background, and notifies registered listeners that the plot has been modified.
voidsetBackgroundPaint(Paint paint)
Sets the background color of the plot area and sends a PlotChangeEvent to all registered listeners.
voidsetBulbRadius(int r)
Sets the bulb radius (in Java2D units) and sends a PlotChangeEvent to all registered listeners.
voidsetColumnRadius(int r)
Sets the column radius (in Java2D units) and sends a PlotChangeEvent to all registered listeners.
voidsetDisplayRange(int range, double low, double high)
Sets the displayed bounds for a sub range.
voidsetGap(int gap)
Sets the gap (in Java2D units) between the two outlines that represent the thermometer, and sends a PlotChangeEvent to all registered listeners.
voidsetInsets(RectangleInsets insets)
Sets the insets for the plot and sends a PlotChangeEvent to all registered listeners.
voidsetLowerBound(double lower)
Sets the lower bound for the thermometer.
voidsetMercuryPaint(Paint paint)
Sets the default mercury paint and sends a PlotChangeEvent to all registered listeners.
voidsetOutlineVisible(boolean visible)
Sets the flag that controls whether or not the plot's outline is drawn, and sends a PlotChangeEvent to all registered listeners.
voidsetPadding(RectangleInsets padding)
Sets the padding for the thermometer and sends a PlotChangeEvent to all registered listeners.
voidsetRange(double lower, double upper)
Sets the lower and upper bounds for the thermometer.
voidsetRangeAxis(ValueAxis axis)
Sets the range axis for the plot and sends a PlotChangeEvent to all registered listeners.
voidsetSubrange(int range, double low, double high)
Sets the bounds for a subrange.
voidsetSubrangeInfo(int range, double low, double hi)
Sets information for a particular range.
voidsetSubrangeInfo(int range, double rangeLow, double rangeHigh, double displayLow, double displayHigh)
Sets the subrangeInfo attribute of the ThermometerPlot object
voidsetSubrangePaint(int range, Paint paint)
Sets the paint to be used for a subrange and sends a PlotChangeEvent to all registered listeners.
voidsetThermometerPaint(Paint paint)
Sets the paint used to draw the thermometer outline and sends a PlotChangeEvent to all registered listeners.
voidsetThermometerStroke(Stroke s)
Sets the stroke used to draw the thermometer outline and sends a PlotChangeEvent to all registered listeners.
voidsetUnits(int u)
Sets the units to be displayed in the thermometer.
voidsetUnits(String u)
Sets the unit type.
voidsetUpperBound(double upper)
Sets the upper bound for the thermometer.
voidsetUseSubrangePaint(boolean flag)
Sets the range colour change option.
voidsetValueFont(Font f)
Sets the font used to display the current value.
voidsetValueFormat(NumberFormat formatter)
Sets the formatter for the value label and sends a PlotChangeEvent to all registered listeners.
voidsetValueLocation(int location)
Sets the location at which the current value is displayed and sends a PlotChangeEvent to all registered listeners.
voidsetValuePaint(Paint paint)
Sets the paint used to display the current value and sends a PlotChangeEvent to all registered listeners.