Class DefaultValueDefinition

    • Field Detail

      • m_DefaultValue

        protected String m_DefaultValue
        the default value (string representation).
      • m_UseForwardSlashes

        protected boolean m_UseForwardSlashes
        whether to output forward slashes.
    • Constructor Detail

      • DefaultValueDefinition

        public DefaultValueDefinition()
    • Method Detail

      • typeTipText

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

        public void setDefaultValue​(String value)
        Sets the default of the value.
        Parameters:
        value - the default
      • getDefaultValue

        public String getDefaultValue()
        Returns the default of the value.
        Returns:
        the default
      • defaultValueTipText

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

        public void setUseForwardSlashes​(boolean value)
        Sets whether to use forward slashes in the output.
        Specified by:
        setUseForwardSlashes in interface ForwardSlashSupporter
        Parameters:
        value - if true then use forward slashes
      • getUseForwardSlashes

        public boolean getUseForwardSlashes()
        Returns whether to use forward slashes in the output.
        Specified by:
        getUseForwardSlashes in interface ForwardSlashSupporter
        Returns:
        true if forward slashes are used
      • useForwardSlashesTipText

        public String useForwardSlashesTipText()
        Returns the tip text for this property.
        Specified by:
        useForwardSlashesTipText in interface ForwardSlashSupporter
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • headlessInteraction

        public String headlessInteraction()
        Prompts the user to enter a value in headless mode and returns it.
        Specified by:
        headlessInteraction in class AbstractValueDefinition
        Returns:
        the entered value, null if canceled
      • canBeRestored

        public boolean canBeRestored()
        Returns whether this definition can be restored from a restoration file.
        Overrides:
        canBeRestored in class AbstractValueDefinition
        Returns:
        true if can be restored