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.
Deprecated for removal. Use EnhancedRouteTabs instead.
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

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    add(com.vaadin.flow.router.RouterLink routerLink)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    addLegacyTab(String label, com.vaadin.flow.component.Component content)
    Deprecated.
    void
    beforeEnter(com.vaadin.flow.router.BeforeEnterEvent event)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    com.vaadin.flow.router.RouterLink
    Deprecated, 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, setSelectedTab

    Methods 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, setVisible

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.vaadin.flow.component.AttachNotifier

    addAttachListener

    Methods inherited from interface com.vaadin.flow.component.DetachNotifier

    addDetachListener

    Methods inherited from interface com.vaadin.flow.component.HasElement

    getElement

    Methods inherited from interface com.vaadin.flow.component.HasEnabled

    isEnabled, setEnabled

    Methods 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, setWidthFull

    Methods inherited from interface com.vaadin.flow.component.HasStyle

    addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName

    Methods inherited from interface com.vaadin.flow.component.HasTheme

    addThemeName, addThemeNames, getThemeName, getThemeNames, hasThemeName, removeThemeName, removeThemeNames, setThemeName, setThemeName

    Methods 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:
      beforeEnter in interface com.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 public void addLegacyTab(String label, com.vaadin.flow.component.Component content)
      Deprecated.