Interface BeanTable.StringProvider<T>

All Superinterfaces:
Function<T,String>, Serializable, com.vaadin.flow.function.SerializableFunction<T,String>, com.vaadin.flow.function.ValueProvider<T,String>
Enclosing class:
BeanTable<T>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface BeanTable.StringProvider<T> extends com.vaadin.flow.function.ValueProvider<T,String>
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(T item)
    Gets a caption for the item.

    Methods inherited from interface java.util.function.Function

    andThen, compose
  • Method Details

    • apply

      String apply(T item)
      Gets a caption for the item.
      Specified by:
      apply in interface Function<T,String>
      Specified by:
      apply in interface com.vaadin.flow.function.ValueProvider<T,String>
      Parameters:
      item - the item to get caption for
      Returns:
      the caption of the item, not null