| |
|
| java.lang.Object net.sf.jasperreports.engine.base.JRBaseChartPlot net.sf.jasperreports.charts.base.JRBaseMeterPlot
All known Subclasses: net.sf.jasperreports.charts.design.JRDesignMeterPlot,
JRBaseMeterPlot | public class JRBaseMeterPlot extends JRBaseChartPlot implements JRMeterPlot(Code) | | An immutable representation of the layout of a Meter chart.
author: Barry Klawans (bklawans@users.sourceforge.net) version: $Id: JRBaseMeterPlot.java 1793 2007-07-30 09:06:18Z teodord $ |
intervals | protected List intervals(Code) | | The defined intervals for the Meter. Each interval indicates a
subsection of the meter and a color to use for that section.
|
meterAngle | protected int meterAngle(Code) | | The extend of the meter face in degrees. It will always be centered
around the straight up position.
|
meterBackgroundColor | protected Color meterBackgroundColor(Code) | | The color to use for the face of the meter.
|
needleColor | protected Color needleColor(Code) | | The color to use for the pointer on the meter.
|
shape | protected byte shape(Code) | | The shape to use when drawing the Meter. Only applied if the meter is
over 180 degrees wide and less than a full circle.
|
tickColor | protected Color tickColor(Code) | | The color to use for each tick on the face of the meter.
|
tickInterval | protected double tickInterval(Code) | | How often to draw ticks around the face of the meter. The interval
is relative to the meter range - if the meter displays 100 to 200 and
the tickInterval is 20, there will be 4 ticks at 120, 140, 160 and 180.
|
units | protected String units(Code) | | Optional description of what the meter is displaying. It will be
appended to the textual representation of the value.
|
valueDisplay | protected JRValueDisplay valueDisplay(Code) | | Formatting information for the textual display of the value.
|
JRBaseMeterPlot | public JRBaseMeterPlot(JRChartPlot meterPlot, JRChart chart)(Code) | | Constructs a copy of an existing meter.
Parameters: meterPlot - the meter to copy |
JRBaseMeterPlot | public JRBaseMeterPlot(JRMeterPlot meterPlot, JRBaseObjectFactory factory)(Code) | | Constructs a copy of an existing meter and registers all expressions
maintained by the meter plot with a factory.
Parameters: meterPlot - the meter to copy Parameters: factory - the factory to register expressions with |
collectExpressions | public void collectExpressions(JRExpressionCollector collector)(Code) | | Adds all the expression used by this plot with the specified collector.
All collected expression that are also registered with a factory will
be included with the report is compiled.
Parameters: collector - the expression collector to use |
getMeterAngle | public int getMeterAngle()(Code) | | |
getMeterBackgroundColor | public Color getMeterBackgroundColor()(Code) | | |
getShape | public byte getShape()(Code) | | |
getTickInterval | public double getTickInterval()(Code) | | |
|
|
|