Class ResponsiveFormLayout
java.lang.Object
org.teamapps.ux.component.form.ResponsiveFormLayout
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedResponsiveFormLayout(int minWidth, ResponsiveForm responsiveForm, ResponsiveFormConfigurationTemplate configurationTemplate) -
Method Summary
Modifier and TypeMethodDescriptionaddComponent(int row, int column, Component field) addComponent(Component field, int column, int colSpan) addComponent(Component field, int column, int colSpan, boolean newLine) addField(int row, int column, String propertyName, AbstractField field) addField(String propertyName, AbstractField field, int column, int colSpan) voidaddFieldContainer(Icon<?, ?> icon, String label, FieldContainer fieldContainer) Adds a field container to this form.voidaddFieldContainer(FieldContainer fieldContainer) Adds a field container to this form.addLabelAndComponent(Icon icon, String caption, Component field) addLabelAndComponent(Icon icon, String caption, Component field, boolean newRow) addLabelAndComponent(Icon icon, String caption, Component field, boolean newRow, int columnOffset) addLabelAndComponent(Component field) addLabelAndComponent(Component field, boolean newRow) addLabelAndField(String propertyName, AbstractField field) addLabelAndField(String propertyName, AbstractField field, boolean newRow) addLabelAndField(Icon icon, String caption, String propertyName, AbstractField field) addLabelAndField(Icon icon, String caption, String propertyName, AbstractField field, boolean newRow) addLabelAndField(Icon icon, String caption, String propertyName, AbstractField field, boolean newRow, int columnOffset) addLabelAndField(Icon icon, String caption, AbstractField field) addLabelAndField(Icon icon, String caption, AbstractField field, boolean newRow) addLabelAndField(AbstractField field) addLabelAndField(AbstractField field, boolean newRow) addLabelComponent(Component field) addLabelComponent(Component field, int columOffset) addLabelField(String propertyName, AbstractField field) addLabelField(String propertyName, AbstractField field, int columOffset) addLabelField(AbstractField field) addLabelField(AbstractField field, int columOffset) addSection(Icon icon, String caption) addSection(Icon icon, String caption, ResponsiveFormConfigurationTemplate configurationTemplate) protected FormLayoutPolicyprotected FormLayoutPolicyintgetLastNonEmptyColumnInRow(int row) intintintprotected ResponsiveFormSectionvoidsetColumnConfig(int colum, GridColumn columnConfig) voidsetRowConfig(int row, GridRow rowConfig)
-
Field Details
-
LABEL_NAME_SUFFIX
- See Also:
-
-
Constructor Details
-
ResponsiveFormLayout
protected ResponsiveFormLayout(int minWidth, ResponsiveForm responsiveForm, ResponsiveFormConfigurationTemplate configurationTemplate)
-
-
Method Details
-
addFieldContainer
Adds a field container to this form. The field container may contain multiple fields itself. Those fields will be treated as part of this form (validation, injection, extraction). -
addFieldContainer
Adds a field container to this form. The field container may contain multiple fields itself. Those fields will be treated as part of this form (validation, injection, extraction). -
addField
-
addField
public ResponsiveFormField addField(String propertyName, AbstractField field, int column, int colSpan) -
addLabelField
-
addLabelField
-
addLabelField
-
addLabelField
-
addLabelAndField
-
addLabelAndField
public ResponsiveFormLayout.LabelAndField addLabelAndField(String propertyName, AbstractField field) -
addLabelAndField
-
addLabelAndField
public ResponsiveFormLayout.LabelAndField addLabelAndField(String propertyName, AbstractField field, boolean newRow) -
addLabelAndField
public ResponsiveFormLayout.LabelAndField addLabelAndField(Icon icon, String caption, String propertyName, AbstractField field) -
addLabelAndField
public ResponsiveFormLayout.LabelAndField addLabelAndField(Icon icon, String caption, AbstractField field) -
addLabelAndField
public ResponsiveFormLayout.LabelAndField addLabelAndField(Icon icon, String caption, String propertyName, AbstractField field, boolean newRow) -
addLabelAndField
public ResponsiveFormLayout.LabelAndField addLabelAndField(Icon icon, String caption, AbstractField field, boolean newRow) -
addLabelAndField
public ResponsiveFormLayout.LabelAndField addLabelAndField(Icon icon, String caption, String propertyName, AbstractField field, boolean newRow, int columnOffset) -
addComponent
-
addComponent
-
addComponent
-
addLabelComponent
-
addLabelComponent
-
addLabelAndComponent
-
addLabelAndComponent
-
addLabelAndComponent
public ResponsiveFormLayout.LabelAndField addLabelAndComponent(Icon icon, String caption, Component field) -
addLabelAndComponent
public ResponsiveFormLayout.LabelAndField addLabelAndComponent(Icon icon, String caption, Component field, boolean newRow) -
addLabelAndComponent
public ResponsiveFormLayout.LabelAndField addLabelAndComponent(Icon icon, String caption, Component field, boolean newRow, int columnOffset) -
getLastNonEmptyRowInSection
public int getLastNonEmptyRowInSection() -
getLastNonEmptyColumnInSection
public int getLastNonEmptyColumnInSection() -
getLastNonEmptyColumnInRow
public int getLastNonEmptyColumnInRow(int row) -
setRowConfig
-
setColumnConfig
-
getSection
-
addSection
-
addSection
-
addSection
public ResponsiveFormSection addSection(Icon icon, String caption, ResponsiveFormConfigurationTemplate configurationTemplate) -
createFormLayoutPolicy
-
createSmallScreenLayout
-
getMinWidth
public int getMinWidth()
-