Package org.vaadin.miki.markers
Interface HasIcon
- All Known Subinterfaces:
WithIconMixin<SELF>
public interface HasIcon
Marker interface for objects that have an
Icon.- Since:
- 2020-07-07
- Author:
- miki
-
Method Summary
-
Method Details
-
setIcon
void setIcon(com.vaadin.flow.component.icon.Icon icon) Sets an icon associated with this object.- Parameters:
icon- Icon to set. Can benullto remove current icon.
-
getIcon
com.vaadin.flow.component.icon.Icon getIcon()Returns current icon.- Returns:
- Current
Icon. Can benullif no icon has been associated.
-