|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.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 chart
public JRBaseItemLabel(JRItemLabel itemLabel,
JRBaseObjectFactory factory)
itemLabel - the item label object to copyfactory - the factory object to register expressions with| Method Detail |
|---|
public JRChart getChart()
getChart in interface JRItemLabelpublic java.awt.Color getColor()
JRItemLabel
getColor in interface JRItemLabelpublic java.awt.Color getBackgroundColor()
JRItemLabel
getBackgroundColor in interface JRItemLabelpublic JRFont getFont()
JRItemLabel
getFont in interface JRItemLabelpublic void collectExpressions(JRExpressionCollector collector)
collector - the expression collector to usepublic java.lang.Object clone()
clone in interface JRCloneableclone in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||