Package net.sf.jasperreports.charts.fill
Class JRFillItemLabel
- java.lang.Object
-
- net.sf.jasperreports.charts.fill.JRFillItemLabel
-
- All Implemented Interfaces:
java.lang.Cloneable,JRItemLabel,JRCloneable
public class JRFillItemLabel extends java.lang.Object implements JRItemLabel
- Author:
- Sanda Zaharia (shertage@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description protected JRChartchartprotected JRItemLabelparent
-
Constructor Summary
Constructors Constructor Description JRFillItemLabel(JRItemLabel itemLabel, JRFillObjectFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectclone()JRItemLabelclone(JRChart parentChart)Returns the item label formatting mask.java.awt.ColorgetBackgroundColor()JRChartgetChart()java.awt.ColorgetColor()JRFontgetFont()
-
-
-
Field Detail
-
parent
protected JRItemLabel parent
-
chart
protected JRChart chart
-
-
Constructor Detail
-
JRFillItemLabel
public JRFillItemLabel(JRItemLabel itemLabel, JRFillObjectFactory factory)
-
-
Method Detail
-
getChart
public JRChart getChart()
- Specified by:
getChartin interfaceJRItemLabel- Returns:
- the chart the current item label belongs to.
-
getColor
public java.awt.Color getColor()
- Specified by:
getColorin interfaceJRItemLabel- Returns:
- the item label text color
-
getBackgroundColor
public java.awt.Color getBackgroundColor()
- Specified by:
getBackgroundColorin interfaceJRItemLabel- Returns:
- the item label background color
-
getFont
public JRFont getFont()
- Specified by:
getFontin interfaceJRItemLabel- Returns:
- the item label font. Allows full font customization for the item label.
-
clone
public java.lang.Object clone()
- Specified by:
clonein interfaceJRCloneable- Overrides:
clonein classjava.lang.Object
-
clone
public JRItemLabel clone(JRChart parentChart)
Description copied from interface:JRItemLabelReturns the item label formatting mask. The mask will be specified using the patterns defined injava.text.DecimalFormat.- Specified by:
clonein interfaceJRItemLabel- Returns:
- the item label formatting mask
-
-