Interface ItemDescriptionGenerator

All Superinterfaces:
Serializable
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 interface ItemDescriptionGenerator extends Serializable
  • Method Summary

    Modifier and Type
    Method
    Description
    generateDescription(com.vaadin.flow.component.Component source, Object itemId, Object propertyId)
    Called by Table when a cell (and row) is painted or a item is painted in Tree
  • Method Details

    • generateDescription

      String generateDescription(com.vaadin.flow.component.Component source, Object itemId, Object propertyId)
      Called by Table when a cell (and row) is painted or a item is painted in Tree
      Parameters:
      source - The source of the generator, the Tree or Table the generator is attached to
      itemId - The itemId of the painted cell
      propertyId - The propertyId of the cell, null when getting row description
      Returns:
      The description or "tooltip" of the item.