Package org.teamapps.dto
Class UiGridLayout
- java.lang.Object
-
- org.teamapps.dto.UiGridLayout
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringbackgroundColorprotected UiBorderborderprotected java.util.List<UiGridColumn>columnsprotected java.util.List<UiGridPlacement>componentPlacementsprotected intgridGapprotected UiHorizontalElementAlignmenthorizontalAlignmentprotected UiSpacingmarginprotected UiSpacingpaddingprotected java.util.List<UiGridRow>rowsprotected UiShadowshadowprotected UiVerticalElementAlignmentverticalAlignment
-
Constructor Summary
Constructors Constructor Description UiGridLayout()Deprecated.Only for Jackson deserialization.UiGridLayout(java.util.List<UiGridColumn> columns, java.util.List<UiGridRow> rows, java.util.List<UiGridPlacement> componentPlacements)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetBackgroundColor()UiBordergetBorder()java.util.List<UiGridColumn>getColumns()java.util.List<UiGridPlacement>getComponentPlacements()intgetGridGap()UiHorizontalElementAlignmentgetHorizontalAlignment()UiSpacinggetMargin()UiSpacinggetPadding()java.util.List<UiGridRow>getRows()UiShadowgetShadow()UiObjectTypegetUiObjectType()UiVerticalElementAlignmentgetVerticalAlignment()UiGridLayoutsetBackgroundColor(java.lang.String backgroundColor)UiGridLayoutsetBorder(UiBorder border)UiGridLayoutsetGridGap(int gridGap)UiGridLayoutsetHorizontalAlignment(UiHorizontalElementAlignment horizontalAlignment)UiGridLayoutsetMargin(UiSpacing margin)UiGridLayoutsetPadding(UiSpacing padding)UiGridLayoutsetShadow(UiShadow shadow)UiGridLayoutsetVerticalAlignment(UiVerticalElementAlignment verticalAlignment)java.lang.StringtoString()
-
-
-
Field Detail
-
columns
protected java.util.List<UiGridColumn> columns
-
rows
protected java.util.List<UiGridRow> rows
-
componentPlacements
protected java.util.List<UiGridPlacement> componentPlacements
-
margin
protected UiSpacing margin
-
padding
protected UiSpacing padding
-
border
protected UiBorder border
-
shadow
protected UiShadow shadow
-
backgroundColor
protected java.lang.String backgroundColor
-
gridGap
protected int gridGap
-
verticalAlignment
protected UiVerticalElementAlignment verticalAlignment
-
horizontalAlignment
protected UiHorizontalElementAlignment horizontalAlignment
-
-
Constructor Detail
-
UiGridLayout
@Deprecated public UiGridLayout()
Deprecated.Only for Jackson deserialization. Use the other constructor instead.
-
UiGridLayout
public UiGridLayout(java.util.List<UiGridColumn> columns, java.util.List<UiGridRow> rows, java.util.List<UiGridPlacement> componentPlacements)
-
-
Method Detail
-
getUiObjectType
public UiObjectType getUiObjectType()
- Specified by:
getUiObjectTypein interfaceUiObject
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getColumns
public java.util.List<UiGridColumn> getColumns()
-
getRows
public java.util.List<UiGridRow> getRows()
-
getComponentPlacements
public java.util.List<UiGridPlacement> getComponentPlacements()
-
getMargin
public UiSpacing getMargin()
-
getPadding
public UiSpacing getPadding()
-
getBorder
public UiBorder getBorder()
-
getShadow
public UiShadow getShadow()
-
getBackgroundColor
public java.lang.String getBackgroundColor()
-
getGridGap
public int getGridGap()
-
getVerticalAlignment
public UiVerticalElementAlignment getVerticalAlignment()
-
getHorizontalAlignment
public UiHorizontalElementAlignment getHorizontalAlignment()
-
setMargin
public UiGridLayout setMargin(UiSpacing margin)
-
setPadding
public UiGridLayout setPadding(UiSpacing padding)
-
setBorder
public UiGridLayout setBorder(UiBorder border)
-
setShadow
public UiGridLayout setShadow(UiShadow shadow)
-
setBackgroundColor
public UiGridLayout setBackgroundColor(java.lang.String backgroundColor)
-
setGridGap
public UiGridLayout setGridGap(int gridGap)
-
setVerticalAlignment
public UiGridLayout setVerticalAlignment(UiVerticalElementAlignment verticalAlignment)
-
setHorizontalAlignment
public UiGridLayout setHorizontalAlignment(UiHorizontalElementAlignment horizontalAlignment)
-
-