Example usage for Java org.jfree.chart.plot ThermometerPlot fields, constructors, methods, implement or subclass
The text is from its open source code.
int | UNITS_NONE A constant for unit type 'None'. |
int | UNITS_FAHRENHEIT A constant for unit type 'Fahrenheit'. |
int | UNITS_CELCIUS A constant for unit type 'Celcius'. |
int | UNITS_KELVIN A constant for unit type 'Kelvin'. |
int | NONE A constant for the value label position (no label). |
int | RIGHT A constant for the value label position (right of the thermometer). |
int | LEFT A constant for the value label position (left of the thermometer). |
int | BULB A constant for the value label position (in the thermometer bulb). |
int | NORMAL A constant for the 'normal' range. |
int | WARNING A constant for the 'warning' range. |
int | CRITICAL A constant for the 'critical' range. |
ThermometerPlot(ValueDataset dataset) Creates a new thermometer plot, using default attributes where necessary. |
Class> | getClass() Returns the runtime class of this Object . |
ValueDataset | getDataset() Returns the dataset for the plot. |
double | getLowerBound() Returns the lower bound for the thermometer. |
Paint | getMercuryPaint() Returns the default mercury paint. |
ValueAxis | getRangeAxis() Returns the range axis. |
double | getUpperBound() Returns the upper bound for the thermometer. |
Font | getValueFont() Gets the font used to display the current value. |
int | getValueLocation() Returns a code indicating the location at which the value label is displayed. |
Paint | getValuePaint() Gets the paint used to display the current value. |
void | setBackgroundAlpha(float alpha) Sets the alpha transparency of the plot area background, and notifies registered listeners that the plot has been modified. |
void | setBackgroundPaint(Paint paint) Sets the background color of the plot area and sends a PlotChangeEvent to all registered listeners. |
void | setBulbRadius(int r) Sets the bulb radius (in Java2D units) and sends a PlotChangeEvent to all registered listeners. |
void | setColumnRadius(int r) Sets the column radius (in Java2D units) and sends a PlotChangeEvent to all registered listeners. |
void | setDisplayRange(int range, double low, double high) Sets the displayed bounds for a sub range. |
void | setGap(int gap) Sets the gap (in Java2D units) between the two outlines that represent the thermometer, and sends a PlotChangeEvent to all registered listeners. |
void | setInsets(RectangleInsets insets) Sets the insets for the plot and sends a PlotChangeEvent to all registered listeners. |
void | setLowerBound(double lower) Sets the lower bound for the thermometer. |
void | setMercuryPaint(Paint paint) Sets the default mercury paint and sends a PlotChangeEvent to all registered listeners. |
void | setOutlineVisible(boolean visible) Sets the flag that controls whether or not the plot's outline is drawn, and sends a PlotChangeEvent to all registered listeners. |
void | setPadding(RectangleInsets padding) Sets the padding for the thermometer and sends a PlotChangeEvent to all registered listeners. |
void | setRange(double lower, double upper) Sets the lower and upper bounds for the thermometer. |
void | setRangeAxis(ValueAxis axis) Sets the range axis for the plot and sends a PlotChangeEvent to all registered listeners. |
void | setSubrange(int range, double low, double high) Sets the bounds for a subrange. |
void | setSubrangeInfo(int range, double low, double hi) Sets information for a particular range. |
void | setSubrangeInfo(int range, double rangeLow, double rangeHigh, double displayLow, double displayHigh) Sets the subrangeInfo attribute of the ThermometerPlot object |
void | setSubrangePaint(int range, Paint paint) Sets the paint to be used for a subrange and sends a PlotChangeEvent to all registered listeners. |
void | setThermometerPaint(Paint paint) Sets the paint used to draw the thermometer outline and sends a PlotChangeEvent to all registered listeners. |
void | setThermometerStroke(Stroke s) Sets the stroke used to draw the thermometer outline and sends a PlotChangeEvent to all registered listeners. |
void | setUnits(int u) Sets the units to be displayed in the thermometer. |
void | setUnits(String u) Sets the unit type. |
void | setUpperBound(double upper) Sets the upper bound for the thermometer. |
void | setUseSubrangePaint(boolean flag) Sets the range colour change option. |
void | setValueFont(Font f) Sets the font used to display the current value. |
void | setValueFormat(NumberFormat formatter) Sets the formatter for the value label and sends a PlotChangeEvent to all registered listeners. |
void | setValueLocation(int location) Sets the location at which the current value is displayed and sends a PlotChangeEvent to all registered listeners. |
void | setValuePaint(Paint paint) Sets the paint used to display the current value and sends a PlotChangeEvent to all registered listeners. |