Class DashboardLayout
java.lang.Object
io.jmix.dashboards.model.visualmodel.DashboardLayout
- Direct Known Subclasses:
CssLayout
,GridLayout
,HorizontalLayout
,ResponsiveLayout
,VerticalLayout
,WidgetLayout
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addChild
(DashboardLayout child) findLayout
(UUID uuid) findParent
(DashboardLayout child) findParent
(UUID childId) getId()
getWidth()
boolean
isRoot()
void
removeChild
(DashboardLayout child) void
removeChild
(UUID childId) void
removeOwnChild
(DashboardLayout child) void
setCaption
(String caption) void
setChildren
(List<DashboardLayout> children) void
void
void
setHeightUnit
(SizeUnit heightUnit) void
void
setParent
(DashboardLayout parent) void
setStyleName
(String styleName) void
void
void
setWidthUnit
(SizeUnit widthUnit)
-
Field Details
-
id
-
children
-
parent
-
weight
The expand ratio of given layout in a parent layout. -
expand
-
styleName
-
width
-
height
-
widthUnit
-
heightUnit
-
-
Constructor Details
-
DashboardLayout
public DashboardLayout()
-
-
Method Details
-
getWeight
-
setWeight
-
getChildren
-
setChildren
-
addChild
-
removeOwnChild
-
removeChild
-
removeChild
-
findParent
-
findParent
-
findLayout
-
getCaption
-
setCaption
-
isRoot
public boolean isRoot() -
getStyleName
-
setStyleName
-
getWidth
-
setWidth
-
getHeight
-
setHeight
-
getWidthUnit
-
setWidthUnit
-
getHeightUnit
-
setHeightUnit
-
getWidthWithUnits
-
getHeightWithUnits
-
getParent
-
setParent
-
getExpand
-
setExpand
-
getId
-
setId
-