Class ReportContainer

    • Field Detail

      • m_Visible

        protected boolean m_Visible
        whether the instance is visible.
      • m_ID

        protected String m_ID
        the ID to use for display.
      • m_Table

        protected BaseTable m_Table
        the associated table.
    • Constructor Detail

      • ReportContainer

        public ReportContainer​(ReportContainerManager manager,
                               Report report)
        Initializes the container.
        Parameters:
        manager - the manager this container belongs to
        report - the report of this container
      • ReportContainer

        public ReportContainer​(ReportContainerManager manager,
                               ReportHandler handler)
        Initializes the container.
        Parameters:
        manager - the manager this container belongs to
        handler - the report handler of this container
    • Method Detail

      • getReport

        public Report getReport()
        Returns the payload as Report object.
        Returns:
        the report
      • setVisible

        public void setVisible​(boolean value)
        Sets the instance's visibility.
        Parameters:
        value - if true then the instance will be visible
      • isVisible

        public boolean isVisible()
        Returns whether the instance is visible.
        Returns:
        true if the instance is visible
      • getDisplayID

        public String getDisplayID()
        Returns an ID to be used in the GUI (the DB ID with added single quotes to make it unique among the chromatograms in the container manager).
        Specified by:
        getDisplayID in interface NamedContainer
        Returns:
        a short ID for the GUI
      • hasDatabaseID

        public boolean hasDatabaseID()
        Checks whether a database ID is available.
        Returns:
        true if a database ID is available