Package io.jmix.ui.icon
Class IconResolverImpl
java.lang.Object
io.jmix.ui.icon.IconResolverImpl
- All Implemented Interfaces:
IconResolver
-
Field Summary
Modifier and TypeFieldDescriptionprotected List<IconProvider>
protected Icons
protected static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.vaadin.server.Resource
getIconResource
(String iconPath) Returns an instance ofResource
by the giveniconPath
.protected com.vaadin.server.Resource
getResource
(String iconPath) protected String
getThemeIcon
(String iconName) protected String
processPath
(String iconPath)
-
Field Details
-
THEME_PREFIX
- See Also:
-
PROPERTY_PREFIXES
-
icons
-
iconProviders
-
-
Constructor Details
-
IconResolverImpl
public IconResolverImpl()
-
-
Method Details
-
getIconResource
Description copied from interface:IconResolver
Returns an instance ofResource
by the giveniconPath
.- Specified by:
getIconResource
in interfaceIconResolver
- Parameters:
iconPath
- icon path- Returns:
Resource
instance
-
getResource
-
getThemeIcon
-
processPath
-