Interface TabSheetBehaviour

All Superinterfaces:
Serializable
All Known Implementing Classes:
JmixMainTabSheet.TabSheetBehaviourImpl, JmixManagedTabSheet.TabSheetBehaviourImpl

public interface TabSheetBehaviour extends Serializable
  • Method Details

    • addTab

      void addTab(com.vaadin.ui.Component component, String tabId)
    • getTab

      String getTab(com.vaadin.ui.Component component)
    • getTab

      String getTab(int position)
    • 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

      void setTabTestId(String tabId, String testId)
    • setTabJmixId

      void setTabJmixId(String tabId, String id)
    • setTabCloseHandler

      void setTabCloseHandler(com.vaadin.ui.Component tabContent, BiConsumer<HasTabSheetBehaviour,com.vaadin.ui.Component> closeHandler)
    • getTabPosition

      int getTabPosition(String tabId)
    • getComponentCount

      int getComponentCount()
    • moveTab

      void moveTab(com.vaadin.ui.Component c, int position)
    • focus

      void focus()
    • setTabCaption

      void setTabCaption(String tabId, String caption)
    • setTabDescription

      void setTabDescription(String tabId, @Nullable String description)
    • getTabComponent

      com.vaadin.ui.Component getTabComponent(String tabId)
    • setTabIcon

      void setTabIcon(String tabId, @Nullable com.vaadin.server.Resource icon)
    • setTabClosable

      void setTabClosable(String tabId, boolean closable)
    • setContentSwitchMode

      void setContentSwitchMode(String tabId, ContentSwitchMode contentSwitchMode)
    • setSelectedTab

      void setSelectedTab(String tabId)
    • 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)