Package org.teamapps.ux.component.form
Class ResponsiveFormLayout
- java.lang.Object
-
- org.teamapps.ux.component.form.ResponsiveFormLayout
-
public class ResponsiveFormLayout extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResponsiveFormLayout.LabelAndField
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringLABEL_NAME_SUFFIX
-
Constructor Summary
Constructors Modifier Constructor Description protectedResponsiveFormLayout(int minWidth, ResponsiveForm responsiveForm, ResponsiveFormConfigurationTemplate configurationTemplate)
-
Method Summary
-
-
-
Field Detail
-
LABEL_NAME_SUFFIX
protected static final java.lang.String LABEL_NAME_SUFFIX
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ResponsiveFormLayout
protected ResponsiveFormLayout(int minWidth, ResponsiveForm responsiveForm, ResponsiveFormConfigurationTemplate configurationTemplate)
-
-
Method Detail
-
addField
public ResponsiveFormField addField(int row, int column, java.lang.String propertyName, AbstractField field)
-
addField
public ResponsiveFormField addField(java.lang.String propertyName, AbstractField field, int column, int colSpan)
-
addLabelField
public ResponsiveFormField addLabelField(java.lang.String propertyName, AbstractField field)
-
addLabelField
public ResponsiveFormField addLabelField(AbstractField field)
-
addLabelField
public ResponsiveFormField addLabelField(java.lang.String propertyName, AbstractField field, int columOffset)
-
addLabelField
public ResponsiveFormField addLabelField(AbstractField field, int columOffset)
-
addLabelAndField
public ResponsiveFormLayout.LabelAndField addLabelAndField(AbstractField field)
-
addLabelAndField
public ResponsiveFormLayout.LabelAndField addLabelAndField(java.lang.String propertyName, AbstractField field)
-
addLabelAndField
public ResponsiveFormLayout.LabelAndField addLabelAndField(AbstractField field, boolean newRow)
-
addLabelAndField
public ResponsiveFormLayout.LabelAndField addLabelAndField(java.lang.String propertyName, AbstractField field, boolean newRow)
-
addLabelAndField
public ResponsiveFormLayout.LabelAndField addLabelAndField(org.teamapps.icons.Icon icon, java.lang.String caption, java.lang.String propertyName, AbstractField field)
-
addLabelAndField
public ResponsiveFormLayout.LabelAndField addLabelAndField(org.teamapps.icons.Icon icon, java.lang.String caption, AbstractField field)
-
addLabelAndField
public ResponsiveFormLayout.LabelAndField addLabelAndField(org.teamapps.icons.Icon icon, java.lang.String caption, java.lang.String propertyName, AbstractField field, boolean newRow)
-
addLabelAndField
public ResponsiveFormLayout.LabelAndField addLabelAndField(org.teamapps.icons.Icon icon, java.lang.String caption, AbstractField field, boolean newRow)
-
addLabelAndField
public ResponsiveFormLayout.LabelAndField addLabelAndField(org.teamapps.icons.Icon icon, java.lang.String caption, java.lang.String propertyName, AbstractField field, boolean newRow, int columnOffset)
-
addComponent
public ResponsiveFormField addComponent(int row, int column, Component field)
-
addComponent
public ResponsiveFormField addComponent(Component field, int column, int colSpan)
-
addComponent
public ResponsiveFormField addComponent(Component field, int column, int colSpan, boolean newLine)
-
addLabelComponent
public ResponsiveFormField addLabelComponent(Component field)
-
addLabelComponent
public ResponsiveFormField addLabelComponent(Component field, int columOffset)
-
addLabelAndComponent
public ResponsiveFormLayout.LabelAndField addLabelAndComponent(Component field)
-
addLabelAndComponent
public ResponsiveFormLayout.LabelAndField addLabelAndComponent(Component field, boolean newRow)
-
addLabelAndComponent
public ResponsiveFormLayout.LabelAndField addLabelAndComponent(org.teamapps.icons.Icon icon, java.lang.String caption, Component field)
-
addLabelAndComponent
public ResponsiveFormLayout.LabelAndField addLabelAndComponent(org.teamapps.icons.Icon icon, java.lang.String caption, Component field, boolean newRow)
-
addLabelAndComponent
public ResponsiveFormLayout.LabelAndField addLabelAndComponent(org.teamapps.icons.Icon icon, java.lang.String caption, Component field, boolean newRow, int columnOffset)
-
getLastNonEmptyRowInSection
public int getLastNonEmptyRowInSection()
-
getLastNonEmptyColumnInSection
public int getLastNonEmptyColumnInSection()
-
getLastNonEmptyColumnInRow
public int getLastNonEmptyColumnInRow(int row)
-
setRowConfig
public void setRowConfig(int row, GridRow rowConfig)
-
setColumnConfig
public void setColumnConfig(int colum, GridColumn columnConfig)
-
getSection
protected ResponsiveFormSection getSection()
-
addSection
public ResponsiveFormSection addSection()
-
addSection
public ResponsiveFormSection addSection(org.teamapps.icons.Icon icon, java.lang.String caption)
-
addSection
public ResponsiveFormSection addSection(org.teamapps.icons.Icon icon, java.lang.String caption, ResponsiveFormConfigurationTemplate configurationTemplate)
-
createFormLayoutPolicy
protected FormLayoutPolicy createFormLayoutPolicy()
-
createSmallScreenLayout
protected FormLayoutPolicy createSmallScreenLayout()
-
getMinWidth
public int getMinWidth()
-
-