Package org.vaadin.miki.markers
Interface WithTextMixin<SELF extends HasText>
-
- Type Parameters:
SELF- Self type.
- All Superinterfaces:
HasText
- All Known Implementing Classes:
IndexedButton,SimpleButtonState
public interface WithTextMixin<SELF extends HasText> extends HasText
Marker interface for objects that have a String property namedtext. Does not extend nor depend on Vaadin'sHasText, because that interface extendsHasElement.- Since:
- 2020-07-07
- Author:
- miki
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default SELFwithText(String text)ChainsHasText.setText(String)and returns itself.
-
-
-
Method Detail
-
withText
default SELF withText(String text)
ChainsHasText.setText(String)and returns itself.- Parameters:
text- Text to set.- Returns:
- This.
- See Also:
HasText.setText(String)
-
-