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