Class RouteTabs
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.tabs.Tabs
com.flowingcode.vaadin.addons.demo.RouteTabs
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.DetachNotifier,com.vaadin.flow.component.HasElement,com.vaadin.flow.component.HasEnabled,com.vaadin.flow.component.HasSize,com.vaadin.flow.component.HasStyle,com.vaadin.flow.component.HasTheme,com.vaadin.flow.component.shared.HasThemeVariant<com.vaadin.flow.component.tabs.TabsVariant>,com.vaadin.flow.router.BeforeEnterObserver,com.vaadin.flow.router.internal.BeforeEnterHandler,Serializable
@Deprecated(forRemoval=true)
public class RouteTabs
extends com.vaadin.flow.component.tabs.Tabs
implements com.vaadin.flow.router.BeforeEnterObserver
Deprecated, for removal: This API element is subject to removal in a future version.
Extension of Tabs in order to allow to bind tabs with Routes.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.vaadin.flow.component.tabs.Tabs
com.vaadin.flow.component.tabs.Tabs.Orientation, com.vaadin.flow.component.tabs.Tabs.SelectedChangeEvent -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(com.vaadin.flow.router.RouterLink routerLink) Deprecated, for removal: This API element is subject to removal in a future version.voidaddLegacyTab(String label, com.vaadin.flow.component.Component content) Deprecated.voidbeforeEnter(com.vaadin.flow.router.BeforeEnterEvent event) Deprecated, for removal: This API element is subject to removal in a future version.com.vaadin.flow.router.RouterLinkDeprecated, for removal: This API element is subject to removal in a future version.Map<com.vaadin.flow.router.RouterLink,com.vaadin.flow.component.tabs.Tab> Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class com.vaadin.flow.component.tabs.Tabs
add, add, addComponentAsFirst, addComponentAtIndex, addSelectedChangeListener, addTabAsFirst, addTabAtIndex, getComponentAt, getComponentCount, getOrientation, getSelectedIndex, getSelectedTab, getTabAt, indexOf, indexOf, isAutoselect, onAttach, remove, remove, removeAll, replace, replace, setAutoselect, setFlexGrowForEnclosedTabs, setOrientation, 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, 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.HasEnabled
isEnabled, setEnabledMethods 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.HasTheme
addThemeName, addThemeNames, getThemeName, getThemeNames, hasThemeName, removeThemeName, removeThemeNames, setThemeName, setThemeNameMethods inherited from interface com.vaadin.flow.component.shared.HasThemeVariant
addThemeVariants, removeThemeVariants
-
Constructor Details
-
RouteTabs
public RouteTabs()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
add
public void add(com.vaadin.flow.router.RouterLink routerLink) Deprecated, for removal: This API element is subject to removal in a future version. -
beforeEnter
public void beforeEnter(com.vaadin.flow.router.BeforeEnterEvent event) Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
beforeEnterin interfacecom.vaadin.flow.router.internal.BeforeEnterHandler
-
getRouterLinkTabMap
public Map<com.vaadin.flow.router.RouterLink,com.vaadin.flow.component.tabs.Tab> getRouterLinkTabMap()Deprecated, for removal: This API element is subject to removal in a future version. -
getFirstRoute
public com.vaadin.flow.router.RouterLink getFirstRoute()Deprecated, for removal: This API element is subject to removal in a future version. -
addLegacyTab
Deprecated.
-
EnhancedRouteTabsinstead.