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