public static final class RenderConfiguration.Builder
extends java.lang.Object
RenderConfiguration.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
RenderConfiguration. |
| Modifier and Type | Method and Description |
|---|---|
RenderConfiguration |
build() |
RenderConfiguration.Builder |
setColor(java.lang.String color)
The color to use when rendering an entity.
|
RenderConfiguration.Builder |
setCondition(java.lang.String condition)
If the condition is met then the rendering specified for the condition will be
applied.
|
RenderConfiguration.Builder |
setDisplayValue(java.lang.String displayValue)
If specified, overrides the field value.
|
RenderConfiguration.Builder |
setIcons(java.util.List<Icon> icons)
Icons to be applied at dashboard for widgets and UI elements.
|
RenderConfiguration.Builder |
setTooltip(java.util.List<Tooltip> tooltip)
Multi-line text to be shown on tooltip while hovering over the UI element if the
condition is met.
|
public Builder()
RenderConfiguration.public RenderConfiguration.Builder setColor(java.lang.String color)
color - New value for the property.public RenderConfiguration.Builder setCondition(java.lang.String condition)
condition - New value for the property.public RenderConfiguration.Builder setDisplayValue(java.lang.String displayValue)
displayValue - New value for the property.public RenderConfiguration.Builder setIcons(java.util.List<Icon> icons)
icons - New value for the property.public RenderConfiguration.Builder setTooltip(java.util.List<Tooltip> tooltip)
tooltip - New value for the property.public RenderConfiguration build()