Package com.storedobject.vaadin
Class Tabs
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.tabs.TabSheet
com.storedobject.vaadin.Tabs
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.DetachNotifier,com.vaadin.flow.component.HasElement,com.vaadin.flow.component.HasSize,com.vaadin.flow.component.HasStyle,com.vaadin.flow.component.HasTheme,com.vaadin.flow.component.shared.HasPrefix,com.vaadin.flow.component.shared.HasSuffix,com.vaadin.flow.component.shared.HasThemeVariant<com.vaadin.flow.component.tabs.TabSheetVariant>,Serializable
public class Tabs
extends com.vaadin.flow.component.tabs.TabSheet
Deprecated.
Use Vaadin's TabSheet instead.
This was providing functionality similar to the new TabsSheet component in Vaadin. Now, this is deprecated and the
implementation is extended from Vaadin's TabSheet.
- Author:
- Syam
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.vaadin.flow.component.tabs.TabSheet
com.vaadin.flow.component.tabs.TabSheet.SelectedChangeEvent -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(com.vaadin.flow.component.tabs.Tab tab, com.vaadin.flow.component.Component... components) Deprecated.Add a tab with its components.com.vaadin.flow.component.tabs.TabDeprecated.Create and add a tab with specified components.protected Stream<com.vaadin.flow.component.Component> getChildren(com.vaadin.flow.component.tabs.Tab tab) Deprecated.Get components under a given tab.voidremove(com.vaadin.flow.component.tabs.Tab... tabs) Deprecated.Remove tabs.voidDeprecated.Remove all tabs.protected voidtabSelected(com.vaadin.flow.component.tabs.Tab selected) Deprecated.This method will be invoked whenever a tab is selected.Methods inherited from class com.vaadin.flow.component.tabs.TabSheet
add, add, add, add, addSelectedChangeListener, getComponent, getIndexOf, getSelectedIndex, getSelectedTab, getTab, getTabAt, getTabCount, remove, remove, remove, setSelectedIndex, setSelectedTabMethods inherited from class com.vaadin.flow.component.Component
addListener, findAncestor, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListenerMethods inherited from interface com.vaadin.flow.component.HasElement
getElementMethods inherited from interface com.vaadin.flow.component.shared.HasPrefix
getPrefixComponent, setPrefixComponentMethods inherited from interface com.vaadin.flow.component.HasSize
getHeight, getHeightUnit, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, getWidthUnit, setHeight, setHeight, setHeightFull, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFullMethods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassNameMethods inherited from interface com.vaadin.flow.component.shared.HasSuffix
getSuffixComponent, setSuffixComponentMethods inherited from interface com.vaadin.flow.component.HasTheme
addThemeName, addThemeNames, getThemeName, getThemeNames, hasThemeName, removeThemeName, removeThemeNames, setThemeName, setThemeNameMethods inherited from interface com.vaadin.flow.component.shared.HasThemeVariant
addThemeVariants, removeThemeVariants
-
Constructor Details
-
Tabs
public Tabs()Deprecated.Constructor.
-
-
Method Details
-
tabSelected
protected void tabSelected(com.vaadin.flow.component.tabs.Tab selected) Deprecated.This method will be invoked whenever a tab is selected.- Parameters:
selected- The selected tab
-
getChildren
protected Stream<com.vaadin.flow.component.Component> getChildren(com.vaadin.flow.component.tabs.Tab tab) Deprecated.Get components under a given tab.- Parameters:
tab- Tab- Returns:
- Components as a Stream.
-
createTab
public com.vaadin.flow.component.tabs.Tab createTab(String tabLabel, com.vaadin.flow.component.Component... components) Deprecated.Create and add a tab with specified components.- Parameters:
tabLabel- Label for the tab to be created and addedcomponents- Components to be added to the tab- Returns:
- Newly created tab.
-
add
public void add(com.vaadin.flow.component.tabs.Tab tab, com.vaadin.flow.component.Component... components) Deprecated.Add a tab with its components.- Parameters:
tab- Tab to be added (it could be a tab that was already added)components- Components to be added under it
-
remove
public void remove(com.vaadin.flow.component.tabs.Tab... tabs) Deprecated.Remove tabs.- Parameters:
tabs- Tabs to be removed.
-
removeAll
public void removeAll()Deprecated.Remove all tabs.
-