Interface WidgetFactory

All Known Implementing Classes:
DefaultWidgetFactory

public interface WidgetFactory
Factory for creating widget (view) components, based on WidgetConfig instances.
  • Method Summary

    Modifier and Type
    Method
    Description
    <T extends Widget>
    T
    createWidget(String widgetCode, WidgetConfig config)
    Creates and returns a widget component based on the passed widget configuration config.
  • Method Details

    • createWidget

      <T extends Widget> T createWidget(String widgetCode, WidgetConfig config)
      Creates and returns a widget component based on the passed widget configuration config.
      Parameters:
      widgetCode - widget code
      config - widget configuration object
      Returns:
      widget component