Class FormLayout.ResponsiveStep

  • All Implemented Interfaces:
    com.vaadin.flow.component.JsonSerializable, Serializable
    Enclosing class:
    FormLayout

    public static class FormLayout.ResponsiveStep
    extends Object
    implements com.vaadin.flow.component.JsonSerializable
    A class used in describing the responsive layouting behavior of a FormLayout.
    Author:
    Vaadin Ltd
    See Also:
    Serialized Form
    • Constructor Detail

      • ResponsiveStep

        public ResponsiveStep​(String minWidth,
                              int columns)
        Constructs a ResponsiveStep with the given minimum width and number of columns.
        Parameters:
        minWidth - the minimum width as a CSS string value after which this responsive step is to be applied
        columns - the number of columns the layout should have
    • Method Detail

      • toJson

        public elemental.json.JsonObject toJson()
        Specified by:
        toJson in interface com.vaadin.flow.component.JsonSerializable
      • readJson

        public FormLayout.ResponsiveStep readJson​(elemental.json.JsonObject value)
        Specified by:
        readJson in interface com.vaadin.flow.component.JsonSerializable