Interface WidgetFactory

  • All Known Implementing Classes:
    DefaultWidgetFactory

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

      • createWidget

        <T extends Widget> T createWidget​(java.lang.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