Class TabSheet

java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.HtmlComponent
com.vaadin.flow.component.HtmlContainer
com.vaadin.flow.component.html.Div
org.jumpmind.vaadin.ui.common.TabSheet
All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.ClickNotifier<com.vaadin.flow.component.html.Div>, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.HasComponents, com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasEnabled, com.vaadin.flow.component.HasOrderedComponents, com.vaadin.flow.component.HasSize, com.vaadin.flow.component.HasStyle, com.vaadin.flow.component.HasText, Serializable
Direct Known Subclasses:
SqlExplorerTabPanel, TabbedApplicationPanel

public class TabSheet extends com.vaadin.flow.component.html.Div
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    class 
     

    Nested classes/interfaces inherited from interface com.vaadin.flow.component.HasText

    com.vaadin.flow.component.HasText.WhiteSpace
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected boolean
     
    protected com.vaadin.flow.component.html.Div
     
    protected com.vaadin.flow.component.orderedlayout.VerticalLayout
     
     
    protected com.vaadin.flow.component.tabs.Tabs
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    add(com.vaadin.flow.component.Component component, String name)
     
    add(com.vaadin.flow.component.Component component, String name, int index)
     
    add(com.vaadin.flow.component.Component component, String name, com.vaadin.flow.component.icon.Icon icon)
     
    add(com.vaadin.flow.component.Component component, String name, com.vaadin.flow.component.icon.Icon icon, int index)
     
    void
    addSelectedTabChangeListener(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.tabs.Tabs.SelectedChangeEvent> listener)
     
    void
    addThemeVariants(com.vaadin.flow.component.tabs.TabsVariant... variants)
     
     
    getTab(int index)
     
    getTab(com.vaadin.flow.component.Component component)
     
    getTab(String name)
     
    int
     
    int
    getTabIndex(com.vaadin.flow.component.Component component)
     
    Iterator<com.vaadin.flow.component.Component>
     
    void
    remove(String name)
     
    void
     
    void
    setAutoselect(boolean autoselect)
     
    void
    setCloseable(boolean closeable)
     
    void
    setSelectedTab(int index)
     
    void
    setSelectedTab(com.vaadin.flow.component.Component component)
     
    void
     

    Methods inherited from class com.vaadin.flow.component.HtmlComponent

    getTitle, setTitle

    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, onAttach, 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.ClickNotifier

    addClickListener, addClickShortcut, addDoubleClickListener, addSingleClickListener

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

    addDetachListener

    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.HasOrderedComponents

    getChildren, getComponentAt, getComponentCount, indexOf, replace

    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.HasText

    getText, getWhiteSpace, setText, setWhiteSpace
  • Field Details

    • layout

      protected com.vaadin.flow.component.orderedlayout.VerticalLayout layout
    • tabs

      protected com.vaadin.flow.component.tabs.Tabs tabs
    • tabList

      protected List<TabSheet.EnhancedTab> tabList
    • content

      protected com.vaadin.flow.component.html.Div content
    • closeable

      protected boolean closeable
  • Constructor Details

    • TabSheet

      public TabSheet()
  • Method Details

    • add

      public TabSheet.EnhancedTab add(com.vaadin.flow.component.Component component, String name)
    • add

      public TabSheet.EnhancedTab add(com.vaadin.flow.component.Component component, String name, com.vaadin.flow.component.icon.Icon icon)
    • add

      public TabSheet.EnhancedTab add(com.vaadin.flow.component.Component component, String name, int index)
    • add

      public TabSheet.EnhancedTab add(com.vaadin.flow.component.Component component, String name, com.vaadin.flow.component.icon.Icon icon, int index)
    • remove

      public void remove(String name)
    • remove

      public void remove(TabSheet.EnhancedTab tab)
    • setCloseable

      public void setCloseable(boolean closeable)
    • addThemeVariants

      public void addThemeVariants(com.vaadin.flow.component.tabs.TabsVariant... variants)
    • addSelectedTabChangeListener

      public void addSelectedTabChangeListener(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.tabs.Tabs.SelectedChangeEvent> listener)
    • getSelectedTab

      public TabSheet.EnhancedTab getSelectedTab()
    • getTab

      public TabSheet.EnhancedTab getTab(com.vaadin.flow.component.Component component)
    • getTab

      public TabSheet.EnhancedTab getTab(String name)
    • getTab

      public TabSheet.EnhancedTab getTab(int index)
    • getTabIndex

      public int getTabIndex(com.vaadin.flow.component.Component component)
    • getTabCount

      public int getTabCount()
    • setSelectedTab

      public void setSelectedTab(String name)
    • setSelectedTab

      public void setSelectedTab(int index)
    • setSelectedTab

      public void setSelectedTab(com.vaadin.flow.component.Component component)
    • iterator

      public Iterator<com.vaadin.flow.component.Component> iterator()
    • setAutoselect

      public void setAutoselect(boolean autoselect)