Class WekaSelectMultipleDatasetsPage

  • All Implemented Interfaces:
    adams.core.logging.LoggingSupporter, ImageObserver, MenuContainer, Serializable, Accessible

    public class WekaSelectMultipleDatasetsPage
    extends adams.gui.wizard.AbstractWizardPage
    Wizard page that allows the user to select multiple datasets. File filters can be defined as well. Stores the selected files as blank-separated list.
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Field Detail

      • m_ListFiles

        protected adams.gui.core.BaseListWithButtons m_ListFiles
        the list for the file names.
      • m_FileChooser

        protected WekaFileChooser m_FileChooser
        the filechooser for selecting the files.
      • m_ButtonAdd

        protected adams.gui.core.BaseButton m_ButtonAdd
        the button for bringing up the filechooser.
      • m_ButtonRemove

        protected adams.gui.core.BaseButton m_ButtonRemove
        the button for removing the selected files.
      • m_ButtonRemoveAll

        protected adams.gui.core.BaseButton m_ButtonRemoveAll
        the button for removing all files.
      • m_ButtonMoveUp

        protected adams.gui.core.BaseButton m_ButtonMoveUp
        the button for moving the selected files up.
      • m_ButtonMoveDown

        protected adams.gui.core.BaseButton m_ButtonMoveDown
        the button for moving the selected files down.
    • Constructor Detail

      • WekaSelectMultipleDatasetsPage

        public WekaSelectMultipleDatasetsPage()
        Default constructor.
      • WekaSelectMultipleDatasetsPage

        public WekaSelectMultipleDatasetsPage​(String pageName)
        Initializes the page with the given page name.
        Parameters:
        pageName - the page name to use
    • Method Detail

      • initialize

        protected void initialize()
        Initializes the members.
        Overrides:
        initialize in class adams.gui.wizard.AbstractWizardPage
      • initGUI

        protected void initGUI()
        Initializes the widets.
        Overrides:
        initGUI in class adams.gui.wizard.AbstractWizardPage
      • finishInit

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

        protected void updateListButtons()
        Updates the enabled state of the buttons.
      • setCurrentDirectory

        public void setCurrentDirectory​(File value)
        Sets the current directory to use for the file chooser.
        Parameters:
        value - the current directory
      • getCurrentDirectory

        public File getCurrentDirectory()
        Returns the current directory in use by the file chooser.
        Returns:
        the current directory
      • setCurrent

        public void setCurrent​(File[] value)
        Sets the current files.
        Parameters:
        value - the files
      • getCurrent

        public File[] getCurrent()
        Returns the current files.
        Returns:
        the current files
      • setProperties

        public void setProperties​(adams.core.Properties value)
        Sets the content of the page (ie parameters) as properties.
        Specified by:
        setProperties in class adams.gui.wizard.AbstractWizardPage
        Parameters:
        value - the parameters as properties
      • getProperties

        public adams.core.Properties getProperties()
        Returns the content of the page (ie parameters) as properties.
        Specified by:
        getProperties in class adams.gui.wizard.AbstractWizardPage
        Returns:
        the parameters as properties