Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
DonutPart . |
Modifier and Type | Method and Description |
---|---|
DonutPart |
build() |
DonutPart.Builder |
setCondition(java.lang.String condition)
If the condition is met then the part will be displayed.
|
DonutPart.Builder |
setDrilldownId(java.lang.String drilldownId)
Id of drilldown widget, if any.
|
DonutPart.Builder |
setField(java.lang.String field)
A numerical value that represents the portion or entity of the donut or stats
chart.
|
DonutPart.Builder |
setHideEmptyLegend(java.lang.Boolean hideEmptyLegend)
If true, legend will be shown only if the data for the part is available.
|
DonutPart.Builder |
setLabel(Label label) |
DonutPart.Builder |
setNavigation(java.lang.String navigation)
Hyperlink of the specified UI page that provides details.
|
DonutPart.Builder |
setRenderConfiguration(java.util.List<RenderConfiguration> renderConfiguration)
Additional rendering or conditional evaluation of the field values to be
performed, if any.
|
DonutPart.Builder |
setTooltip(java.util.List<Tooltip> tooltip)
Multi-line text to be shown on tooltip while hovering over the portion.
|
public Builder()
DonutPart
.public DonutPart.Builder setCondition(java.lang.String condition)
condition
- New value for the property.public DonutPart.Builder setDrilldownId(java.lang.String drilldownId)
drilldownId
- New value for the property.public DonutPart.Builder setField(java.lang.String field)
field
- New value for the property.public DonutPart.Builder setHideEmptyLegend(java.lang.Boolean hideEmptyLegend)
hideEmptyLegend
- New value for the property.public DonutPart.Builder setLabel(Label label)
label
- New value for the property.public DonutPart.Builder setNavigation(java.lang.String navigation)
navigation
- New value for the property.public DonutPart.Builder setRenderConfiguration(java.util.List<RenderConfiguration> renderConfiguration)
renderConfiguration
- New value for the property.public DonutPart.Builder setTooltip(java.util.List<Tooltip> tooltip)
tooltip
- New value for the property.public DonutPart build()