public static interface Component.HasIcon
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getIcon()
Get icon source: "font-icon:ADD", "icons/myicon.png", "theme://createIcon", etc.
|
void |
setIcon(java.lang.String icon)
Set an icon by its source: "font-icon:ADD", "icons/myicon.png", "theme://createIcon", etc.
|
void |
setIconFromSet(Icons.Icon icon)
Set an icon from an icon set.
|
java.lang.String getIcon()
void setIcon(java.lang.String icon)
void setIconFromSet(Icons.Icon icon)