public class JRDesignItemLabel extends JRBaseItemLabel implements JRChangeEventsSupport
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROPERTY_BACKGROUND_COLOR |
static java.lang.String |
PROPERTY_COLOR |
static java.lang.String |
PROPERTY_FONT |
backgroundColor, chart, color, font
Constructor and Description |
---|
JRDesignItemLabel(JRItemLabel itemLabel,
JRChart chart)
Constructs a new item label 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 |
setBackgroundColor(java.awt.Color backgroundColor)
Sets the background color to use when displaying the value.
|
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.
|
clone, collectExpressions, getBackgroundColor, getChart, getColor, getFont
public static final java.lang.String PROPERTY_COLOR
public static final java.lang.String PROPERTY_BACKGROUND_COLOR
public static final java.lang.String PROPERTY_FONT
public JRDesignItemLabel(JRItemLabel itemLabel, JRChart chart)
itemLabel
- the item label to copypublic void setColor(java.awt.Color color)
color
- the color to use when displaying the valuepublic void setBackgroundColor(java.awt.Color backgroundColor)
backgroundColor
- the background color 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 JRBaseItemLabel
public JRPropertyChangeSupport getEventSupport()
JRChangeEventsSupport
getEventSupport
in interface JRChangeEventsSupport
© 2001-2014 TIBCO Software Inc. www.jaspersoft.com