Interface TabHeaderGenerator<V>

  • Type Parameters:
    V - Type of object to generate tabs for.
    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 TabHeaderGenerator<V>
    extends Serializable
    Marker interface for objects that produce tabs.
    Since:
    2020-04-10
    Author:
    miki
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.vaadin.flow.component.tabs.Tab generateTab​(V object)
      Creates a new instance of a tab that corresponds to the given object.
    • Method Detail

      • generateTab

        com.vaadin.flow.component.tabs.Tab generateTab​(V object)
        Creates a new instance of a tab that corresponds to the given object.
        Parameters:
        object - Object to generate tab for.
        Returns:
        Tab to be added to tabs. Must not be null.