public class RouteTabs
extends com.vaadin.flow.component.tabs.Tabs
implements com.vaadin.flow.router.BeforeEnterObserver
https://cookbook.vaadin.com/tabs-with-routes/a,
Serialized Form| Constructor and Description |
|---|
RouteTabs() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(com.vaadin.flow.router.RouterLink routerLink) |
void |
addLegacyTab(String label,
com.vaadin.flow.component.Component content)
Deprecated.
|
void |
beforeEnter(com.vaadin.flow.router.BeforeEnterEvent event) |
com.vaadin.flow.router.RouterLink |
getFirstRoute() |
Map<com.vaadin.flow.router.RouterLink,com.vaadin.flow.component.tabs.Tab> |
getRouterLinkTabMap() |
add, add, addComponentAtIndex, addSelectedChangeListener, getOrientation, getSelectedIndex, getSelectedTab, isAutoselect, onAttach, remove, removeAll, replace, setAutoselect, setFlexGrowForEnclosedTabs, setOrientation, setSelectedIndex, setSelectedTabaddThemeVariants, focus, removeThemeVariantsaddListener, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onDetach, onEnabledStateChanged, set, setElement, setId, setVisibleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetChildren, getComponentAt, getComponentCount, indexOfgetCssSize, getHeight, getHeightUnit, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, getWidthUnit, setHeight, setHeight, setHeightFull, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFulladdClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassNamepublic void add(com.vaadin.flow.router.RouterLink routerLink)
public void beforeEnter(com.vaadin.flow.router.BeforeEnterEvent event)
beforeEnter in interface com.vaadin.flow.router.internal.BeforeEnterHandlerpublic Map<com.vaadin.flow.router.RouterLink,com.vaadin.flow.component.tabs.Tab> getRouterLinkTabMap()
public com.vaadin.flow.router.RouterLink getFirstRoute()
@Deprecated public void addLegacyTab(String label, com.vaadin.flow.component.Component content)
Copyright © 2020–2024 Flowing Code. All rights reserved.