Package io.jmix.ui.component
Interface CompositeWithIcon
- All Superinterfaces:
Component.HasIcon
- All Known Subinterfaces:
Dashboard
,GroupFilter
- All Known Implementing Classes:
DashboardImpl
,FilterImpl
,GroupFilterImpl
CompositeComponent
having an icon.
Default implementations delegate their execution to CompositeComponent.getComposition()
.-
Method Summary
Modifier and TypeMethodDescriptiondefault String
getIcon()
Get icon source: "font-icon:ADD", "icons/myicon.png", "theme://createIcon", etc.default void
Set an icon by its source: "font-icon:ADD", "icons/myicon.png", "theme://createIcon", etc.default void
setIconFromSet
(Icons.Icon icon) Set an icon from an icon set.
-
Method Details
-
getIcon
Description copied from interface:Component.HasIcon
Get icon source: "font-icon:ADD", "icons/myicon.png", "theme://createIcon", etc.- Specified by:
getIcon
in interfaceComponent.HasIcon
-
setIcon
Description copied from interface:Component.HasIcon
Set an icon by its source: "font-icon:ADD", "icons/myicon.png", "theme://createIcon", etc.- Specified by:
setIcon
in interfaceComponent.HasIcon
-
setIconFromSet
Description copied from interface:Component.HasIcon
Set an icon from an icon set.- Specified by:
setIconFromSet
in interfaceComponent.HasIcon
-