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 Details

    • FallbackIconProvider

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