Class Layout.Builder

  • Enclosing class:
    Layout

    public static final class Layout.Builder
    extends java.lang.Object
    Builder class for Layout.
    • Constructor Detail

      • Builder

        public Builder()
        Constructor with parameters for the required properties of Layout.
    • Method Detail

      • setType

        public Layout.Builder setType​(java.lang.String type)
        Possible values are: Describes layout of a container or widget. Layout describes how individual widgets are placed inside the container. For example, if HORIZONTAL is chosen widgets are placed side by side inside the container. If VERTICAL is chosen then widgets are placed one below the other. If GRID is chosen then the container or widget display area is divided into a grid of m rows and n columns, as specified in the properties, and the widgets are placed inside the grid. If AUTO is chosen then container or widgets display area will be automatically calculated depending upon the required width.
        Parameters:
        type - New value for the property.
      • build

        public Layout build()