public class JRDesignValueDisplay extends JRBaseValueDisplay implements JRChangeEventsSupport
| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_COLOR |
static String |
PROPERTY_FONT |
static String |
PROPERTY_MASK |
chart, color, font, mask| Constructor and Description |
|---|
JRDesignValueDisplay(JRValueDisplay valueDisplay,
JRChart chart)
Constructs a new value display that is a copy of an existing one.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
JRPropertyChangeSupport |
getEventSupport()
Returns the property change support object for this instance.
|
void |
setColor(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(String mask)
Sets the formatting mask to use when displaying the value.
|
clone, collectExpressions, getChart, getColor, getFont, getMaskpublic static final String PROPERTY_COLOR
public static final String PROPERTY_FONT
public static final String PROPERTY_MASK
public JRDesignValueDisplay(JRValueDisplay valueDisplay, JRChart chart)
valueDisplay - the display to copypublic void setColor(Color color)
color - the color to use when displaying the valuepublic void setMask(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 Object clone()
clone in interface JRCloneableclone in class JRBaseValueDisplaypublic JRPropertyChangeSupport getEventSupport()
JRChangeEventsSupportgetEventSupport in interface JRChangeEventsSupportCopyright © 2017. All rights reserved.