Package adams.gui.visualization.spectrum
Class SampleDataFactory
- java.lang.Object
-
- adams.gui.visualization.spectrum.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)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SampleDataFactory.Dialog
A specialized dialog that displays reports.static class
SampleDataFactory.Panel
A specialized panel that displays reports.static class
SampleDataFactory.Table<ReportProviderByID>
A specialized table for displaying a SampleData.
-
Constructor Summary
Constructors Constructor Description SampleDataFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static adams.gui.visualization.report.ReportFactory.Dialog
getDialog(Dialog owner, Dialog.ModalityType modality)
Returns a new dialog for displaying quantitation reports.static adams.gui.visualization.report.ReportFactory.Dialog
getDialog(Frame owner, boolean modal)
Returns a new dialog for displaying quantitation reports.static adams.gui.visualization.report.ReportFactory.Model
getModel(SampleData report)
Returns a new model for the given report.static adams.gui.core.BasePanel
getPanel(SampleData report)
Returns a new panel for the given report.static SampleDataFactory.Panel
getPanel(List<adams.gui.visualization.report.ReportContainer> reports)
Returns a new table for the given reports.static SampleDataFactory.Panel
getPanelForReports(List reports)
Returns a new table for the given reports.static SampleDataFactory.Table
getTable(SampleData report)
Returns a new table for the given report.
-
-
-
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 componentmodality
- 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 componentmodal
- if true then the dialog will be modal- Returns:
- the dialog
-
-