Package org.vaadin.miki.markers
Interface WithIconMixin<SELF extends HasIcon>
- Type Parameters:
SELF- Self type.
- All Superinterfaces:
HasIcon
Mixin interface to allow chaining
HasIcon.setIcon(Icon).- Since:
- 2020-07-07
- Author:
- miki
-
Method Summary
Modifier and TypeMethodDescriptiondefault SELFwithIcon(com.vaadin.flow.component.icon.Icon icon) ChainsHasIcon.setIcon(Icon)and returns itself.
-
Method Details
-
withIcon
ChainsHasIcon.setIcon(Icon)and returns itself.- Parameters:
icon- Icon to set.- Returns:
- This.
- See Also:
-