Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
Header . |
Modifier and Type | Method and Description |
---|---|
Header |
build() |
Header.Builder |
setCondition(java.lang.String condition)
If the condition is met then the header will be applied.
|
Header.Builder |
setContentAlignment(java.lang.String contentAlignment)
Possible values are:
Header.CONTENT_ALIGNMENT_LEFT Header.CONTENT_ALIGNMENT_RIGHT Alignment of
header labels. |
Header.Builder |
setSubHeaders(java.util.List<PropertyItem> subHeaders)
An array of label-value properties.
|
Header.Builder |
setSubHeaderWidgets(java.util.List<WidgetItem> subHeaderWidgets)
An array of widgets which will appear inside the container header Instead of
'sub_headers' property use this property.
|
public Builder()
Header
.public Header.Builder setCondition(java.lang.String condition)
condition
- New value for the property.public Header.Builder setContentAlignment(java.lang.String contentAlignment)
contentAlignment
- New value for the property.public Header.Builder setSubHeaderWidgets(java.util.List<WidgetItem> subHeaderWidgets)
subHeaderWidgets
- New value for the property.public Header.Builder setSubHeaders(java.util.List<PropertyItem> subHeaders)
subHeaders
- New value for the property.public Header build()