com.vaadin.ui.

Interface IconGenerator<T>

    • 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