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 chaining HasIcon.setIcon(Icon).
Since:
2020-07-07
Author:
miki
  • Method Summary

    Modifier and Type
    Method
    Description
    default SELF
    withIcon(com.vaadin.flow.component.icon.Icon icon)
    Chains HasIcon.setIcon(Icon) and returns itself.

    Methods inherited from interface org.vaadin.miki.markers.HasIcon

    getIcon, setIcon