Interface WidgetFactory
- All Known Implementing Classes:
DefaultWidgetFactory
public interface WidgetFactory
Factory for creating widget (view) components, based on
WidgetConfig instances.-
Method Summary
Modifier and TypeMethodDescription<T extends Widget>
TcreateWidget(String widgetCode, WidgetConfig config) Creates and returns a widget component based on the passed widget configuration config.
-
Method Details
-
createWidget
Creates and returns a widget component based on the passed widget configuration config.- Parameters:
widgetCode- widget codeconfig- widget configuration object- Returns:
- widget component
-