com.vaadin.ui.

Interface IconGenerator<T>

    • Method Summary

      All Methods
      Modifier and Type Method Description
      Resource apply​(T item)

      Gets an icon resource for the item.

    • Method Detail

      • apply

        Resource apply​(T item)

        Gets an icon resource for the item.

        Specified by:

        apply in interface Function<T,​Resource>

        Parameters:

        item - the item for which to generate an icon for

        Returns:

        the generated icon resource