| |
|
| net.sf.jasperreports.charts.JRMeterPlot
All known Subclasses: net.sf.jasperreports.charts.fill.JRFillMeterPlot, net.sf.jasperreports.charts.base.JRBaseMeterPlot,
JRMeterPlot | public interface JRMeterPlot extends JRChartPlot(Code) | | Represents the display options of a Meter Chart. A meter chart consists of a dial,
a needle pointing to the current value on the dial, and the value itself. The Meter
can be broken up into shaded regions to highlight portions of the range.
author: Barry Klawans (bklawans@users.sourceforge.net) version: $Id: JRMeterPlot.java 1792 2007-07-30 08:57:32Z teodord $ |
Field Summary | |
final public static byte | SHAPE_CHORD The portion of the circle described by the Meter that is not occupied by the
Meter is drawn as a chord. | final public static byte | SHAPE_CIRCLE The portion of the circle described by the Meter that is not occupied by the
Meter is drawn as a circle. | final public static byte | SHAPE_PIE The portion of the circle described by the Meter that is not occupied by the
Meter is not drawn. |
SHAPE_CHORD | final public static byte SHAPE_CHORD(Code) | | The portion of the circle described by the Meter that is not occupied by the
Meter is drawn as a chord. (A straight line connects the ends.)
|
SHAPE_CIRCLE | final public static byte SHAPE_CIRCLE(Code) | | The portion of the circle described by the Meter that is not occupied by the
Meter is drawn as a circle.
|
SHAPE_PIE | final public static byte SHAPE_PIE(Code) | | The portion of the circle described by the Meter that is not occupied by the
Meter is not drawn.
|
getDataRange | public JRDataRange getDataRange()(Code) | | Returns the range of values that the Meter can display.
the range of values that the Meter can display |
getIntervals | public List getIntervals()(Code) | | Returns a list of all the intervals contained in this Meter. The return value is never
null but can be an empty list. Each element in the list is a
net.sf.jasperreports.charts.util.JRMeterInterval net.sf.jasperreports.charts.util.JRMeterInterval a list of all the intervals contained in this Meter |
getMeterAngle | public int getMeterAngle()(Code) | | Returns the size of the Meter face in degrees.
the size of the Meter face in degrees |
getMeterBackgroundColor | public Color getMeterBackgroundColor()(Code) | | Returns the background color of the meter. This is the color of the meter's face.
the background color of the meter. |
getNeedleColor | public Color getNeedleColor()(Code) | | Returns the color used when drawing the meter's pointer.
the color used when drawing the meter's pointer |
getShape | public byte getShape()(Code) | | Returns the shape of the Meter. The shape is only relevant if the Meter face is
over 180 degrees wide, and controls how the portiong of the circle described by the
Meter but outside of the Meter is drawn. (If the meter is 240 degrees wide the shape
setting controls how the remaining 120 degrees is displayed.)
The value returned is one of the SHAPE_ constants defined in this class.
a description of how the value of the Meter is displayed. |
getTickColor | public Color getTickColor()(Code) | | Returns the color used when drawing tick marks on the meter.
the color used when drawing tick marks on the meter |
getTickInterval | public double getTickInterval()(Code) | | Returns the spacing between the ticks on the face of the meter. The spacing is relative
to the range that the meter is displaying - if the range is 0 to 500 and the tick interval
is 50 then 10 ticks will be displayed.
the spacing between the ticks on the face of the meter |
getUnits | public String getUnits()(Code) | | Returns the name of the units that the Meter is displaying. This value will be
appended to the value when displayed.
the name of the units that the Meter is displaying |
getValueDisplay | public JRValueDisplay getValueDisplay()(Code) | | Returns a description of how the value of the Meter is displayed. This includes
any font and color information, the location of the value, a formatting mask and
an optional "units" string to append to the value.
a description of how the value of the Meter is displayed. |
|
|
|