Class CrosstabTitleHeader

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

    public class CrosstabTitleHeader
    extends Band
    implements RootLevelBand
    A details header is printed between the last group-header and the first detail band. The header is printed on the itemsStarted(..) event. A details-header cannot carry subreports.

    This behavior can be easily changed with a style-expression on the visible-style-property. ("=NOT(ISEMPTYDATA())"

    Thomas Morgner
    See Also:
    Serialized Form
    • Constructor Detail

      • CrosstabTitleHeader

        public CrosstabTitleHeader()
        Constructs a new band (initially empty).
    • Method Detail

      • getSubReportCount

        public final int getSubReportCount()
        Returns the number of subreports on this band. This returns zero, as page-bands cannot have subreports.
        Specified by:
        getSubReportCount in interface RootLevelBand
        the subreport count.
      • getSubReport

        public final SubReport getSubReport​(int index)
        Throws an IndexOutOfBoundsException as page-footer cannot have sub-reports.
        Specified by:
        getSubReport in interface RootLevelBand
        index - the index.
        nothing, as an exception is thrown instead.
      • getSubReports

        public SubReport[] getSubReports()
        Returns an empty array, as page-footer cannot have subreports.
        Specified by:
        getSubReports in interface RootLevelBand
        the sub-reports as array.