Class HistogramFactory.Dialog

    • Field Detail

      • m_TabbedPane

        protected BaseTabbedPane m_TabbedPane
        the tabbed pane for displaying the histograms.
    • Constructor Detail

      • Dialog

        public Dialog​(Dialog owner,
                      Dialog.ModalityType modality)
        Initializes the dialog.
        Parameters:
        owner - the component that controls the dialog
        modality - the type of modality
      • Dialog

        public Dialog​(Frame owner,
                      boolean modal)
        Initializes the dialog.
        Parameters:
        owner - the component that controls the dialog
        modal - if true then the dialog will be modal
    • Method Detail

      • initGUI

        protected void initGUI()
        initializes the GUI.
        Overrides:
        initGUI in class BaseDialog
      • clear

        public void clear()
        Removes all the tabs.
      • add

        public void add​(ArrayHistogram hist,
                        double[] data,
                        String name)
        Generates from the specified data using the configured ArrayHistogram object and adds the plot.
        Parameters:
        hist - for generating the histogram data
        data - the data to generate the histogram from
        name - the name of the tab
      • add

        public void add​(ArrayHistogram hist,
                        Number[] data,
                        String name)
        Generates from the specified data using the configured ArrayHistogram object and adds the plot.
        Parameters:
        hist - for generating the histogram data
        data - the data to generate the histogram from
        name - the name of the tab