Class VTabs

java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.tabs.Tabs
org.vaadin.firitin.components.tabs.VTabs
All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.HasComponents, 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>, Serializable, FluentAttachNotifier<VTab>, FluentComponent<VTab>, FluentDetachNotifier<VTab>, FluentHasComponents<VTab>, FluentHasStyle<VTab>

public class VTabs extends com.vaadin.flow.component.tabs.Tabs implements FluentComponent<VTab>, FluentHasStyle<VTab>, FluentHasComponents<VTab>
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
     
    VTabs(com.vaadin.flow.component.tabs.Tab... tabs)
     
  • Method Summary

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

    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 org.vaadin.firitin.fluency.ui.FluentAttachNotifier

    withAttachListener

    Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentComponent

    setId, setVisible, withId, withVisible

    Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentDetachNotifier

    withDetachListener

    Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasComponents

    withComponentAsFirst, withComponentAtIndex, withComponents

    Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasStyle

    withAddedClassName, withClassName, withStyle

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

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

    • VTabs

      public VTabs()
    • VTabs

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

    • 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)