| |
|
| java.lang.Object net.sf.jasperreports.charts.base.JRBaseValueDisplay
All known Subclasses: net.sf.jasperreports.charts.design.JRDesignValueDisplay,
JRBaseValueDisplay | public class JRBaseValueDisplay implements JRValueDisplay,Serializable(Code) | | An immutable representation of the formatting options for showing the
value of a value dataset. Used by charts that display a single value,
such as a Meter or Thermometer.
author: Barry Klawans (bklawans@users.sourceforge.net) version: $Id: JRBaseValueDisplay.java 1793 2007-07-30 09:06:18Z teodord $ |
Field Summary | |
protected Color | color The color to use when writing the value. | protected JRFont | font The font to use when writing the value. | protected String | mask The formatting mask to use when writing the value. |
color | protected Color color(Code) | | The color to use when writing the value.
|
font | protected JRFont font(Code) | | The font to use when writing the value.
|
mask | protected String mask(Code) | | The formatting mask to use when writing the value. Must a pattern
that is accepted by a code>java.text.DecimalFormat object.
|
JRBaseValueDisplay | public JRBaseValueDisplay(JRValueDisplay valueDisplay)(Code) | | Constructs a copy of an existing value format specification.
Parameters: valueDisplay - the value formatting object to copy |
JRBaseValueDisplay | public JRBaseValueDisplay(JRValueDisplay valueDisplay, JRBaseObjectFactory factory)(Code) | | Constructs a copy of an existing value format specification and registers
any expression in the new copy with the specified factory.
Parameters: valueDisplay - the value formatting object to copy Parameters: factory - the factory object 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 |
|
|
|