Interface ListComponent

    • Method Detail

      • getDatasetRun

        JRDatasetRun getDatasetRun()
        Returns the subdataset run information that will be used by this list.

        This information is required to instantiate a subdataset from the report. The data produced by the subdataset is fed to the list item contents.

        Specified by:
        getDatasetRun in interface DatasetRunHolder
        Returns:
        the subdataset run information
      • getContents

        ListContents getContents()
        Returns the list item contents.

        Each record produced by the list subdataset is used to fill the list item contents and the result is included in the generated report.

        Returns:
        the list item contents
      • getPrintOrder

        PrintOrderEnum getPrintOrder()
        Returns the print order of the list cells.

        The list cells can be either printed vertically one beneath another (on a single column), or horizontally on rows of 2 or more columns.

        The default print order (used when no explicit order has been set) is vertical.

        Returns:
        the list print order if set, one of
        See Also:
        ListContents.getWidth()
      • getIgnoreWidth

        Boolean getIgnoreWidth()
        Returns the flag that determines whether the element width is to be ignored when filling this list.

        This flag only applies to horizontally filled reports. If the flag is set, the list will be filled on a single row.

        By default, the flag is not set.

        See Also:
        getPrintOrder(), JRCrosstab.setIgnoreWidth(Boolean)