public static class FormLayout.ResponsiveStep extends Object implements 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)
Sets the JSON object data into the Java object.
|
elemental.json.JsonObject |
toJson()
Converts this object to its JSON format.
|
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()
JsonSerializabletoJson in interface JsonSerializablepublic FormLayout.ResponsiveStep readJson(elemental.json.JsonObject value)
JsonSerializablereadJson in interface JsonSerializablevalue - the JSON representation of the objectCopyright © 2025. All rights reserved.