Package ca.phon.script.params.ui
Interface ScriptParamComponentFactory
- All Known Implementing Classes:
DiacriticOptionsScriptParamComponentFactory
,TierListScriptParamComponentFactory
,TierSelectionScriptParamComponentFactory
public interface ScriptParamComponentFactory
Extension point for custom script parameters implementations.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canCreateScriptParamComponent
(ScriptParam scriptParam) Does this implementation handle the given parameter?createScriptParamComponent
(ScriptParam scriptParam) Create the UI component for the given script parameter.
-
Method Details
-
canCreateScriptParamComponent
Does this implementation handle the given parameter?- Parameters:
scriptParam
-- Returns:
true
if this factory can create a component for the given scriptParam,false
otherwise
-
createScriptParamComponent
Create the UI component for the given script parameter.- Parameters:
scriptParam
-- Returns:
- the component or
null
if canCreateScriptParam returnsfalse
-