Package net.sf.jasperreports.charts.fill
Class JRFillValueDisplay
- java.lang.Object
-
- net.sf.jasperreports.charts.fill.JRFillValueDisplay
-
- All Implemented Interfaces:
java.lang.Cloneable,JRValueDisplay,JRCloneable
public class JRFillValueDisplay extends java.lang.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 java.lang.Objectclone()JRValueDisplayclone(JRChart parentChart)JRChartgetChart()java.awt.ColorgetColor()Returns the color to use when writing the value.JRFontgetFont()Returns the font to use when writing the value.java.lang.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 java.awt.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 java.lang.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 java.lang.Object clone()
- Specified by:
clonein interfaceJRCloneable- Overrides:
clonein classjava.lang.Object
-
clone
public JRValueDisplay clone(JRChart parentChart)
- Specified by:
clonein interfaceJRValueDisplay
-
-