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