Uses of Class
com.vaadin.flow.component.tabs.Tab

  • Uses of Tab in com.vaadin.flow.component.tabs

    Methods in com.vaadin.flow.component.tabs that return Tab
    Modifier and Type
    Method
    Description
    TabSheet.add(com.vaadin.flow.component.Component tabContent, com.vaadin.flow.component.Component content)
    Adds a tab created from the given tab content and content.
    TabSheet.add(Tab tab, com.vaadin.flow.component.Component content)
    Adds a tab with the given content.
    TabSheet.add(Tab tab, com.vaadin.flow.component.Component content, int position)
    Adds a tab with the given content to the given position.
    TabSheet.add(String tabText, com.vaadin.flow.component.Component content)
    Adds a tab created from the given text and content.
    Tabs.SelectedChangeEvent.getPreviousTab()
    Get previous selected tab for this event.
    TabSheet.SelectedChangeEvent.getPreviousTab()
    Get previous selected tab for this event.
    Gets the currently selected tab.
    Tabs.SelectedChangeEvent.getSelectedTab()
    Get selected tab for this event.
    TabSheet.getSelectedTab()
    Gets the currently selected tab.
    TabSheet.SelectedChangeEvent.getSelectedTab()
    Get selected tab for this event.
    TabSheet.getTab(com.vaadin.flow.component.Component content)
    Returns the Tab associated with the given component.
    Tabs.getTabAt(int index)
    Returns the tab at the given position.
    TabSheet.getTabAt(int position)
    Returns the tab at the given position.
    Methods in com.vaadin.flow.component.tabs with parameters of type Tab
    Modifier and Type
    Method
    Description
    void
    Tabs.add(Tab... tabs)
    Adds the given tabs to the component.
    TabSheet.add(Tab tab, com.vaadin.flow.component.Component content)
    Adds a tab with the given content.
    TabSheet.add(Tab tab, com.vaadin.flow.component.Component content, int position)
    Adds a tab with the given content to the given position.
    void
    Tabs.addTabAsFirst(Tab tab)
    Adds the given tab as the first child of this component.
    void
    Tabs.addTabAtIndex(int index, Tab tab)
    Adds the given tab as child of this tab at the specific index.
    com.vaadin.flow.component.Component
    TabSheet.getComponent(Tab tab)
    Returns the Component instance associated with the given tab.
    int
    TabSheet.getIndexOf(Tab tab)
    Returns the index of the given tab.
    int
    Tabs.indexOf(Tab tab)
    Returns the index of the given tab.
    void
    Tabs.remove(Tab... tabs)
    Removes the given child tabs from this component.
    void
    TabSheet.remove(Tab tab)
    Removes a tab.
    void
    Tabs.replace(Tab oldTab, Tab newTab)
    Replaces the tab in the container with another one without changing position.
    void
    Tabs.setSelectedTab(Tab selectedTab)
    Selects the given tab.
    void
    TabSheet.setSelectedTab(Tab selectedTab)
    Selects the given tab.
    Constructors in com.vaadin.flow.component.tabs with parameters of type Tab
    Modifier
    Constructor
    Description
     
    SelectedChangeEvent(Tabs source, Tab previousTab, boolean fromClient)
    Creates a new selected change event.
     
    SelectedChangeEvent(TabSheet source, Tab previousTab, boolean fromClient, boolean initialSelection)
    Creates a new selected change event.
     
    Tabs(boolean autoselect, Tab... tabs)
    Constructs a new object enclosing the given autoselect option and tabs, with HORIZONTAL orientation.
     
    Tabs(Tab... tabs)
    Constructs a new object enclosing the given tabs, with HORIZONTAL orientation.