public class JRBaseItemLabel extends Object implements JRItemLabel, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected Color |
backgroundColor
The item label background color.
|
protected JRChart |
chart |
protected 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 |
|---|---|
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.
|
Color |
getBackgroundColor() |
JRChart |
getChart() |
Color |
getColor() |
JRFont |
getFont() |
protected JRChart chart
protected Color color
protected 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 JRItemLabelpublic Color getColor()
getColor in interface JRItemLabelpublic Color getBackgroundColor()
getBackgroundColor in interface JRItemLabelpublic JRFont getFont()
getFont in interface JRItemLabelpublic void collectExpressions(JRExpressionCollector collector)
collector - the expression collector to usepublic Object clone()
clone in interface JRCloneableclone in class Objectpublic JRItemLabel clone(JRChart parentChart)
JRItemLabeljava.text.DecimalFormat.clone in interface JRItemLabelCopyright © 2017. All rights reserved.