Class Label.Builder
- Enclosing class:
Label
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the label.A fixed text; seetext(Supplier).The text, re-read on every refresh.
-
Method Details
-
text
The text, re-read on every refresh. Required.- Parameters:
text- read on refresh- Returns:
- this builder
-
text
A fixed text; seetext(Supplier).- Parameters:
text- the text- Returns:
- this builder
-
build
Builds the label.- Returns:
- the label
- Throws:
IllegalStateException- iftextis missing
-