| Package | Description |
|---|---|
| org.vaadin.miki.superfields.tabs |
| Modifier and Type | Method and Description |
|---|---|
TabContentGenerator<T> |
SuperTabs.getTabContentGenerator()
Returns the generator responsible for providing content for selected tabs.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SuperTabs.setTabContentGenerator(TabContentGenerator<T> tabContentGenerator)
Sets the generator responsible for providing content for selected tabs.
|
SuperTabs<T> |
SuperTabs.withTabContentGenerator(TabContentGenerator<T> tabContentGenerator)
Chains
SuperTabs.setTabContentGenerator(TabContentGenerator) and returns itself. |
| Constructor and Description |
|---|
SuperTabs(TabContentGenerator<T> tabContentGenerator,
T... values)
Creates the component with given
TabContentGenerator and tabs, but with default TabHeaderGenerator and TabHandler. |
SuperTabs(TabHeaderGenerator<T> tabHeaderGenerator,
TabContentGenerator<T> tabContentGenerator,
T... values)
Creates the component with given
TabHeaderGenerator, TabContentGenerator and tabs, but default TabHandler. |
SuperTabs(T defaultValue,
Supplier<C> mainContentSupplier,
TabHandler tabHandler,
TabHeaderGenerator<T> tabHeaderGenerator,
TabContentGenerator<T> tabContentGenerator,
T... values)
Creates the component with given
TabHandler, TabHeaderGenerator, TabContentGenerator and tabs, overriding the default value from null to the one provided and overriding default layout component for tab contents. |
SuperTabs(T defaultValue,
TabHandler tabHandler,
TabHeaderGenerator<T> tabHeaderGenerator,
TabContentGenerator<T> tabContentGenerator,
T... values)
Creates the component with given
TabHandler, TabHeaderGenerator, TabContentGenerator and tabs, overriding the default value from null to the one provided. |
SuperTabs(T defaultValue,
TabHeaderGenerator<T> tabHeaderGenerator,
TabContentGenerator<T> tabContentGenerator,
T... values)
Creates the component with default
TabHandler, given TabHeaderGenerator, TabContentGenerator and tabs, overriding the default value from null to the one provided. |
Copyright © 2023 Miki. All rights reserved.