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 Details

  • Constructor Details

    • FileIconProvider

      public FileIconProvider()
  • Method Details

    • getIconResource

      public com.vaadin.server.Resource getIconResource(String iconPath)
      Specified by:
      getIconResource in interface IconProvider
      Returns:
      an instance of Resource by the given iconPath.
    • canProvide

      public boolean canProvide(@Nullable String iconPath)
      Specified by:
      canProvide in interface IconProvider
      Returns:
      true if icon provider can return an instance of Resource by the given iconPath or false otherwise