Class JRFillItemLabel

  • All Implemented Interfaces:
    java.lang.Cloneable, JRItemLabel, JRCloneable

    public class JRFillItemLabel
    extends java.lang.Object
    implements JRItemLabel
    Author:
    Sanda Zaharia (shertage@users.sourceforge.net)
    • Method Detail

      • getChart

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

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

        public java.awt.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 java.lang.Object clone()
        Specified by:
        clone in interface JRCloneable
        Overrides:
        clone in class java.lang.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