Class RegExpConstrainedStringDefinition

    • Field Detail

      • m_RegExp

        protected BaseRegExp m_RegExp
        the regular expression to use.
      • m_DefaultValue

        protected String m_DefaultValue
        the default value.
    • Constructor Detail

      • RegExpConstrainedStringDefinition

        public RegExpConstrainedStringDefinition()
    • Method Detail

      • setRegExp

        public void setRegExp​(BaseRegExp value)
        Sets the regular expression for constraining the input.
        Parameters:
        value - the expression
      • getRegExp

        public BaseRegExp getRegExp()
        Returns the regular expression for constraining the input.
        Returns:
        the expression
      • regExpTipText

        public String regExpTipText()
        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.
      • 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