Class WekaSelectDatasetPage

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

    public class WekaSelectDatasetPage
    extends adams.gui.wizard.AbstractWizardPage
    Wizard page that allows the user to select a Weka dataset.
    Version:
    $Revision: 9915 $
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Constructor Detail

      • WekaSelectDatasetPage

        public WekaSelectDatasetPage()
        whether to show the /** Default constructor.
      • WekaSelectDatasetPage

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

      • initGUI

        protected void initGUI()
        Initializes the widets.
        Overrides:
        initGUI in class adams.gui.wizard.AbstractWizardPage
      • 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 boolean setCurrent​(File value)
        Sets the current file.
        Parameters:
        value - the value to use, can be null
        Returns:
        true if successfully set
      • getCurrent

        public File getCurrent()
        Returns the current value.
        Returns:
        the current value
      • setUseSaveDialog

        public void setUseSaveDialog​(boolean value)
        Sets whether to use the save or open dialog.
        Parameters:
        value - if true the save dialog is used
      • getUseSaveDialog

        public boolean getUseSaveDialog()
        Returns whether the save or open dialog is used.
        Returns:
        true if the save dialog is used
      • 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