|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JRMeterPlot
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.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface net.sf.jasperreports.engine.JRChartPlot |
---|
JRChartPlot.JRSeriesColor |
Field Summary | |
---|---|
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. |
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. |
static byte |
SHAPE_PIE
The portion of the circle described by the Meter that is not occupied by the Meter is not drawn. |
Method Summary | |
---|---|
JRDataRange |
getDataRange()
Returns the range of values that the Meter can display. |
java.util.List |
getIntervals()
Returns a list of all the intervals contained in this Meter. |
int |
getMeterAngle()
Returns the size of the Meter face in degrees. |
java.awt.Color |
getMeterBackgroundColor()
Returns the background color of the meter. |
java.awt.Color |
getNeedleColor()
Returns the color used when drawing the meter's pointer. |
byte |
getShape()
Returns the shape of the Meter. |
java.awt.Color |
getTickColor()
Returns the color used when drawing tick marks on the meter. |
double |
getTickInterval()
Returns the spacing between the ticks on the face of the meter. |
java.lang.String |
getUnits()
Returns the name of the units that the Meter is displaying. |
JRValueDisplay |
getValueDisplay()
Returns a description of how the value of the Meter is displayed. |
Methods inherited from interface net.sf.jasperreports.engine.JRChartPlot |
---|
addSeriesColor, clearSeriesColors, clone, collectExpressions, getBackcolor, getBackgroundAlpha, getChart, getForegroundAlpha, getLabelRotation, getOrientation, getOwnBackcolor, getSeriesColors, setBackcolor, setBackgroundAlpha, setForegroundAlpha, setLabelRotation, setOrientation, setSeriesColors |
Field Detail |
---|
static final byte SHAPE_CHORD
static final byte SHAPE_CIRCLE
static final byte SHAPE_PIE
Method Detail |
---|
JRDataRange getDataRange()
JRValueDisplay getValueDisplay()
byte getShape()
SHAPE_
constants defined in this class.
java.util.List getIntervals()
null
but can be an empty list. Each element in the list is a
net.sf.jasperreports.charts.util.JRMeterInterval
int getMeterAngle()
java.lang.String getUnits()
double getTickInterval()
java.awt.Color getMeterBackgroundColor()
java.awt.Color getNeedleColor()
java.awt.Color getTickColor()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |