public static class EnhancedTabs.SelectedChangeEvent extends com.vaadin.flow.component.ComponentEvent<EnhancedTabs>
source
Constructor and Description |
---|
SelectedChangeEvent(EnhancedTabs source,
com.vaadin.flow.component.tabs.Tab previousTab,
boolean fromClient)
Creates a new selected change event.
|
Modifier and Type | Method and Description |
---|---|
com.vaadin.flow.component.tabs.Tab |
getPreviousTab()
Get previous selected tab for this event.
|
com.vaadin.flow.component.tabs.Tab |
getSelectedTab()
Get selected tab for this event.
|
boolean |
isInitialSelection()
Checks if this event is initial tabs selection.
|
getSource, isFromClient, unregisterListener
toString
public SelectedChangeEvent(EnhancedTabs source, com.vaadin.flow.component.tabs.Tab previousTab, boolean fromClient)
source
- The tabs that fired the event.previousTab
- The previous selected tab.fromClient
- true
for client-side events, false
otherwise.public com.vaadin.flow.component.tabs.Tab getSelectedTab()
null
when autoselect is set to false.public com.vaadin.flow.component.tabs.Tab getPreviousTab()
null
when autoselect is set to
false.public boolean isInitialSelection()
true
if the event is initial tabs selection, false
otherwiseCopyright © 2023–2024 Flowing Code. All rights reserved.