Package org.vaadin.miki.markers
Interface HasPlaceholder
-
- All Known Subinterfaces:
WithPlaceholderMixin<SELF>
- All Known Implementing Classes:
AbstractSuperFloatingPointField,AbstractSuperNumberField,SuperBigDecimalField,SuperDatePicker,SuperDoubleField,SuperIntegerField,SuperLongField,SuperTextArea,SuperTextField
public interface HasPlaceholderMarker interface for components that have a placeholder text. This is a workaround for issue #4068 in Vaadin Flow.- Since:
- 2020-04-07
- Author:
- miki
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetPlaceholder()Returns current placeholder text for this object.voidsetPlaceholder(String placeholder)Sets the placeholder text for this object.
-
-
-
Method Detail
-
getPlaceholder
String getPlaceholder()
Returns current placeholder text for this object.- Returns:
- Current placeholder text. Can be
null, meaning no placeholder.
-
setPlaceholder
void setPlaceholder(String placeholder)
Sets the placeholder text for this object.- Parameters:
placeholder- Placeholder text. Can benull, meaning no placeholder.
-
-