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
FieldsModifier and TypeFieldDescriptionprotected JsonConverterprotected UiComponentsprotected Messagesprotected Metadataprotected WidgetRepositoryprotected WidgetUtils -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected PaletteButtoncreateWidgetButton(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:
createVerticalLayoutButtonin interfacePaletteComponentsFactory- Returns:
- palette button for
VerticalLayout
-
createHorizontalLayoutButton
- Specified by:
createHorizontalLayoutButtonin interfacePaletteComponentsFactory- Returns:
- palette button for
HorizontalLayout
-
createGridLayoutButton
- Specified by:
createGridLayoutButtonin interfacePaletteComponentsFactory- Returns:
- palette button for
GridLayout
-
createCssLayoutButton
- Specified by:
createCssLayoutButtonin interfacePaletteComponentsFactory- Returns:
- palette button for
CssLayout
-
createWidgetButton
Description copied from interface:PaletteComponentsFactoryCreates a palette button for specified widget.- Specified by:
createWidgetButtonin interfacePaletteComponentsFactory- Parameters:
widget- widget- Returns:
- created palette button
-
createWidgetTemplateButton
Description copied from interface:PaletteComponentsFactoryCreates a palette button for specified widget template.- Specified by:
createWidgetTemplateButtonin interfacePaletteComponentsFactory- Parameters:
wt- widget template.- Returns:
- created palette button
-
createCommonButton
-
createResponsiveLayoutButton
- Specified by:
createResponsiveLayoutButtonin interfacePaletteComponentsFactory- Returns:
- palette button for
ResponsiveLayout
-