Class AnalysisPanel

    • Field Detail

      • m_ComboBoxPanels

        protected adams.gui.core.BaseComboBox<AbstractAnalysisPanel> m_ComboBoxPanels
        the combobox with all available panels.
    • Constructor Detail

      • AnalysisPanel

        public AnalysisPanel()
    • Method Detail

      • initGUI

        protected void initGUI()
        For initializing the GUI.
        Overrides:
        initGUI in class adams.gui.core.BasePanel
      • finishInit

        protected void finishInit()
        finishes the initialization.
        Overrides:
        finishInit in class adams.gui.core.BasePanel
      • updatePanel

        protected void updatePanel​(AbstractAnalysisPanel panel)
        Sets the panel as the new analysis panel.
        Parameters:
        panel - the panel to use
      • handlesResults

        public String handlesResults​(weka.core.Instances results)
        Checks whether the results can be handled at all.
        Parameters:
        results - the results to check
        Returns:
        null if can handle, otherwise error message
      • hasResults

        public boolean hasResults()
        Checks whether there are any results available.
        Returns:
        true if results available
      • setResults

        public void setResults​(weka.core.Instances value)
        Sets the results to use for analysis.
        Parameters:
        value - the results
      • getResults

        public weka.core.Instances getResults()
        Returns the current set results.
        Returns:
        the results
      • getTabIcon

        public Icon getTabIcon()
        Returns the icon to use in the tabbed pane.
        Returns:
        the icon