| Package | Description |
|---|---|
| com.vaadin.ui |
| Modifier and Type | Class and Description |
|---|---|
class |
TabSheet.TabSheetTabImpl
TabSheet's implementation of
TabSheet.Tab - tab metadata. |
| Modifier and Type | Method and Description |
|---|---|
TabSheet.Tab |
TabSheet.addTab(Component c)
Adds a new tab into TabSheet.
|
TabSheet.Tab |
TabSheet.addTab(Component component,
int position)
Adds a new tab into TabSheet.
|
TabSheet.Tab |
TabSheet.addTab(Component c,
String caption)
Adds a new tab into TabSheet.
|
TabSheet.Tab |
TabSheet.addTab(Component c,
String caption,
Resource icon)
Adds a new tab into TabSheet.
|
TabSheet.Tab |
TabSheet.addTab(Component tabComponent,
String caption,
Resource icon,
int position)
Adds a new tab into TabSheet.
|
TabSheet.Tab |
TabSheet.getTab(Component c)
Returns the
TabSheet.Tab (metadata) for a component. |
TabSheet.Tab |
TabSheet.getTab(int index)
Returns the
TabSheet.Tab (metadata) with the given index. |
| Modifier and Type | Method and Description |
|---|---|
int |
TabSheet.getTabPosition(TabSheet.Tab tab)
Gets the position of the tab.
|
void |
TabSheet.removeTab(TabSheet.Tab tab)
Removes a
TabSheet.Tab and the component associated with it, as previously
added with TabSheet.addTab(Component),
TabSheet.addTab(Component, String, Resource) or
TabSheet.addComponent(Component). |
void |
TabSheet.setSelectedTab(TabSheet.Tab tab)
Sets the selected tab.
|
void |
TabSheet.setTabPosition(TabSheet.Tab tab,
int position)
Sets the position of the tab.
|
Copyright © 2020 Vaadin Ltd. All rights reserved.