Class DefaultWidgetFactory
- java.lang.Object
-
- de.hybris.platform.cockpit.widgets.impl.DefaultWidgetFactory
-
- All Implemented Interfaces:
WidgetFactory
public class DefaultWidgetFactory extends java.lang.Object implements WidgetFactory
Default widget creation factory implementation.
-
-
Constructor Summary
Constructors Constructor Description DefaultWidgetFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WidgetcreateWidget(java.lang.String widgetCode, WidgetConfig config)Creates and returns a widget component based on the passed widget configuration config.
-
-
-
Method Detail
-
createWidget
public Widget createWidget(java.lang.String widgetCode, WidgetConfig config)
Description copied from interface:WidgetFactoryCreates and returns a widget component based on the passed widget configuration config.- Specified by:
createWidgetin interfaceWidgetFactory- Parameters:
widgetCode- widget codeconfig- widget configuration object- Returns:
- widget component
-
-