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 JRChart
chart
protected JRItemLabel
parent
-
Constructor Summary
Constructors Constructor Description JRFillItemLabel(JRItemLabel itemLabel, JRFillObjectFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
JRItemLabel
clone(JRChart parentChart)
Returns the item label formatting mask.Color
getBackgroundColor()
JRChart
getChart()
Color
getColor()
JRFont
getFont()
-
-
-
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:
getChart
in interfaceJRItemLabel
- Returns:
- the chart the current item label belongs to.
-
getColor
public Color getColor()
- Specified by:
getColor
in interfaceJRItemLabel
- Returns:
- the item label text color
-
getBackgroundColor
public Color getBackgroundColor()
- Specified by:
getBackgroundColor
in interfaceJRItemLabel
- Returns:
- the item label background color
-
getFont
public JRFont getFont()
- Specified by:
getFont
in interfaceJRItemLabel
- Returns:
- the item label font. Allows full font customization for the item label.
-
clone
public Object clone()
- Specified by:
clone
in interfaceJRCloneable
- Overrides:
clone
in classObject
-
clone
public JRItemLabel clone(JRChart parentChart)
Description copied from interface:JRItemLabel
Returns the item label formatting mask. The mask will be specified using the patterns defined injava.text.DecimalFormat
.- Specified by:
clone
in interfaceJRItemLabel
- Returns:
- the item label formatting mask
-
-