Package ca.phon.script.params
Class EnumScriptParam
java.lang.Object
ca.phon.script.params.ScriptParam
ca.phon.script.params.EnumScriptParam
-
Nested Class Summary
-
Field Summary
Fields inherited from class ca.phon.script.params.ScriptParam
ENABLED_PROP, propSupport, VISIBLE_PROP
-
Constructor Summary
ConstructorDescriptionEnumScriptParam
(String id, String desc, int def, String[] choices) EnumScriptParam
(String id, String desc, int def, String[] choices, String type, int columns) -
Method Summary
Modifier and TypeMethodDescriptionint
int
Get the string representation of this param.getType()
void
setColumns
(int columns) void
void
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, setVisible
-
Constructor Details
-
EnumScriptParam
-
EnumScriptParam
-
-
Method Details
-
setType
-
getType
-
setColumns
public void setColumns(int columns) -
getColumns
public int getColumns() -
getChoices
-
getDefaultChoice
public int getDefaultChoice() -
getStringRepresentation
Description copied from class:ScriptParam
Get the string representation of this param.- Specified by:
getStringRepresentation
in classScriptParam
-
setValue
- Overrides:
setValue
in classScriptParam
-