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.FormItem
sFormLayout.ResponsiveStep.LabelsPosition
,
FormLayout.FormItem
public elemental.json.JsonObject toJson()
JsonSerializable
toJson
in interface JsonSerializable
public FormLayout.ResponsiveStep readJson(elemental.json.JsonObject value)
JsonSerializable
readJson
in interface JsonSerializable
value
- the JSON representation of the objectCopyright © 2018. All rights reserved.