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 JRChartchartprotected JRValueDisplayparent
-
Constructor Summary
Constructors Constructor Description JRFillValueDisplay(JRValueDisplay valueDisplay, JRFillObjectFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()JRValueDisplayclone(JRChart parentChart)JRChartgetChart()ColorgetColor()Returns the color to use when writing the value.JRFontgetFont()Returns the font to use when writing the value.StringgetMask()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:
getChartin interfaceJRValueDisplay
-
getColor
public Color getColor()
Description copied from interface:JRValueDisplayReturns the color to use when writing the value.- Specified by:
getColorin interfaceJRValueDisplay- Returns:
- the color to use when writing the value
-
getMask
public String getMask()
Description copied from interface:JRValueDisplayReturns the formatting mask to use when writing the value. The mask will be specified using the patterns defined injava.text.DecimalFormat.- Specified by:
getMaskin interfaceJRValueDisplay- Returns:
- the formatting mask to use when writing the value
-
getFont
public JRFont getFont()
Description copied from interface:JRValueDisplayReturns the font to use when writing the value.- Specified by:
getFontin interfaceJRValueDisplay- Returns:
- the font to use when writing the value
-
clone
public Object clone()
- Specified by:
clonein interfaceJRCloneable- Overrides:
clonein classObject
-
clone
public JRValueDisplay clone(JRChart parentChart)
- Specified by:
clonein interfaceJRValueDisplay
-
-