com.vaadin.ui.

Interface ItemCaptionGenerator<T>

    • Method Summary

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

      Gets a caption for the item.

    • Method Detail

      • apply

        String apply​(T item)

        Gets a caption for the item.

        Specified by:

        apply in interface Function<T,​String>

        Parameters:

        item - the item to get caption for

        Returns:

        the caption of the item; null will be shown as an empty string