public interface HasLabel
| Modifier and Type | Method and Description |
|---|---|
static HasLabel |
create(Supplier<String> getter,
Consumer<String> setter)
Create a new
HasLabel using given callback functions to get and set the label text. |
String |
getLabel()
Get the component label.
|
void |
setLabel(String label)
Set the component label.
|
String getLabel()
void setLabel(String label)
label - The label text to setstatic HasLabel create(Supplier<String> getter, Consumer<String> setter)
HasLabel using given callback functions to get and set the label text.getter - label text getter (not null)setter - label text setter (not null)HasLabel using given callback functionsCopyright © 2020 The Holon Platform. All rights reserved.