Package org.vaadin.miki.superfields.tabs
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.vaadin.flow.component.ComponentgenerateComponent(V object)Creates a new instance of a component that corresponds to the given object.
-
-
-
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.
-
-