Package io.jmix.ui.widget
Interface TabSheetBehaviour
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
JmixMainTabSheet.TabSheetBehaviourImpl
,JmixManagedTabSheet.TabSheetBehaviourImpl
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
closeOtherTabs
(com.vaadin.ui.Component target) void
closeTab
(com.vaadin.ui.Component target) void
focus()
int
com.vaadin.ui.Component
getPreviousTab
(com.vaadin.ui.Component tab) com.vaadin.ui.Component
getTab
(int position) getTab
(com.vaadin.ui.Component component) com.vaadin.ui.Component
getTabComponent
(String tabId) Iterator<com.vaadin.ui.Component>
Stream<com.vaadin.ui.Component>
int
getTabPosition
(String tabId) void
moveTab
(com.vaadin.ui.Component c, int position) void
removeComponent
(com.vaadin.ui.Component component) void
replaceComponent
(com.vaadin.ui.Component oldComponent, com.vaadin.ui.Component newComponent) void
setContentSwitchMode
(String tabId, ContentSwitchMode contentSwitchMode) void
setSelectedTab
(com.vaadin.ui.Component component) void
setSelectedTab
(String tabId) void
setTabCaption
(String tabId, String caption) void
setTabClosable
(String tabId, boolean closable) void
setTabCloseHandler
(com.vaadin.ui.Component tabContent, BiConsumer<HasTabSheetBehaviour, com.vaadin.ui.Component> closeHandler) void
setTabDescription
(String tabId, String description) void
setTabIcon
(String tabId, com.vaadin.server.Resource icon) void
setTabJmixId
(String tabId, String id) void
setTabTestId
(String tabId, String testId) void
silentCloseTabAndSelectPrevious
(com.vaadin.ui.Component tab)
-
Method Details
-
addTab
-
getTab
-
getTab
-
replaceComponent
void replaceComponent(com.vaadin.ui.Component oldComponent, com.vaadin.ui.Component newComponent) -
removeComponent
void removeComponent(com.vaadin.ui.Component component) -
getPreviousTab
@Nullable com.vaadin.ui.Component getPreviousTab(com.vaadin.ui.Component tab) -
setTabTestId
-
setTabJmixId
-
setTabCloseHandler
void setTabCloseHandler(com.vaadin.ui.Component tabContent, BiConsumer<HasTabSheetBehaviour, com.vaadin.ui.Component> closeHandler) -
getTabPosition
-
getComponentCount
int getComponentCount() -
moveTab
void moveTab(com.vaadin.ui.Component c, int position) -
focus
void focus() -
setTabCaption
-
setTabDescription
-
getTabComponent
-
setTabIcon
-
setTabClosable
-
setContentSwitchMode
-
setSelectedTab
-
setSelectedTab
void setSelectedTab(com.vaadin.ui.Component component) -
getSelectedTab
@Nullable com.vaadin.ui.Component getSelectedTab() -
getTabComponents
Iterator<com.vaadin.ui.Component> getTabComponents() -
getTabComponentsStream
Stream<com.vaadin.ui.Component> getTabComponentsStream() -
closeTab
void closeTab(com.vaadin.ui.Component target) -
closeOtherTabs
void closeOtherTabs(com.vaadin.ui.Component target) -
closeAllTabs
void closeAllTabs() -
silentCloseTabAndSelectPrevious
void silentCloseTabAndSelectPrevious(com.vaadin.ui.Component tab)
-