Interface CanvasComponentsFactory
- All Known Implementing Classes:
CanvasDropComponentsFactory
,CanvasUiComponentsFactory
public interface CanvasComponentsFactory
Contains the methods to create
CanvasLayout
components.-
Method Summary
Modifier and TypeMethodDescriptioncreateCanvasGridLayout
(GridLayout gridLayout) Creates aCanvasGridLayout
component with specifiedGridLayout
model.createCanvasHorizontalLayout
(HorizontalLayout horizontalLayout) Creates aCanvasHorizontalLayout
component with specifiedHorizontalLayout
model.createCanvasResponsiveLayout
(ResponsiveLayout responsiveLayout) Creates aCanvasResponsiveLayout
with specifiedResponsiveLayout
model.createCanvasRootLayout
(RootLayout rootLayout) Creates aCanvasRootLayout
with specifiedRootLayout
model.createCanvasVerticalLayout
(VerticalLayout verticalLayout) Creates aCanvasVerticalLayout
component with specifiedVerticalLayout
model.createCanvasWidgetLayout
(CanvasFragment fragment, WidgetLayout widgetLayout) Creates aCanvasWidgetLayout
with specifiedWidgetLayout
model.createCssLayout
(CssLayout cssLayoutModel) Creates aCanvasCssLayout
component with specifiedCssLayout
model.
-
Method Details
-
createCanvasVerticalLayout
Creates aCanvasVerticalLayout
component with specifiedVerticalLayout
model.- Parameters:
verticalLayout
- vertical layout model- Returns:
- created layout
-
createCanvasHorizontalLayout
Creates aCanvasHorizontalLayout
component with specifiedHorizontalLayout
model.- Parameters:
horizontalLayout
- horizontal layout model- Returns:
- created layout
-
createCssLayout
Creates aCanvasCssLayout
component with specifiedCssLayout
model.- Parameters:
cssLayoutModel
- CSS layout model- Returns:
- created layout
-
createCanvasGridLayout
Creates aCanvasGridLayout
component with specifiedGridLayout
model.- Parameters:
gridLayout
- grid layout model- Returns:
- created layout
-
createCanvasWidgetLayout
Creates aCanvasWidgetLayout
with specifiedWidgetLayout
model.- Parameters:
fragment
- canvas to add a widget fragmentwidgetLayout
- widget layout model- Returns:
- created layout
-
createCanvasRootLayout
Creates aCanvasRootLayout
with specifiedRootLayout
model.- Parameters:
rootLayout
- root layout model- Returns:
- created layout
-
createCanvasResponsiveLayout
Creates aCanvasResponsiveLayout
with specifiedResponsiveLayout
model.- Parameters:
responsiveLayout
- responsive layout model- Returns:
- created layout
-