Interface I_CmsFormWidgetFactory
public interface I_CmsFormWidgetFactory
This is an interface for classes which can create a single widget type if given
a map of string parameters.
- Since:
- 8.0.0
-
Method Summary
Modifier and TypeMethodDescriptioncreateWidget
(Map<String, String> widgetParams, com.google.common.base.Optional<String> defaultValue) Creates a new widget based on a map of parameters.
-
Method Details
-
createWidget
I_CmsFormWidget createWidget(Map<String, String> widgetParams, com.google.common.base.Optional<String> defaultValue) Creates a new widget based on a map of parameters.- Parameters:
widgetParams
- the configuration parameters for the widgetdefaultValue
- an optional default value- Returns:
- the newly created widget
-