Package org.vaadin.miki.superfields.tabs
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.
Marker interface for objects that produce tabs.
- Since:
- 2020-04-10
- Author:
- miki
-
Method Summary
Modifier and TypeMethodDescriptioncom.vaadin.flow.component.tabs.TabgenerateTab(V object) Creates a new instance of a tab that corresponds to the given object.
-
Method Details
-
generateTab
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.
-