Class VTabs

    • 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
      VTabs()  
      VTabs​(com.vaadin.flow.component.tabs.Tab... tabs)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      VTabs withAutoselect​(boolean autoselect)  
      VTabs withFlexGrowForEnclosedTabs​(double flexGrow)  
      VTabs withOrientation​(com.vaadin.flow.component.tabs.Tabs.Orientation orientation)  
      VTabs withSelectedChangeListener​(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.tabs.Tabs.SelectedChangeEvent> listener)  
      VTabs withSelectedIndex​(int selectedIndex)  
      VTabs withSelectedTab​(com.vaadin.flow.component.tabs.Tab selectedTab)  
      VTabs withTab​(com.vaadin.flow.component.tabs.Tab tab)  
      VTabs withThemeVariants​(com.vaadin.flow.component.tabs.TabsVariant... variants)  
      • Methods inherited from class com.vaadin.flow.component.tabs.Tabs

        add, add, addComponentAtIndex, addSelectedChangeListener, getOrientation, getSelectedIndex, getSelectedTab, isAutoselect, onAttach, remove, removeAll, replace, setAutoselect, setFlexGrowForEnclosedTabs, setOrientation, setSelectedIndex, setSelectedTab
      • Methods inherited from class com.vaadin.flow.component.tabs.GeneratedVaadinTabs

        addThemeVariants, focus, removeThemeVariants
      • Methods inherited from class com.vaadin.flow.component.Component

        addListener, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onDetach, onEnabledStateChanged, set, setElement, setId, setVisible
      • 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.HasComponents

        add, add, addComponentAsFirst, addComponentAtIndex, remove, removeAll
      • 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.HasOrderedComponents

        getChildren, getComponentAt, getComponentCount, indexOf
      • 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
    • Constructor Detail

      • VTabs

        public VTabs()
      • VTabs

        public VTabs​(com.vaadin.flow.component.tabs.Tab... tabs)
    • Method Detail

      • withTab

        public VTabs withTab​(com.vaadin.flow.component.tabs.Tab tab)
      • withSelectedTab

        public VTabs withSelectedTab​(com.vaadin.flow.component.tabs.Tab selectedTab)
      • withOrientation

        public VTabs withOrientation​(com.vaadin.flow.component.tabs.Tabs.Orientation orientation)
      • withFlexGrowForEnclosedTabs

        public VTabs withFlexGrowForEnclosedTabs​(double flexGrow)
      • withThemeVariants

        public VTabs withThemeVariants​(com.vaadin.flow.component.tabs.TabsVariant... variants)
      • withSelectedIndex

        public VTabs withSelectedIndex​(int selectedIndex)
      • withAutoselect

        public VTabs withAutoselect​(boolean autoselect)
      • withSelectedChangeListener

        public VTabs withSelectedChangeListener​(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.tabs.Tabs.SelectedChangeEvent> listener)