Package net.sf.jasperreports.charts.fill
Class JRFillValueDisplay
- java.lang.Object
-
- net.sf.jasperreports.charts.fill.JRFillValueDisplay
-
- All Implemented Interfaces:
Cloneable
,JRValueDisplay
,JRCloneable
public class JRFillValueDisplay extends Object implements JRValueDisplay
- Author:
- Barry Klawans (bklawans@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description protected JRChart
chart
protected JRValueDisplay
parent
-
Constructor Summary
Constructors Constructor Description JRFillValueDisplay(JRValueDisplay valueDisplay, JRFillObjectFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
JRValueDisplay
clone(JRChart parentChart)
JRChart
getChart()
Color
getColor()
Returns the color to use when writing the value.JRFont
getFont()
Returns the font to use when writing the value.String
getMask()
Returns the formatting mask to use when writing the value.
-
-
-
Field Detail
-
parent
protected JRValueDisplay parent
-
chart
protected JRChart chart
-
-
Constructor Detail
-
JRFillValueDisplay
public JRFillValueDisplay(JRValueDisplay valueDisplay, JRFillObjectFactory factory)
-
-
Method Detail
-
getChart
public JRChart getChart()
- Specified by:
getChart
in interfaceJRValueDisplay
-
getColor
public Color getColor()
Description copied from interface:JRValueDisplay
Returns the color to use when writing the value.- Specified by:
getColor
in interfaceJRValueDisplay
- Returns:
- the color to use when writing the value
-
getMask
public String getMask()
Description copied from interface:JRValueDisplay
Returns the formatting mask to use when writing the value. The mask will be specified using the patterns defined injava.text.DecimalFormat
.- Specified by:
getMask
in interfaceJRValueDisplay
- Returns:
- the formatting mask to use when writing the value
-
getFont
public JRFont getFont()
Description copied from interface:JRValueDisplay
Returns the font to use when writing the value.- Specified by:
getFont
in interfaceJRValueDisplay
- Returns:
- the font to use when writing the value
-
clone
public Object clone()
- Specified by:
clone
in interfaceJRCloneable
- Overrides:
clone
in classObject
-
clone
public JRValueDisplay clone(JRChart parentChart)
- Specified by:
clone
in interfaceJRValueDisplay
-
-