com.vaadin.ui.

Interface StyleGenerator<T>

    • Method Summary

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

      Gets a class name for the item.

    • Method Detail

      • apply

        String apply​(T item)

        Gets a class name for the item.

        Specified by:

        apply in interface Function<T,​String>

        Parameters:

        item - the item to get the class name for

        Returns:

        the generated class name