Package io.jmix.ui.icon
Class FallbackIconProvider
java.lang.Object
io.jmix.ui.icon.FallbackIconProvider
- All Implemented Interfaces:
IconProvider
@Component("ui_FallbackIconProvider")
@Order(990)
public class FallbackIconProvider
extends Object
implements IconProvider
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canProvide
(String iconPath) com.vaadin.server.Resource
getIconResource
(String iconPath)
-
Constructor Details
-
FallbackIconProvider
public FallbackIconProvider()
-
-
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
-