public static class FormLayout.ResponsiveStep extends Object implements com.vaadin.flow.component.JsonSerializable
FormLayout.| Modifier and Type | Class and Description |
|---|---|
static class |
FormLayout.ResponsiveStep.LabelsPosition
Enum for describing the position of label components in a
FormLayout.FormItem. |
| Constructor and Description |
|---|
ResponsiveStep(String minWidth,
int columns)
Constructs a ResponsiveStep with the given minimum width and number
of columns.
|
ResponsiveStep(String minWidth,
int columns,
FormLayout.ResponsiveStep.LabelsPosition labelsPosition)
Constructs a ResponsiveStep with the given minimum width, number of
columns and label position.
|
| Modifier and Type | Method and Description |
|---|---|
FormLayout.ResponsiveStep |
readJson(elemental.json.JsonObject value) |
elemental.json.JsonObject |
toJson() |
public ResponsiveStep(String minWidth, int columns)
minWidth - the minimum width as a CSS string value after which this
responsive step is to be appliedcolumns - the number of columns the layout should havepublic ResponsiveStep(String minWidth, int columns, FormLayout.ResponsiveStep.LabelsPosition labelsPosition)
minWidth - the minimum width as a CSS string value after which this
responsive step is to be appliedcolumns - the number of columns the layout should havelabelsPosition - the position where label components are to be displayed in
FormLayout.FormItemsFormLayout.ResponsiveStep.LabelsPosition,
FormLayout.FormItempublic elemental.json.JsonObject toJson()
toJson in interface com.vaadin.flow.component.JsonSerializablepublic FormLayout.ResponsiveStep readJson(elemental.json.JsonObject value)
readJson in interface com.vaadin.flow.component.JsonSerializableCopyright © 2025. All rights reserved.