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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      I_CmsFormWidget createWidget​(java.util.Map<java.lang.String,​java.lang.String> widgetParams, com.google.common.base.Optional<java.lang.String> defaultValue)
      Creates a new widget based on a map of parameters.
    • Method Detail

      • createWidget

        I_CmsFormWidget createWidget​(java.util.Map<java.lang.String,​java.lang.String> widgetParams,
                                     com.google.common.base.Optional<java.lang.String> defaultValue)
        Creates a new widget based on a map of parameters.

        Parameters:
        widgetParams - the configuration parameters for the widget
        defaultValue - an optional default value
        Returns:
        the newly created widget