|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jasperreports.charts.base.JRBaseItemLabel net.sf.jasperreports.charts.design.JRDesignItemLabel
public class JRDesignItemLabel
An object that specifies how an item label should be displayed. Used with category plots such as a bar or pie plot.
Field Summary | |
---|---|
static java.lang.String |
PROPERTY_BACKGROUND_COLOR
|
static java.lang.String |
PROPERTY_COLOR
|
static java.lang.String |
PROPERTY_FONT
|
Fields inherited from class net.sf.jasperreports.charts.base.JRBaseItemLabel |
---|
backgroundColor, chart, color, font |
Constructor Summary | |
---|---|
JRDesignItemLabel(JRItemLabel itemLabel,
JRChart chart)
Constructs a new item label that is a copy of an existing one. |
Method Summary | |
---|---|
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. |
Methods inherited from class net.sf.jasperreports.charts.base.JRBaseItemLabel |
---|
collectExpressions, getBackgroundColor, getChart, getColor, getFont |
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_BACKGROUND_COLOR
public static final java.lang.String PROPERTY_FONT
Constructor Detail |
---|
public JRDesignItemLabel(JRItemLabel itemLabel, JRChart chart)
itemLabel
- the item label to copyMethod Detail |
---|
public 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |