Package io.jmix.ui.widget
Interface TabSheetBehaviour
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
JmixMainTabSheet.TabSheetBehaviourImpl,JmixManagedTabSheet.TabSheetBehaviourImpl
-
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidcloseOtherTabs(com.vaadin.ui.Component target) voidcloseTab(com.vaadin.ui.Component target) voidfocus()intcom.vaadin.ui.ComponentgetPreviousTab(com.vaadin.ui.Component tab) com.vaadin.ui.ComponentgetTab(int position) getTab(com.vaadin.ui.Component component) com.vaadin.ui.ComponentgetTabComponent(String tabId) Iterator<com.vaadin.ui.Component>Stream<com.vaadin.ui.Component>intgetTabPosition(String tabId) voidmoveTab(com.vaadin.ui.Component c, int position) voidremoveComponent(com.vaadin.ui.Component component) voidreplaceComponent(com.vaadin.ui.Component oldComponent, com.vaadin.ui.Component newComponent) voidsetContentSwitchMode(String tabId, ContentSwitchMode contentSwitchMode) voidsetSelectedTab(com.vaadin.ui.Component component) voidsetSelectedTab(String tabId) voidsetTabCaption(String tabId, String caption) voidsetTabClosable(String tabId, boolean closable) voidsetTabCloseHandler(com.vaadin.ui.Component tabContent, BiConsumer<HasTabSheetBehaviour, com.vaadin.ui.Component> closeHandler) voidsetTabDescription(String tabId, String description) voidsetTabIcon(String tabId, com.vaadin.server.Resource icon) voidsetTabJmixId(String tabId, String id) voidsetTabTestId(String tabId, String testId) voidsilentCloseTabAndSelectPrevious(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)
-