Class ThemeIconProvider

java.lang.Object
io.jmix.ui.icon.ThemeIconProvider
All Implemented Interfaces:
IconProvider

@Component("ui_ThemeIconProvider") @Order(980) public class ThemeIconProvider extends Object implements IconProvider
  • Field Details

  • Constructor Details

    • ThemeIconProvider

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