Class PatternScriptParam
java.lang.Object
ca.phon.script.params.ScriptParam
ca.phon.script.params.StringScriptParam
ca.phon.script.params.PatternScriptParam
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class ca.phon.script.params.StringScriptParam
PROMPT_PROP, TOOLTIP_TEXT_PROP, VALIDATE_PROPFields inherited from class ca.phon.script.params.ScriptParam
ENABLED_PROP, propSupport, VISIBLE_PROP -
Constructor Summary
ConstructorsConstructorDescriptionPatternScriptParam(String id, String desc, String defaultValue, String format, int minRows, int maxRows) -
Method Summary
Modifier and TypeMethodDescriptionintintintintGet the string representation of this param.intvoidsetErrChar(int errChar) voidsetErrLine(int errLine) voidvoidsetMaxRows(int maxRows) voidsetMinRows(int visibleRows) voidsetVisibleRows(int visibleRows) Methods inherited from class ca.phon.script.params.StringScriptParam
getPrompt, getTooltipText, isRequired, isValidate, setPrompt, setRequired, setTooltipText, setValidateMethods 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
-
FORMAT_PROP
-
MIN_ROWS_PROP
-
MAX_ROWS_PROP
-
VISIBLE_ROWS_PROP
-
ERROR_LINE_PROP
-
ERROR_CHAR_PROP
-
-
Constructor Details
-
PatternScriptParam
-
-
Method Details
-
setMinRows
public void setMinRows(int visibleRows) -
getMinRows
public int getMinRows() -
setMaxRows
public void setMaxRows(int maxRows) -
getMaxRows
public int getMaxRows() -
setVisibleRows
public void setVisibleRows(int visibleRows) -
getVisibleRows
public int getVisibleRows() -
setFormat
-
getFormat
-
getErrLine
public int getErrLine() -
setErrLine
public void setErrLine(int errLine) -
getErrChar
public int getErrChar() -
setErrChar
public void setErrChar(int errChar) -
getStringRepresentation
Description copied from class:ScriptParamGet the string representation of this param.- Overrides:
getStringRepresentationin classStringScriptParam
-