Package org.vaadin.miki.markers
Interface WithComponentAsIconMixin<SELF extends HasComponentAsIcon>
-
- Type Parameters:
SELF- Self type.
- All Superinterfaces:
HasComponentAsIcon
- All Known Implementing Classes:
IndexedButton,SimpleButtonState
public interface WithComponentAsIconMixin<SELF extends HasComponentAsIcon> extends HasComponentAsIcon
Mixin interface forHasComponentAsIcon.- 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.Component icon)ChainsHasComponentAsIcon.setIcon(Component)and returns itself.-
Methods inherited from interface org.vaadin.miki.markers.HasComponentAsIcon
getIcon, setIcon
-
-
-
-
Method Detail
-
withIcon
default SELF withIcon(com.vaadin.flow.component.Component icon)
ChainsHasComponentAsIcon.setIcon(Component)and returns itself.- Parameters:
icon- Icon to set. Can benull.- Returns:
- This.
- See Also:
HasComponentAsIcon.setIcon(Component)
-
-