Class StringScriptParam

java.lang.Object
ca.phon.script.params.ScriptParam
ca.phon.script.params.StringScriptParam
Direct Known Subclasses:
PatternScriptParam

public class StringScriptParam extends ScriptParam
String entry for script parameters.
  • Field Details

    • PROMPT_PROP

      public static final String PROMPT_PROP
      Property for prompt text
    • VALIDATE_PROP

      public static final String VALIDATE_PROP
    • TOOLTIP_TEXT_PROP

      public static final String TOOLTIP_TEXT_PROP
  • Constructor Details

    • StringScriptParam

      public StringScriptParam(String id, String desc, String defaultValue)
      Constructor
      Parameters:
      id -
      desc -
      defaultValue -
  • Method Details

    • getStringRepresentation

      public String getStringRepresentation()
      Description copied from class: ScriptParam
      Get the string representation of this param.
      Specified by:
      getStringRepresentation in class ScriptParam
    • setPrompt

      public void setPrompt(String text)
    • getPrompt

      public String getPrompt()
    • isValidate

      public boolean isValidate()
    • isRequired

      public boolean isRequired()
    • setRequired

      public void setRequired(boolean required)
    • setValidate

      public void setValidate(boolean validate)
    • setTooltipText

      public void setTooltipText(String tooltipText)
    • getTooltipText

      public String getTooltipText()