Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
StatItem . |
Modifier and Type | Method and Description |
---|---|
StatItem |
build() |
StatItem.Builder |
setDrilldownId(java.lang.String drilldownId)
Id of drilldown widget, if any.
|
StatItem.Builder |
setTooltip(java.util.List<Tooltip> tooltip)
Multi-line text to be shown on tooltip while hovering over the stat.
|
StatItem.Builder |
setTotal(java.lang.String total)
If expression for total is specified, it evaluates it.
|
StatItem.Builder |
setValue(java.lang.String value)
Expression for stat to be displayed.
|
public Builder()
StatItem
.public StatItem.Builder setDrilldownId(java.lang.String drilldownId)
drilldownId
- New value for the property.public StatItem.Builder setTooltip(java.util.List<Tooltip> tooltip)
tooltip
- New value for the property.public StatItem.Builder setTotal(java.lang.String total)
total
- New value for the property.public StatItem.Builder setValue(java.lang.String value)
value
- New value for the property.public StatItem build()