Class ReportFactory

    • Constructor Detail

      • ReportFactory

        public ReportFactory()
    • Method Detail

      • getModel

        public static ReportFactory.Model getModel​(Report report)
        Returns a new model for the given report.
        Parameters:
        report - the report to create a model for
        Returns:
        the model
      • getTable

        public static ReportFactory.Table getTable​(Report report)
        Returns a new table for the given report.
        Parameters:
        report - the report to create a table for
        Returns:
        the table
      • getPanel

        public static BasePanel getPanel​(Report report,
                                         boolean preview)
        Returns a new panel for the given report.
        Parameters:
        report - the report to create a table/panel for
        preview - whether to add a preview text field for the cell value
        Returns:
        the panel
      • getPanel

        public static ReportFactory.Panel getPanel​(List<ReportContainer> reports)
        Returns a new table for the given reports.
        Parameters:
        reports - the reports to create a tabbed pane for
        Returns:
        the tabbed pane
      • getPanelForReports

        public static ReportFactory.Panel getPanelForReports​(List reports)
        Returns a new table for the given reports.
        Parameters:
        reports - the reports to create a tabbed pane for
        Returns:
        the tabbed pane
      • getDialog

        public static ReportFactory.Dialog getDialog​(Dialog owner,
                                                     Dialog.ModalityType modality)
        Returns a new dialog for displaying reports.
        Parameters:
        owner - the owning component
        modality - the type of modality
        Returns:
        the dialog
      • getDialog

        public static ReportFactory.Dialog getDialog​(Frame owner,
                                                     boolean modal)
        Returns a new dialog for displaying reports.
        Parameters:
        owner - the owning component
        modal - if true then the dialog will be modal
        Returns:
        the dialog
      • getStandardsDialog

        public static ReportFactory.StandardsDialog getStandardsDialog​(Dialog owner,
                                                                       Dialog.ModalityType modality)
        Returns a new standards dialog for loading .
        Parameters:
        owner - the owning component
        modality - the type of modality
        Returns:
        the dialog
      • getStandardsDialog

        public static ReportFactory.StandardsDialog getStandardsDialog​(Frame owner,
                                                                       boolean modal)
        Returns a new dialog for displaying reports.
        Parameters:
        owner - the owning component
        modal - whether modal or not
        Returns:
        the dialog