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 Details

  • Constructor Details

  • Method Details

    • getChart

      public JRChart getChart()
      Specified by:
      getChart in interface JRItemLabel
      Returns:
      the chart the current item label belongs to.
    • getColor

      public Color getColor()
      Specified by:
      getColor in interface JRItemLabel
      Returns:
      the item label text color
    • getBackgroundColor

      public Color getBackgroundColor()
      Specified by:
      getBackgroundColor in interface JRItemLabel
      Returns:
      the item label background color
    • getFont

      public JRFont getFont()
      Specified by:
      getFont in interface JRItemLabel
      Returns:
      the item label font. Allows full font customization for the item label.
    • clone

      public Object clone()
      Specified by:
      clone in interface JRCloneable
      Overrides:
      clone in class Object
    • 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 in java.text.DecimalFormat.
      Specified by:
      clone in interface JRItemLabel
      Returns:
      the item label formatting mask