Class PaletteComponentsFactoryImpl
java.lang.Object
io.jmix.dashboardsui.dashboard.tools.factory.impl.PaletteComponentsFactoryImpl
- All Implemented Interfaces:
PaletteComponentsFactory
@Component("dshbrd_PaletteComponentsFactory")
public class PaletteComponentsFactoryImpl
extends Object
implements PaletteComponentsFactory
-
Field Summary
Modifier and TypeFieldDescriptionprotected JsonConverter
protected UiComponents
protected Messages
protected Metadata
protected WidgetRepository
protected WidgetUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected PaletteButton
createWidgetButton
(Widget widget) Creates a palette button for specified widget.Creates a palette button for specified widget template.
-
Field Details
-
factory
-
metadata
-
messages
-
converter
-
widgetUtils
-
widgetRepository
-
-
Constructor Details
-
PaletteComponentsFactoryImpl
public PaletteComponentsFactoryImpl()
-
-
Method Details
-
createVerticalLayoutButton
- Specified by:
createVerticalLayoutButton
in interfacePaletteComponentsFactory
- Returns:
- palette button for
VerticalLayout
-
createHorizontalLayoutButton
- Specified by:
createHorizontalLayoutButton
in interfacePaletteComponentsFactory
- Returns:
- palette button for
HorizontalLayout
-
createGridLayoutButton
- Specified by:
createGridLayoutButton
in interfacePaletteComponentsFactory
- Returns:
- palette button for
GridLayout
-
createCssLayoutButton
- Specified by:
createCssLayoutButton
in interfacePaletteComponentsFactory
- Returns:
- palette button for
CssLayout
-
createWidgetButton
Description copied from interface:PaletteComponentsFactory
Creates a palette button for specified widget.- Specified by:
createWidgetButton
in interfacePaletteComponentsFactory
- Parameters:
widget
- widget- Returns:
- created palette button
-
createWidgetTemplateButton
Description copied from interface:PaletteComponentsFactory
Creates a palette button for specified widget template.- Specified by:
createWidgetTemplateButton
in interfacePaletteComponentsFactory
- Parameters:
wt
- widget template.- Returns:
- created palette button
-
createCommonButton
-
createResponsiveLayoutButton
- Specified by:
createResponsiveLayoutButton
in interfacePaletteComponentsFactory
- Returns:
- palette button for
ResponsiveLayout
-