Package org.teamapps.dto
Class UiFormSection
- java.lang.Object
-
- org.teamapps.dto.UiFormSection
-
-
Field Summary
Fields Modifier and Type Field Description protected UiColorbackgroundColorprotected UiBorderborderprotected booleancollapsedprotected booleancollapsibleprotected java.util.List<UiGridColumn>columnsprotected booleandrawHeaderLineprotected java.util.List<UiFormSectionPlacement>fieldPlacementsprotected booleanfillRemainingHeightprotected intgridGapprotected java.lang.ObjectheaderDataprotected UiTemplateheaderTemplateprotected booleanhideWhenNoVisibleFieldsprotected java.lang.Stringidprotected UiSpacingmarginprotected UiSpacingpaddingprotected java.util.List<UiGridRow>rowsprotected UiShadowshadowprotected booleanvisible
-
Constructor Summary
Constructors Constructor Description UiFormSection()Deprecated.Only for Jackson deserialization.UiFormSection(java.lang.String id, java.util.List<UiGridColumn> columns, java.util.List<UiGridRow> rows, java.util.List<UiFormSectionPlacement> fieldPlacements)
-
Method Summary
-
-
-
Field Detail
-
id
protected java.lang.String id
-
columns
protected java.util.List<UiGridColumn> columns
-
rows
protected java.util.List<UiGridRow> rows
-
fieldPlacements
protected java.util.List<UiFormSectionPlacement> fieldPlacements
-
margin
protected UiSpacing margin
-
padding
protected UiSpacing padding
-
border
protected UiBorder border
-
shadow
protected UiShadow shadow
-
backgroundColor
protected UiColor backgroundColor
-
collapsible
protected boolean collapsible
-
collapsed
protected boolean collapsed
-
visible
protected boolean visible
-
headerTemplate
protected UiTemplate headerTemplate
-
headerData
protected java.lang.Object headerData
-
drawHeaderLine
protected boolean drawHeaderLine
-
gridGap
protected int gridGap
-
fillRemainingHeight
protected boolean fillRemainingHeight
-
hideWhenNoVisibleFields
protected boolean hideWhenNoVisibleFields
-
-
Constructor Detail
-
UiFormSection
@Deprecated public UiFormSection()
Deprecated.Only for Jackson deserialization. Use the other constructor instead.
-
UiFormSection
public UiFormSection(java.lang.String id, java.util.List<UiGridColumn> columns, java.util.List<UiGridRow> rows, java.util.List<UiFormSectionPlacement> fieldPlacements)
-
-
Method Detail
-
getUiObjectType
public UiObjectType getUiObjectType()
- Specified by:
getUiObjectTypein interfaceUiObject
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getId
public java.lang.String getId()
-
getColumns
public java.util.List<UiGridColumn> getColumns()
-
getRows
public java.util.List<UiGridRow> getRows()
-
getFieldPlacements
public java.util.List<UiFormSectionPlacement> getFieldPlacements()
-
getMargin
public UiSpacing getMargin()
-
getPadding
public UiSpacing getPadding()
-
getBorder
public UiBorder getBorder()
-
getShadow
public UiShadow getShadow()
-
getBackgroundColor
public UiColor getBackgroundColor()
-
getCollapsible
public boolean getCollapsible()
-
getCollapsed
public boolean getCollapsed()
-
getVisible
public boolean getVisible()
-
getHeaderTemplate
public UiTemplate getHeaderTemplate()
-
getHeaderData
public java.lang.Object getHeaderData()
-
getDrawHeaderLine
public boolean getDrawHeaderLine()
-
getGridGap
public int getGridGap()
-
getFillRemainingHeight
public boolean getFillRemainingHeight()
-
getHideWhenNoVisibleFields
public boolean getHideWhenNoVisibleFields()
-
setMargin
public UiFormSection setMargin(UiSpacing margin)
-
setPadding
public UiFormSection setPadding(UiSpacing padding)
-
setBorder
public UiFormSection setBorder(UiBorder border)
-
setShadow
public UiFormSection setShadow(UiShadow shadow)
-
setBackgroundColor
public UiFormSection setBackgroundColor(UiColor backgroundColor)
-
setCollapsible
public UiFormSection setCollapsible(boolean collapsible)
-
setCollapsed
public UiFormSection setCollapsed(boolean collapsed)
-
setVisible
public UiFormSection setVisible(boolean visible)
-
setHeaderTemplate
public UiFormSection setHeaderTemplate(UiTemplate headerTemplate)
-
setHeaderData
public UiFormSection setHeaderData(java.lang.Object headerData)
-
setDrawHeaderLine
public UiFormSection setDrawHeaderLine(boolean drawHeaderLine)
-
setGridGap
public UiFormSection setGridGap(int gridGap)
-
setFillRemainingHeight
public UiFormSection setFillRemainingHeight(boolean fillRemainingHeight)
-
setHideWhenNoVisibleFields
public UiFormSection setHideWhenNoVisibleFields(boolean hideWhenNoVisibleFields)
-
-