| |
|
| java.lang.Object net.sf.jasperreports.charts.base.JRBaseValueDisplay net.sf.jasperreports.charts.design.JRDesignValueDisplay
JRDesignValueDisplay | public class JRDesignValueDisplay extends JRBaseValueDisplay (Code) | | An object that specifies how a single value should be displayed. Used with
charts such as a meter or thermometer that display a single value.
author: Barry Klawans (bklawans@users.sourceforge.net) version: $Id: JRDesignValueDisplay.java 1794 2007-07-30 09:07:50Z teodord $ |
Method Summary | |
public void | setColor(Color color) Sets the color to use when displaying the value. | public void | setFont(JRFont font) Sets the font to use when displaying the value. | public void | setMask(String mask) Sets the formatting mask to use when displaying the value. |
JRDesignValueDisplay | public JRDesignValueDisplay(JRValueDisplay valueDisplay)(Code) | | Constructs a new value display that is a copy of an existing one.
Parameters: valueDisplay - the display to copy |
setColor | public void setColor(Color color)(Code) | | Sets the color to use when displaying the value.
Parameters: color - the color to use when displaying the value |
setFont | public void setFont(JRFont font)(Code) | | Sets the font to use when displaying the value.
Parameters: font - the font to use when displaying the value |
setMask | public void setMask(String mask)(Code) | | Sets the formatting mask to use when displaying the value. This mask will
be used to create a java.text.DecimalFormat object.
Parameters: mask - the formatting mask to use when displaying the value |
|
|
|