Package adams.gui.visualization.instance
Class HistogramFactory
- java.lang.Object
-
- adams.gui.visualization.instance.HistogramFactory
-
public class HistogramFactory extends Object
A factory for histogram related objects.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HistogramFactory.Dialog
Dialog for displaying histograms generated from instances.static class
HistogramFactory.Panel
A panel for displaying a histogram based on the GC data of a instance.static class
HistogramFactory.SetupDialog
A dialog that queries the user about parameters for displaying histograms.
-
Constructor Summary
Constructors Constructor Description HistogramFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HistogramFactory.Dialog
getDialog(Dialog owner, Dialog.ModalityType modality)
Returns a new dialog for displaying histograms.static HistogramFactory.Dialog
getDialog(Frame owner, boolean modal)
Returns a new dialog for displaying displaying histograms.static HistogramFactory.Panel
getPanel()
Returns an instance of a new panel for displaying histograms.static HistogramFactory.SetupDialog
getSetupDialog(Dialog owner, Dialog.ModalityType modality)
Returns an instance of a setup dialog for displaying histograms.static HistogramFactory.SetupDialog
getSetupDialog(Frame owner, boolean modal)
Returns an instance of a setup dialog for displaying histograms.
-
-
-
Method Detail
-
getPanel
public static HistogramFactory.Panel getPanel()
Returns an instance of a new panel for displaying histograms.- Returns:
- the panel
-
getSetupDialog
public static HistogramFactory.SetupDialog getSetupDialog(Dialog owner, Dialog.ModalityType modality)
Returns an instance of a setup dialog for displaying histograms.- Parameters:
owner
- the owning componentmodality
- the type of modality- Returns:
- the dialog
-
getSetupDialog
public static HistogramFactory.SetupDialog getSetupDialog(Frame owner, boolean modal)
Returns an instance of a setup dialog for displaying histograms.- Parameters:
owner
- the owning componentmodal
- if true then the dialog will be modal- Returns:
- the dialog
-
getDialog
public static HistogramFactory.Dialog getDialog(Dialog owner, Dialog.ModalityType modality)
Returns a new dialog for displaying histograms.- Parameters:
owner
- the owning componentmodality
- the type of modality- Returns:
- the dialog
-
getDialog
public static HistogramFactory.Dialog getDialog(Frame owner, boolean modal)
Returns a new dialog for displaying displaying histograms.- Parameters:
owner
- the owning componentmodal
- if true then the dialog will be modal- Returns:
- the dialog
-
-