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 for
HasComponentAsIcon.- Since:
- 2020-07-07
- Author:
- miki
-
Method Summary
Modifier and TypeMethodDescriptiondefault 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 Details
-
withIcon
ChainsHasComponentAsIcon.setIcon(Component)and returns itself.- Parameters:
icon- Icon to set. Can benull.- Returns:
- This.
- See Also:
-