Package io.jmix.dashboards.utils
Class DashboardLayoutUtils
java.lang.Object
io.jmix.dashboards.utils.DashboardLayoutUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
availableColumns
(GridLayout gridLayout, GridCellLayout gridCell) static int
availableRows
(GridLayout gridLayout, GridCellLayout gridCell) static DashboardLayout
findLayout
(DashboardLayout root, UUID uuid) static DashboardLayout
findParentLayout
(DashboardLayout root, DashboardLayout child) static DashboardLayout
findParentLayout
(DashboardLayout root, UUID childId) static List<DashboardLayout>
findParentsLayout
(DashboardLayout root, UUID child) static boolean
isEmptyGridArea
(GridArea gridArea) static boolean
isGridCellLayout
(DashboardLayout layout) static boolean
isGridExpanded
(GridArea gridArea) static boolean
isLinearLayout
(DashboardLayout layout) static boolean
isParentCssLayout
(DashboardLayout layout) static boolean
isParentHasExpand
(DashboardLayout layout) static boolean
static boolean
isRootLayout
(DashboardLayout layout)
-
Constructor Details
-
DashboardLayoutUtils
public DashboardLayoutUtils()
-
-
Method Details
-
findParentLayout
@Nullable public static DashboardLayout findParentLayout(DashboardLayout root, DashboardLayout child) -
findParentLayout
-
findLayout
-
isLinearLayout
-
isParentCssLayout
-
isParentHasExpand
-
isGridCellLayout
-
isRootLayout
-
findParentsLayout
-
availableColumns
-
availableRows
-
isEmptyGridArea
-
isGridExpanded
-
isParentResponsiveLayout
-