Interface BeanTable.ComponentProvider<T>

All Superinterfaces:
Function<T,com.vaadin.flow.component.Component>, Serializable, com.vaadin.flow.function.SerializableFunction<T,com.vaadin.flow.component.Component>, com.vaadin.flow.function.ValueProvider<T,com.vaadin.flow.component.Component>
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.ComponentProvider<T> extends com.vaadin.flow.function.ValueProvider<T,com.vaadin.flow.component.Component>
  • Method Summary

    Modifier and Type
    Method
    Description
    com.vaadin.flow.component.Component
    apply(T item)
    Gets a caption for the item.

    Methods inherited from interface java.util.function.Function

    andThen, compose
  • Method Details

    • apply

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