Interface TabContentGenerator<V>

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

      • generateComponent

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