Package io.jmix.ui.icon
Class ThemeIconProvider
java.lang.Object
io.jmix.ui.icon.ThemeIconProvider
- All Implemented Interfaces:
IconProvider
@Component("ui_ThemeIconProvider")
@Order(980)
public class ThemeIconProvider
extends Object
implements IconProvider
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canProvide
(String iconPath) com.vaadin.server.Resource
getIconResource
(String iconPath)
-
Field Details
-
THEME_PREFIX
- See Also:
-
-
Constructor Details
-
ThemeIconProvider
public ThemeIconProvider()
-
-
Method Details
-
getIconResource
- Specified by:
getIconResource
in interfaceIconProvider
- Returns:
- an instance of
Resource
by the giveniconPath
.
-
canProvide
- Specified by:
canProvide
in interfaceIconProvider
- Returns:
- true if icon provider can return an instance of
Resource
by the giveniconPath
or false otherwise
-