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