Package ca.phon.query.script.params
Class DiacriticOptionsScriptParam
java.lang.Object
ca.phon.script.params.ScriptParam
ca.phon.query.script.params.DiacriticOptionsScriptParam
-
Nested Class Summary
-
Field Summary
Fields inherited from class ca.phon.script.params.ScriptParam
ENABLED_PROP, propSupport, VISIBLE_PROP
-
Constructor Summary
ConstructorDescriptionDiacriticOptionsScriptParam
(String id, String desc, boolean defaultIgnoreDiacritics, DiacriticOptionsScriptParam.SelectionMode selectionMode, Collection<Diacritic> defaultSelectedDiacritics) DiacriticOptionsScriptParam
(String id, String desc, boolean defaultIgnoreDiacritics, Collection<Diacritic> defaultSelectedDiacritics) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Get the string representation of this param.getVerb()
boolean
void
setIgnoreDiacritics
(boolean ignoreDiacritics) void
setSelectedDiacritics
(Collection<Diacritic> selectedDiacritics) void
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
-
Field Details
-
IGNORE_DIACRITICS_PARAM
- See Also:
-
SELECTED_DIACRITICS_PARAM
- See Also:
-
SELECTION_MODE_PARAM
- See Also:
-
-
Constructor Details
-
DiacriticOptionsScriptParam
public DiacriticOptionsScriptParam(String id, String desc, boolean defaultIgnoreDiacritics, Collection<Diacritic> defaultSelectedDiacritics) -
DiacriticOptionsScriptParam
public DiacriticOptionsScriptParam(String id, String desc, boolean defaultIgnoreDiacritics, DiacriticOptionsScriptParam.SelectionMode selectionMode, Collection<Diacritic> defaultSelectedDiacritics)
-
-
Method Details
-
getVerb
-
setVerb
-
getIgnoreDiacriticsParamId
-
isIgnoreDiacritics
public boolean isIgnoreDiacritics() -
setIgnoreDiacritics
public void setIgnoreDiacritics(boolean ignoreDiacritics) -
getSelectionModeParamId
-
getSelectionMode
-
setSelectionMode
-
getSelectedDiacriticsParamId
-
stripDiacritics
-
getSelectedDiacritics
-
clearSelectedDiacritics
public void clearSelectedDiacritics() -
setSelectedDiacritics
-
setValue
- Overrides:
setValue
in classScriptParam
-
getStringRepresentation
Description copied from class:ScriptParam
Get the string representation of this param.- Specified by:
getStringRepresentation
in classScriptParam
-