public class JRBaseItemLabel extends java.lang.Object implements JRItemLabel, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected java.awt.Color |
backgroundColor
The item label background color.
|
protected JRChart |
chart |
protected java.awt.Color |
color
The item label text color.
|
protected JRFont |
font
The item label text font.
|
Constructor and Description |
---|
JRBaseItemLabel(JRItemLabel itemLabel,
JRBaseObjectFactory factory)
Constructs a copy of an existing item label specification and registers
any expression in the new copy with the specified factory.
|
JRBaseItemLabel(JRItemLabel itemLabel,
JRChart chart)
Constructs a copy of an existing item label specification.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
JRItemLabel |
clone(JRChart parentChart)
Returns the item label formatting mask.
|
void |
collectExpressions(JRExpressionCollector collector)
Adds all the expression used by this plot with the specified collector.
|
java.awt.Color |
getBackgroundColor() |
JRChart |
getChart() |
java.awt.Color |
getColor() |
JRFont |
getFont() |
protected JRChart chart
protected java.awt.Color color
protected java.awt.Color backgroundColor
protected JRFont font
public JRBaseItemLabel(JRItemLabel itemLabel, JRChart chart)
itemLabel
- the item label object to copychart
- the parent chartpublic JRBaseItemLabel(JRItemLabel itemLabel, JRBaseObjectFactory factory)
itemLabel
- the item label object to copyfactory
- the factory object to register expressions withpublic JRChart getChart()
getChart
in interface JRItemLabel
public java.awt.Color getColor()
getColor
in interface JRItemLabel
public java.awt.Color getBackgroundColor()
getBackgroundColor
in interface JRItemLabel
public JRFont getFont()
getFont
in interface JRItemLabel
public void collectExpressions(JRExpressionCollector collector)
collector
- the expression collector to usepublic java.lang.Object clone()
clone
in interface JRCloneable
clone
in class java.lang.Object
public JRItemLabel clone(JRChart parentChart)
JRItemLabel
java.text.DecimalFormat
.clone
in interface JRItemLabel
© 2001-2014 TIBCO Software Inc. www.jaspersoft.com