Class LatexSetupPanel

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

    public class LatexSetupPanel
    extends adams.gui.application.AbstractPreferencesPanel
    Panel for configuring the system-wide LaTeX 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 parameters.
      • m_ChooserLatexBinaries

        protected adams.gui.chooser.DirectoryChooserPanel m_ChooserLatexBinaries
        the directory with the binaries.
      • m_TextExecutable

        protected adams.gui.core.BaseTextField m_TextExecutable
        the executable.
      • m_TextExecutableOptions

        protected adams.gui.core.BaseTextField m_TextExecutableOptions
        the executable options.
      • m_TextBibtex

        protected adams.gui.core.BaseTextField m_TextBibtex
        the bibtex executable.
    • Constructor Detail

      • LatexSetupPanel

        public LatexSetupPanel()
    • Method Detail

      • initGUI

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

        protected adams.core.Properties toProperties()
        Turns the parameters in the GUI into a properties object.
        Returns:
        the properties
      • 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 twitter setup.
        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
      • canReset

        public boolean canReset()
        Returns whether the panel supports resetting the options.
        Specified by:
        canReset in interface adams.gui.application.PreferencesPanel
        Overrides:
        canReset in class adams.gui.application.AbstractPreferencesPanel
        Returns:
        true if supported
      • reset

        public String reset()
        Resets the settings to their default.
        Specified by:
        reset in interface adams.gui.application.PreferencesPanel
        Overrides:
        reset in class adams.gui.application.AbstractPreferencesPanel
        Returns:
        null if successfully reset, otherwise error message