|
||||||||||
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
public class JRBaseItemLabel
An immutable representation of the formatting options for showing the item labels in a category plot.
Field Summary | |
---|---|
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 Summary | |
---|---|
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. |
Method Summary | |
---|---|
java.lang.Object |
clone()
|
void |
collectExpressions(JRExpressionCollector collector)
Adds all the expression used by this plot with the specified collector. |
java.awt.Color |
getBackgroundColor()
Returns the item label background color |
JRChart |
getChart()
|
java.awt.Color |
getColor()
Returns the item label text color |
JRFont |
getFont()
Returns the item label font. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected JRChart chart
protected java.awt.Color color
protected java.awt.Color backgroundColor
protected JRFont font
Constructor Detail |
---|
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 withMethod Detail |
---|
public JRChart getChart()
getChart
in interface JRItemLabel
public java.awt.Color getColor()
JRItemLabel
getColor
in interface JRItemLabel
public java.awt.Color getBackgroundColor()
JRItemLabel
getBackgroundColor
in interface JRItemLabel
public JRFont getFont()
JRItemLabel
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |