Example usage for Java org.jfree.chart.plot MeterPlot fields, constructors, methods, implement or subclass
The text is from its open source code.
float | DEFAULT_CIRCLE_SIZE The default circle size. |
MeterPlot(ValueDataset dataset) Creates a new plot that displays the value from the supplied dataset. | |
MeterPlot() Creates a new plot with a default range of 0 to 100 and no value to display. |
void | addInterval(MeterInterval interval) Adds an interval and sends a PlotChangeEvent to all registered listeners. |
ValueDataset | getDataset() Returns the dataset for the plot. |
Paint | getDialBackgroundPaint() Returns the paint for the dial background. |
DialShape | getDialShape() Returns the dial shape. |
List | getIntervals() Returns an unmodifiable list of the intervals for the plot. |
int | getMeterAngle() Returns the meter angle in degrees. |
Paint | getNeedlePaint() Returns the paint for the needle. |
Range | getRange() Returns the overall range for the dial. |
Font | getTickLabelFont() Returns the tick label font. |
NumberFormat | getTickLabelFormat() Returns the tick label format. |
Paint | getTickPaint() Returns the paint used to draw the ticks around the dial. |
double | getTickSize() Returns the tick size (the interval between ticks on the dial). |
String | getUnits() Returns a string describing the units for the dial. |
Font | getValueFont() Returns the font for the value label. |
Paint | getValuePaint() Returns the paint for the value label. |
void | setBackgroundImageAlpha(float alpha) Sets the alpha transparency used when drawing the background image. |
void | setBackgroundPaint(Paint paint) Sets the background color of the plot area and sends a PlotChangeEvent to all registered listeners. |
void | setDialBackgroundPaint(Paint paint) Sets the paint used to fill the dial background. |
void | setDialOutlinePaint(Paint paint) Sets the dial outline paint and sends a PlotChangeEvent to all registered listeners. |
void | setDialShape(DialShape shape) Sets the dial shape 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 | setMeterAngle(int angle) Sets the angle (in degrees) for the whole range of the dial and sends a PlotChangeEvent to all registered listeners. |
void | setNeedlePaint(Paint paint) Sets the paint used to display the needle and sends a PlotChangeEvent to all registered listeners. |
void | setNoDataMessageFont(Font font) Sets the font used to display the 'no data' message and sends a PlotChangeEvent to all registered listeners. |
void | setRange(Range range) Sets the range for the dial and sends a PlotChangeEvent to all registered listeners. |
void | setTickLabelFont(Font font) Sets the tick label font and sends a PlotChangeEvent to all registered listeners. |
void | setTickLabelFormat(NumberFormat format) Sets the format for the tick labels and sends a PlotChangeEvent to all registered listeners. |
void | setTickLabelPaint(Paint paint) Sets the tick label paint and sends a PlotChangeEvent to all registered listeners. |
void | setTickLabelsVisible(boolean visible) Sets the flag that controls whether or not the tick labels are visible and sends a PlotChangeEvent to all registered listeners. |
void | setTickPaint(Paint paint) Sets the paint used to draw the tick labels around the dial and sends a PlotChangeEvent to all registered listeners. |
void | setTickSize(double size) Sets the tick size and sends a PlotChangeEvent to all registered listeners. |
void | setUnits(String units) Sets the units for the dial and sends a PlotChangeEvent to all registered listeners. |
void | setValueFont(Font font) Sets the font used to display the value label and sends a PlotChangeEvent to all registered listeners. |
void | setValuePaint(Paint paint) Sets the paint used to display the value label and sends a PlotChangeEvent to all registered listeners. |