public class JRDesignValueDisplay extends JRBaseValueDisplay implements JRChangeEventsSupport
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROPERTY_COLOR |
static java.lang.String |
PROPERTY_FONT |
static java.lang.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 |
---|---|
java.lang.Object |
clone() |
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.
|
clone, collectExpressions, getChart, getColor, getFont, getMask
public static final java.lang.String PROPERTY_COLOR
public static final java.lang.String PROPERTY_FONT
public static final java.lang.String PROPERTY_MASK
public JRDesignValueDisplay(JRValueDisplay valueDisplay, JRChart chart)
valueDisplay
- the display to copypublic 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 java.lang.Object clone()
clone
in interface JRCloneable
clone
in class JRBaseValueDisplay
public JRPropertyChangeSupport getEventSupport()
JRChangeEventsSupport
getEventSupport
in interface JRChangeEventsSupport
© 2001-2014 TIBCO Software Inc. www.jaspersoft.com