|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jasperreports.charts.base.JRBaseValueDisplay
net.sf.jasperreports.charts.design.JRDesignValueDisplay
public class JRDesignValueDisplay
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.
| Field Summary | |
|---|---|
static java.lang.String |
PROPERTY_COLOR
|
static java.lang.String |
PROPERTY_FONT
|
static java.lang.String |
PROPERTY_MASK
|
| Fields inherited from class net.sf.jasperreports.charts.base.JRBaseValueDisplay |
|---|
chart, color, font, mask |
| Constructor Summary | |
|---|---|
JRDesignValueDisplay(JRValueDisplay valueDisplay,
JRChart chart)
Constructs a new value display that is a copy of an existing one. |
|
| Method Summary | |
|---|---|
JRPropertyChangeSupport |
getEventSupport()
Returns the property change support object for this instance. |
void |
setColor(java.awt.Color color)
Sets the color to use when displaying the value. |
void |
setFont(JRFont font)
Sets the font to use when displaying the value. |
void |
setMask(java.lang.String mask)
Sets the formatting mask to use when displaying the value. |
| Methods inherited from class net.sf.jasperreports.charts.base.JRBaseValueDisplay |
|---|
clone, collectExpressions, getChart, getColor, getFont, getMask |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PROPERTY_COLOR
public static final java.lang.String PROPERTY_FONT
public static final java.lang.String PROPERTY_MASK
| Constructor Detail |
|---|
public JRDesignValueDisplay(JRValueDisplay valueDisplay,
JRChart chart)
valueDisplay - the display to copy| Method Detail |
|---|
public void setColor(java.awt.Color color)
color - the color to use when displaying the valuepublic void setMask(java.lang.String mask)
java.text.DecimalFormat object.
mask - the formatting mask to use when displaying the valuepublic void setFont(JRFont font)
font - the font to use when displaying the valuepublic JRPropertyChangeSupport getEventSupport()
JRChangeEventsSupport
getEventSupport in interface JRChangeEventsSupport
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||