Uses of Class
com.vaadin.flow.component.tabs.Tab
Packages that use Tab
-
Uses of Tab in com.vaadin.flow.component.tabs
Methods in com.vaadin.flow.component.tabs that return TabModifier and TypeMethodDescriptionAdds a tab created from the given tab content and content.Adds a tab with the given content.Adds a tab with the given content to the given position.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.Tabs.getSelectedTab()
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.Returns theTab
associated with the given component.TabSheetTester.getTab
(int index) Gets the visible tab at given index.Gets the visible tab with the given label.TabsTester.getTab
(int index) Gets the visible tab at given index.Gets the visible tab with the given label.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 TabModifier and TypeMethodDescriptionvoid
Adds the given tabs to the component.Adds a tab with the given content.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.TabSheet.getComponent
(Tab tab) Returns theComponent
instance associated with the given tab.int
TabSheet.getIndexOf
(Tab tab) Returns the index of the given tab.int
Returns the index of the given tab.void
Removes the given child tabs from this component.void
Removes a tab.void
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 TabModifierConstructorDescriptionSelectedChangeEvent
(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.Constructs a new object enclosing the given autoselect option and tabs, withHORIZONTAL
orientation.Constructs a new object enclosing the given tabs, withHORIZONTAL
orientation.