Class OpenmlSimpleSetupPanel

  • All Implemented Interfaces:
    ImageObserver, MenuContainer, Serializable, Comparable<weka.gui.experiment.AbstractSetupPanel>, Accessible

    public class OpenmlSimpleSetupPanel
    extends weka.gui.experiment.SimpleSetupPanel
    This panel controls the configuration of an experiment.

    If KOML is in the classpath the experiments can also be serialized to XML instead of a binary format.

    Version:
    $Revision: 8034 $
    Author:
    Richard kirkby (rkirkby@cs.waikato.ac.nz), FracPete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Field Detail

      • m_TaskListPanel

        protected TaskListPanel m_TaskListPanel
        The panel for configuring selected OpenML tasks
      • m_AlgorithmListPanel

        protected weka.gui.experiment.AlgorithmListPanel m_AlgorithmListPanel
        The panel for configuring selected algorithms
      • m_BrowseDestinationButton

        protected JButton m_BrowseDestinationButton
        Button for browsing destination files
      • m_NotesButton

        protected JButton m_NotesButton
        A button for bringing up the notes
      • m_NotesFrame

        protected JFrame m_NotesFrame
        Frame for the notes
      • m_NotesText

        protected JTextArea m_NotesText
        Area for user notes Default of 10 rows
      • m_Support

        protected final PropertyChangeSupport m_Support
        Manages sending notifications to people when we change the experiment, at this stage, only the resultlistener so the resultpanel can update.
      • apiconnector

        protected org.openml.apiconnector.io.OpenmlConnector apiconnector
      • m_ResultsDestinationPathLabel

        protected JLabel m_ResultsDestinationPathLabel
        Label for destination field
      • m_ResultsDestinationPathTField

        protected JTextField m_ResultsDestinationPathTField
        Input field for result destination path
    • Constructor Detail

      • OpenmlSimpleSetupPanel

        public OpenmlSimpleSetupPanel​(weka.experiment.Experiment exp)
        Creates the setup panel with the supplied initial experiment.
        Parameters:
        exp - a value of type 'Experiment'
      • OpenmlSimpleSetupPanel

        public OpenmlSimpleSetupPanel()
        Creates the setup panel with no initial experiment.
    • Method Detail

      • setExperiment

        public boolean setExperiment​(weka.experiment.Experiment exp_old)
        Sets the experiment to configure.
        Overrides:
        setExperiment in class weka.gui.experiment.SimpleSetupPanel
        Parameters:
        exp_old - - a value of type 'Experiment'
        Returns:
        true if experiment could be configured, false otherwise
      • addPropertyChangeListener

        public void addPropertyChangeListener​(PropertyChangeListener l)
        Adds a PropertyChangeListener who will be notified of value changes.
        Overrides:
        addPropertyChangeListener in class weka.gui.experiment.SimpleSetupPanel
        Parameters:
        l - a value of type 'PropertyChangeListener'
      • removePropertyChangeListener

        public void removePropertyChangeListener​(PropertyChangeListener l)
        Removes a PropertyChangeListener.
        Overrides:
        removePropertyChangeListener in class weka.gui.experiment.SimpleSetupPanel
        Parameters:
        l - a value of type 'PropertyChangeListener'
      • getExperiment

        public weka.experiment.Experiment getExperiment()
        Gets the currently configured experiment.
        Overrides:
        getExperiment in class weka.gui.experiment.SimpleSetupPanel
        Returns:
        the currently configured experiment.
      • getName

        public String getName()
        Overrides:
        getName in class weka.gui.experiment.SimpleSetupPanel
      • setModePanel

        public void setModePanel​(weka.gui.experiment.SetupModePanel modePanel)
        Overrides:
        setModePanel in class weka.gui.experiment.SimpleSetupPanel