Interface TabHandler

  • All Superinterfaces:
    Serializable
    All Known Implementing Classes:
    LambdaTabHandler

    public interface TabHandler
    extends Serializable
    Interface for objects handling the tab adding, displaying and hiding.
    Since:
    2020-04-30
    Author:
    miki
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void tabAdded​(com.vaadin.flow.component.tabs.Tab tabHeader, com.vaadin.flow.component.Component tabContents, com.vaadin.flow.component.HasComponents contentsContainer)
      Called when a tab has been added, but its contents have not.
      void tabDeselected​(com.vaadin.flow.component.tabs.Tab tabHeader, com.vaadin.flow.component.Component tabContents, com.vaadin.flow.component.HasComponents contentsContainer)
      Called when a tab has been deselected, but its contents have not yet been updated.
      void tabRemoved​(com.vaadin.flow.component.tabs.Tab tabHeader, com.vaadin.flow.component.Component tabContents, com.vaadin.flow.component.HasComponents contentsContainer)
      Called when a tab has been removed, but its contents have not.
      void tabSelected​(com.vaadin.flow.component.tabs.Tab tabHeader, com.vaadin.flow.component.Component tabContents, com.vaadin.flow.component.HasComponents contentsContainer)
      Called when a tab has been selected, but its contents have not yet been updated.
    • Method Detail

      • tabAdded

        void tabAdded​(com.vaadin.flow.component.tabs.Tab tabHeader,
                      com.vaadin.flow.component.Component tabContents,
                      com.vaadin.flow.component.HasComponents contentsContainer)
        Called when a tab has been added, but its contents have not.
        Parameters:
        tabHeader - Header that was added to the tab headers.
        tabContents - Contents to be added.
        contentsContainer - Container with the contents. It also is a Component.
      • tabRemoved

        void tabRemoved​(com.vaadin.flow.component.tabs.Tab tabHeader,
                        com.vaadin.flow.component.Component tabContents,
                        com.vaadin.flow.component.HasComponents contentsContainer)
        Called when a tab has been removed, but its contents have not.
        Parameters:
        tabHeader - Header that was removed.
        tabContents - Contents to be removed.
        contentsContainer - Container with the contents. It also is a Component.
      • tabSelected

        void tabSelected​(com.vaadin.flow.component.tabs.Tab tabHeader,
                         com.vaadin.flow.component.Component tabContents,
                         com.vaadin.flow.component.HasComponents contentsContainer)
        Called when a tab has been selected, but its contents have not yet been updated.
        Parameters:
        tabHeader - Header that was selected.
        tabContents - Contents to be selected.
        contentsContainer - Container with the contents. It also is a Component.
      • tabDeselected

        void tabDeselected​(com.vaadin.flow.component.tabs.Tab tabHeader,
                           com.vaadin.flow.component.Component tabContents,
                           com.vaadin.flow.component.HasComponents contentsContainer)
        Called when a tab has been deselected, but its contents have not yet been updated.
        Parameters:
        tabHeader - Header that was deselected.
        tabContents - Contents to be deselected.
        contentsContainer - Container with the contents. It also is a Component.