Class SampleDataFactory


  • public class SampleDataFactory
    extends Object
    A factory for GUI components for sample data.
    Version:
    $Revision: 1970 $
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    • Constructor Detail

      • SampleDataFactory

        public SampleDataFactory()
    • Method Detail

      • getModel

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

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

        public static adams.gui.core.BasePanel getPanel​(SampleData report)
        Returns a new panel for the given report.
        Parameters:
        report - the report to create a table/panel for
        Returns:
        the panel
      • getPanel

        public static SampleDataFactory.Panel getPanel​(List<adams.gui.visualization.report.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 SampleDataFactory.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 adams.gui.visualization.report.ReportFactory.Dialog getDialog​(Dialog owner,
                                                                                    Dialog.ModalityType modality)
        Returns a new dialog for displaying quantitation reports.
        Parameters:
        owner - the owning component
        modality - the type of modality
        Returns:
        the dialog
      • getDialog

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