Package io.jmix.ui.icon
Class ClassPathIconProvider
java.lang.Object
io.jmix.ui.icon.ClassPathIconProvider
- All Implemented Interfaces:
IconProvider
@Component("ui_ClassPathIconProvider")
@Order(950)
public class ClassPathIconProvider
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
-
CLASSPATH_PREFIX
- See Also:
-
-
Constructor Details
-
ClassPathIconProvider
public ClassPathIconProvider()
-
-
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
-