Class AbstractOptionHandler

    • Field Detail

      • m_OptionManager

        protected OptionManager m_OptionManager
        for managing the available options.
    • Constructor Detail

      • AbstractOptionHandler

        public AbstractOptionHandler()
        Initializes the object.
    • Method Detail

      • globalInfo

        public abstract String globalInfo()
        Returns a string describing the object.
        Specified by:
        globalInfo in interface GlobalInfoSupporter
        Returns:
        a description suitable for displaying in the gui
      • initialize

        protected void initialize()
        Initializes the members.
      • reset

        protected void reset()
        Resets the scheme. Derived classes must call this method in set-methods of parameters to assure the invalidation of previously generated data.
      • newOptionManager

        protected OptionManager newOptionManager()
        Returns a new instance of the option manager.
        Returns:
        the manager to use
      • defineOptions

        public void defineOptions()
        Adds options to the internal list of options. Derived classes must override this method to add additional options.
        Specified by:
        defineOptions in interface OptionHandler
      • finishInit

        protected void finishInit()
        Finishes the initialization in the constructor.

        Initializes the logger again.
      • destroy

        public void destroy()
        Frees up memory in a "destructive" non-reversible way.

        Cleans up the options.
        Specified by:
        destroy in interface Destroyable
        See Also:
        cleanUpOptions()
      • getDefaultLoggingLevel

        protected LoggingLevel getDefaultLoggingLevel()
        Returns the default logging level to use.
        Returns:
        the logging level
      • loggingLevelTipText

        public String loggingLevelTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • toString

        public String toString()
        Returns a string representation of the options.
        Overrides:
        toString in class Object
        Returns:
        a string representation
      • toCommandLine

        public String toCommandLine()
        Returns the commandline string.
        Specified by:
        toCommandLine in interface OptionHandler
        Returns:
        the commandline