Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
Tooltip . |
Modifier and Type | Method and Description |
---|---|
Tooltip |
build() |
Tooltip.Builder |
setCondition(java.lang.String condition)
If the condition is met then the tooltip will be applied.
|
Tooltip.Builder |
setHeading(java.lang.Boolean heading)
If true, displays tooltip text in bold
|
Tooltip.Builder |
setText(java.lang.String text)
Text to be shown on tooltip while hovering over UI element.
|
public Builder()
Tooltip
.public Tooltip.Builder setCondition(java.lang.String condition)
condition
- New value for the property.public Tooltip.Builder setHeading(java.lang.Boolean heading)
heading
- New value for the property.public Tooltip.Builder setText(java.lang.String text)
text
- New value for the property.public Tooltip build()