Package com.vmware.nsx_policy.model
Class Layout.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.Layout.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Layout
build()
Layout.Builder
setProperties(LayoutProperties properties)
Layout.Builder
setType(java.lang.String type)
Possible values are:Layout.TYPE_HORIZONTAL
Layout.TYPE_VERTICAL
Layout.TYPE_GRID
Layout.TYPE_AUTO
Describes layout of a container or widget.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofLayout
.
-
-
Method Detail
-
setProperties
public Layout.Builder setProperties(LayoutProperties properties)
- Parameters:
properties
- New value for the property.
-
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()
-
-