Class HistogramFactory


  • public class HistogramFactory
    extends Object
    A factory for histogram related objects.
    Version:
    $Revision$
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    • Constructor Detail

      • HistogramFactory

        public HistogramFactory()
    • 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 component
        modality - 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 component
        modal - 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 component
        modality - 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 component
        modal - if true then the dialog will be modal
        Returns:
        the dialog