Interface WidgetFactory
-
- All Known Implementing Classes:
DefaultWidgetFactory
public interface WidgetFactory
Factory for creating widget (view) components, based onWidgetConfig
instances.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T extends Widget>
TcreateWidget(java.lang.String widgetCode, WidgetConfig config)
Creates and returns a widget component based on the passed widget configuration config.
-
-
-
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 codeconfig
- widget configuration object- Returns:
- widget component
-
-