Package io.jmix.ui.widget
Class JmixMainTabSheet.TabSheetBehaviourImpl
java.lang.Object
io.jmix.ui.widget.JmixMainTabSheet.TabSheetBehaviourImpl
- All Implemented Interfaces:
TabSheetBehaviour,Serializable
- Enclosing class:
- JmixMainTabSheet
protected static class JmixMainTabSheet.TabSheetBehaviourImpl
extends Object
implements TabSheetBehaviour
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
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>protected com.vaadin.ui.TabSheet.TabintgetTabPosition(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)
-
Field Details
-
tabSheet
-
-
Constructor Details
-
TabSheetBehaviourImpl
-
-
Method Details
-
setTabCaption
- Specified by:
setTabCaptionin interfaceTabSheetBehaviour
-
setTabDescription
- Specified by:
setTabDescriptionin interfaceTabSheetBehaviour
-
closeTab
public void closeTab(com.vaadin.ui.Component target) - Specified by:
closeTabin interfaceTabSheetBehaviour
-
closeOtherTabs
public void closeOtherTabs(com.vaadin.ui.Component target) - Specified by:
closeOtherTabsin interfaceTabSheetBehaviour
-
closeAllTabs
public void closeAllTabs()- Specified by:
closeAllTabsin interfaceTabSheetBehaviour
-
getTabComponent
- Specified by:
getTabComponentin interfaceTabSheetBehaviour
-
setTabIcon
- Specified by:
setTabIconin interfaceTabSheetBehaviour
-
setTabClosable
- Specified by:
setTabClosablein interfaceTabSheetBehaviour
-
getTabNN
-
setContentSwitchMode
- Specified by:
setContentSwitchModein interfaceTabSheetBehaviour
-
setSelectedTab
- Specified by:
setSelectedTabin interfaceTabSheetBehaviour
-
addTab
- Specified by:
addTabin interfaceTabSheetBehaviour
-
getTab
- Specified by:
getTabin interfaceTabSheetBehaviour
-
getTab
- Specified by:
getTabin interfaceTabSheetBehaviour
-
getSelectedTab
@Nullable public com.vaadin.ui.Component getSelectedTab()- Specified by:
getSelectedTabin interfaceTabSheetBehaviour
-
getTabComponents
- Specified by:
getTabComponentsin interfaceTabSheetBehaviour
-
getTabComponentsStream
- Specified by:
getTabComponentsStreamin interfaceTabSheetBehaviour
-
setSelectedTab
public void setSelectedTab(com.vaadin.ui.Component component) - Specified by:
setSelectedTabin interfaceTabSheetBehaviour
-
replaceComponent
public void replaceComponent(com.vaadin.ui.Component oldComponent, com.vaadin.ui.Component newComponent) - Specified by:
replaceComponentin interfaceTabSheetBehaviour
-
removeComponent
public void removeComponent(com.vaadin.ui.Component component) - Specified by:
removeComponentin interfaceTabSheetBehaviour
-
getPreviousTab
@Nullable public com.vaadin.ui.Component getPreviousTab(com.vaadin.ui.Component tab) - Specified by:
getPreviousTabin interfaceTabSheetBehaviour
-
setTabTestId
- Specified by:
setTabTestIdin interfaceTabSheetBehaviour
-
setTabJmixId
- Specified by:
setTabJmixIdin interfaceTabSheetBehaviour
-
setTabCloseHandler
public void setTabCloseHandler(com.vaadin.ui.Component tabContent, BiConsumer<HasTabSheetBehaviour, com.vaadin.ui.Component> closeHandler) - Specified by:
setTabCloseHandlerin interfaceTabSheetBehaviour
-
getTabPosition
- Specified by:
getTabPositionin interfaceTabSheetBehaviour
-
getComponentCount
public int getComponentCount()- Specified by:
getComponentCountin interfaceTabSheetBehaviour
-
moveTab
public void moveTab(com.vaadin.ui.Component c, int position) - Specified by:
moveTabin interfaceTabSheetBehaviour
-
focus
public void focus()- Specified by:
focusin interfaceTabSheetBehaviour
-
silentCloseTabAndSelectPrevious
public void silentCloseTabAndSelectPrevious(com.vaadin.ui.Component tab) - Specified by:
silentCloseTabAndSelectPreviousin interfaceTabSheetBehaviour
-