Package org.vaadin.miki.superfields.tabs
Interface TabHandler
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
LambdaTabHandler
Interface for objects handling the tab adding, displaying and hiding.
- Since:
- 2020-04-30
- Author:
- miki
-
Method Summary
Modifier and TypeMethodDescriptionvoidtabAdded(com.vaadin.flow.component.tabs.Tab tabHeader, com.vaadin.flow.component.Component tabContents, com.vaadin.flow.component.HasComponents contentsContainer) Called when a tab has been added, but its contents have not.voidtabDeselected(com.vaadin.flow.component.tabs.Tab tabHeader, com.vaadin.flow.component.Component tabContents, com.vaadin.flow.component.HasComponents contentsContainer) Called when a tab has been deselected, but its contents have not yet been updated.voidtabRemoved(com.vaadin.flow.component.tabs.Tab tabHeader, com.vaadin.flow.component.Component tabContents, com.vaadin.flow.component.HasComponents contentsContainer) Called when a tab has been removed, but its contents have not.voidtabSelected(com.vaadin.flow.component.tabs.Tab tabHeader, com.vaadin.flow.component.Component tabContents, com.vaadin.flow.component.HasComponents contentsContainer) Called when a tab has been selected, but its contents have not yet been updated.
-
Method Details
-
tabAdded
void tabAdded(com.vaadin.flow.component.tabs.Tab tabHeader, com.vaadin.flow.component.Component tabContents, com.vaadin.flow.component.HasComponents contentsContainer) Called when a tab has been added, but its contents have not.- Parameters:
tabHeader- Header that was added to the tab headers.tabContents- Contents to be added.contentsContainer- Container with the contents. It also is aComponent.
-
tabRemoved
void tabRemoved(com.vaadin.flow.component.tabs.Tab tabHeader, com.vaadin.flow.component.Component tabContents, com.vaadin.flow.component.HasComponents contentsContainer) Called when a tab has been removed, but its contents have not.- Parameters:
tabHeader- Header that was removed.tabContents- Contents to be removed.contentsContainer- Container with the contents. It also is aComponent.
-
tabSelected
void tabSelected(com.vaadin.flow.component.tabs.Tab tabHeader, com.vaadin.flow.component.Component tabContents, com.vaadin.flow.component.HasComponents contentsContainer) Called when a tab has been selected, but its contents have not yet been updated.- Parameters:
tabHeader- Header that was selected.tabContents- Contents to be selected.contentsContainer- Container with the contents. It also is aComponent.
-
tabDeselected
void tabDeselected(com.vaadin.flow.component.tabs.Tab tabHeader, com.vaadin.flow.component.Component tabContents, com.vaadin.flow.component.HasComponents contentsContainer) Called when a tab has been deselected, but its contents have not yet been updated.- Parameters:
tabHeader- Header that was deselected.tabContents- Contents to be deselected.contentsContainer- Container with the contents. It also is aComponent.
-