Package ca.phon.script.params
Class PatternScriptParam
java.lang.Object
ca.phon.script.params.ScriptParam
ca.phon.script.params.StringScriptParam
ca.phon.script.params.PatternScriptParam
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
Fields inherited from class ca.phon.script.params.StringScriptParam
PROMPT_PROP, TOOLTIP_TEXT_PROP, VALIDATE_PROP
Fields inherited from class ca.phon.script.params.ScriptParam
ENABLED_PROP, propSupport, VISIBLE_PROP
-
Constructor Summary
ConstructorDescriptionPatternScriptParam
(String id, String desc, String defaultValue, String format, int minRows, int maxRows) -
Method Summary
Modifier and TypeMethodDescriptionint
int
int
int
Get the string representation of this param.int
void
setErrChar
(int errChar) void
setErrLine
(int errLine) void
void
setMaxRows
(int maxRows) void
setMinRows
(int visibleRows) void
setVisibleRows
(int visibleRows) Methods inherited from class ca.phon.script.params.StringScriptParam
getPrompt, getTooltipText, isRequired, isValidate, setPrompt, setRequired, setTooltipText, setValidate
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
-
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:ScriptParam
Get the string representation of this param.- Overrides:
getStringRepresentation
in classStringScriptParam
-