Package ca.phon.script.params
Class StringScriptParam
java.lang.Object
ca.phon.script.params.ScriptParam
ca.phon.script.params.StringScriptParam
- Direct Known Subclasses:
PatternScriptParam
String entry for script parameters.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Property for prompt textstatic final String
static final String
Fields inherited from class ca.phon.script.params.ScriptParam
ENABLED_PROP, propSupport, VISIBLE_PROP
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the string representation of this param.boolean
boolean
void
void
setRequired
(boolean required) void
setTooltipText
(String tooltipText) void
setValidate
(boolean validate) Methods inherited from class ca.phon.script.params.ScriptParam
addPropertyChangeListener, addPropertyChangeListener, getDefaultValue, getParamDesc, getParamId, getParamIds, getParamType, getPropertyChangeListeners, getPropertyChangeListeners, getValue, getVisible, hasChanged, isEnabled, removePropertyChangeListener, removePropertyChangeListener, setDefaultValue, setEnabled, setParamDesc, setParamType, setValue, setVisible
-
Field Details
-
PROMPT_PROP
Property for prompt text -
VALIDATE_PROP
-
TOOLTIP_TEXT_PROP
-
-
Constructor Details
-
StringScriptParam
Constructor- Parameters:
id
-desc
-defaultValue
-
-
-
Method Details
-
getStringRepresentation
Description copied from class:ScriptParam
Get the string representation of this param.- Specified by:
getStringRepresentation
in classScriptParam
-
setPrompt
-
getPrompt
-
isValidate
public boolean isValidate() -
isRequired
public boolean isRequired() -
setRequired
public void setRequired(boolean required) -
setValidate
public void setValidate(boolean validate) -
setTooltipText
-
getTooltipText
-