Package net.sf.jasperreports.charts.fill
Class JRFillItemLabel
- java.lang.Object
-
- net.sf.jasperreports.charts.fill.JRFillItemLabel
-
- All Implemented Interfaces:
Cloneable,JRItemLabel,JRCloneable
public class JRFillItemLabel extends 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 Objectclone()JRItemLabelclone(JRChart parentChart)Returns the item label formatting mask.ColorgetBackgroundColor()JRChartgetChart()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 Color getColor()
- Specified by:
getColorin interfaceJRItemLabel- Returns:
- the item label text color
-
getBackgroundColor
public 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 Object clone()
- Specified by:
clonein interfaceJRCloneable- Overrides:
clonein classObject
-
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
-
-