Class DashboardLayout

java.lang.Object
io.jmix.dashboards.model.visualmodel.DashboardLayout
Direct Known Subclasses:
CssLayout, GridLayout, HorizontalLayout, ResponsiveLayout, VerticalLayout, WidgetLayout

public abstract class DashboardLayout extends Object
  • Field Details

    • id

      protected UUID id
    • children

      protected List<DashboardLayout> children
    • parent

      protected DashboardLayout parent
    • weight

      protected Integer weight
      The expand ratio of given layout in a parent layout.
    • expand

      protected UUID expand
    • styleName

      protected String styleName
    • width

      protected Integer width
    • height

      protected Integer height
    • widthUnit

      protected String widthUnit
    • heightUnit

      protected String heightUnit
    • caption

      protected String caption
  • Constructor Details

    • DashboardLayout

      public DashboardLayout()
  • Method Details

    • getWeight

      public Integer getWeight()
    • setWeight

      public void setWeight(Integer weight)
    • getChildren

      public List<DashboardLayout> getChildren()
    • setChildren

      public void setChildren(List<DashboardLayout> children)
    • addChild

      public void addChild(DashboardLayout child)
    • removeOwnChild

      public void removeOwnChild(DashboardLayout child)
    • removeChild

      public void removeChild(DashboardLayout child)
    • removeChild

      public void removeChild(UUID childId)
    • findParent

      public DashboardLayout findParent(DashboardLayout child)
    • findParent

      public DashboardLayout findParent(UUID childId)
    • findLayout

      public DashboardLayout findLayout(UUID uuid)
    • getCaption

      public String getCaption()
    • setCaption

      public void setCaption(String caption)
    • isRoot

      public boolean isRoot()
    • getStyleName

      public String getStyleName()
    • setStyleName

      public void setStyleName(String styleName)
    • getWidth

      public Integer getWidth()
    • setWidth

      public void setWidth(Integer width)
    • getHeight

      public Integer getHeight()
    • setHeight

      public void setHeight(Integer height)
    • getWidthUnit

      public SizeUnit getWidthUnit()
    • setWidthUnit

      public void setWidthUnit(SizeUnit widthUnit)
    • getHeightUnit

      public SizeUnit getHeightUnit()
    • setHeightUnit

      public void setHeightUnit(SizeUnit heightUnit)
    • getWidthWithUnits

      public String getWidthWithUnits()
    • getHeightWithUnits

      public String getHeightWithUnits()
    • getParent

      public DashboardLayout getParent()
    • setParent

      public void setParent(DashboardLayout parent)
    • getExpand

      public UUID getExpand()
    • setExpand

      public void setExpand(UUID expand)
    • getId

      public UUID getId()
    • setId

      public void setId(UUID id)