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 Details

  • Constructor Details

    • ClassPathIconProvider

      public ClassPathIconProvider()
  • 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