Class GroupFooter

  • All Implemented Interfaces:
    Serializable, Cloneable, Iterable<Element>, DataTarget, ReportElement, RootLevelBand

    public class GroupFooter
    extends AbstractRootLevelBand
    A band that appears at the end of each instance of a group. A group-footer can be marked as repeating footer causing the footer to be printed at the bottom of each page as long as the group is active. If the footer is marked sticky, the footer will even be printed for all sub-report pages.

    Subreports defined for a repeating group footer will be ignored for all repeating instances.

    Author:
    David Gilbert
    See Also:
    Serialized Form
    • Constructor Detail

      • GroupFooter

        public GroupFooter()
        Constructs a group footer band, containing no elements.
    • Method Detail

      • isRepeat

        public boolean isRepeat()
        Checks whether this group header should be repeated on new pages.
        Returns:
        true, if the header will be repeated, false otherwise
      • setRepeat

        public void setRepeat​(boolean repeat)
        Defines, whether this group header should be repeated on new pages.
        Parameters:
        repeat - true, if the header will be repeated, false otherwise
      • isSticky

        public boolean isSticky()
        Returns true if the footer should be shown on all subreports.
        Returns:
        true or false.
      • setSticky

        public void setSticky​(boolean b)
        Defines whether the footer should be shown on all subreports.
        Parameters:
        b - a flag indicating whether or not the footer is shown on the first page.