Interface ScriptParamComponentFactory
- All Known Implementing Classes:
DiacriticOptionsScriptParamComponentFactory,TierListScriptParamComponentFactory,TierSelectionScriptParamComponentFactory
public interface ScriptParamComponentFactory
Extension point for custom script parameters implementations.
-
Method Summary
Modifier and TypeMethodDescriptionbooleancanCreateScriptParamComponent(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:
trueif this factory can create a component for the given scriptParam,falseotherwise
-
createScriptParamComponent
Create the UI component for the given script parameter.- Parameters:
scriptParam-- Returns:
- the component or
nullif canCreateScriptParam returnsfalse
-