Class StandardListComponent

    • Field Detail

      • PROPERTY_PRINT_ORDER

        public static final java.lang.String PROPERTY_PRINT_ORDER
        See Also:
        Constant Field Values
      • PROPERTY_IGNORE_WIDTH

        public static final java.lang.String PROPERTY_IGNORE_WIDTH
        See Also:
        Constant Field Values
      • PROPERTY_DATASET_RUN

        public static final java.lang.String PROPERTY_DATASET_RUN
        See Also:
        Constant Field Values
    • Constructor Detail

      • StandardListComponent

        public StandardListComponent()
    • Method Detail

      • getDatasetRun

        public JRDatasetRun getDatasetRun()
        Description copied from interface: ListComponent
        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
        Specified by:
        getDatasetRun in interface ListComponent
        Returns:
        the subdataset run information
      • setDatasetRun

        public void setDatasetRun​(JRDatasetRun datasetRun)
        Sets the subdataset run information that will be used by this list.
        Parameters:
        datasetRun - the subdataset run information
        See Also:
        getDatasetRun()
      • getContents

        public ListContents getContents()
        Description copied from interface: ListComponent
        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.

        Specified by:
        getContents in interface ListComponent
        Returns:
        the list item contents
      • setContents

        public void setContents​(ListContents contents)
        Sets the list item contents.
        Parameters:
        contents - the list item contents
        See Also:
        getContents()
      • clone

        public java.lang.Object clone()
        Specified by:
        clone in interface JRCloneable
        Overrides:
        clone in class java.lang.Object
      • setIgnoreWidth

        public void setIgnoreWidth​(java.lang.Boolean ignoreWidth)
        Sets the list ignore width flag.
        Parameters:
        ignoreWidth - the ignore width flag
      • setIgnoreWidth

        public void setIgnoreWidth​(boolean ignoreWidth)
        Sets the list ignore width flag.
        Parameters:
        ignoreWidth - the ignore width flag