public interface HasComponentAsIcon
Component as an icon.| Modifier and Type | Method and Description |
|---|---|
com.vaadin.flow.component.Component |
getIcon()
Returns current icon.
|
void |
setIcon(com.vaadin.flow.component.Component icon)
Sets given
Component as an icon of this object. |
void setIcon(com.vaadin.flow.component.Component icon)
Component as an icon of this object.icon - A Component to be used as an icon. Can be null to clear current icon.com.vaadin.flow.component.Component getIcon()
Component that serves as an icon for this object. Can be null.Copyright © 2024 Miki. All rights reserved.