Class RProjectSettingsPanel

  • All Implemented Interfaces:
    adams.gui.application.PreferencesPanel, ImageObserver, MenuContainer, Serializable, Comparable<adams.gui.application.PreferencesPanel>, Accessible

    public class RProjectSettingsPanel
    extends adams.gui.application.AbstractPreferencesPanel
    Panel for configuring the R-Project settings.
    Version:
    $Revision$
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Field Detail

      • m_PanelParameters

        protected adams.gui.core.ParameterPanel m_PanelParameters
        the panel for the parameters.
      • m_FileRExecutable

        protected adams.gui.chooser.FileChooserPanel m_FileRExecutable
        the R executable.
      • m_TextRserveHost

        protected adams.gui.core.BaseTextField m_TextRserveHost
        the Rserve host.
      • m_SpinnerRservePort

        protected JSpinner m_SpinnerRservePort
        the Rserve port.
    • Constructor Detail

      • RProjectSettingsPanel

        public RProjectSettingsPanel()
    • Method Detail

      • initGUI

        protected void initGUI()
        Initializes the widgets.
        Overrides:
        initGUI in class adams.gui.core.BasePanel
      • load

        protected void load()
        Loads the values from the props file and displays them.
      • getTitle

        public String getTitle()
        The title of the preference panel.
        Specified by:
        getTitle in interface adams.gui.application.PreferencesPanel
        Specified by:
        getTitle in class adams.gui.application.AbstractPreferencesPanel
        Returns:
        the title
      • requiresWrapper

        public boolean requiresWrapper()
        Returns whether the panel requires a wrapper scrollpane/panel for display.
        Specified by:
        requiresWrapper in interface adams.gui.application.PreferencesPanel
        Specified by:
        requiresWrapper in class adams.gui.application.AbstractPreferencesPanel
        Returns:
        true if wrapper required
      • activate

        public String activate()
        Activates the proxy settings.
        Specified by:
        activate in interface adams.gui.application.PreferencesPanel
        Specified by:
        activate in class adams.gui.application.AbstractPreferencesPanel
        Returns:
        null if successfully activated, otherwise error message