Package com.vaadin.ui

Interface TabSheet.CloseHandler

  • All Superinterfaces:
    Serializable
    Enclosing class:
    TabSheet

    public static interface TabSheet.CloseHandler
    extends Serializable
    CloseHandler is used to process tab closing events. Default behavior is to remove the tab from the TabSheet.
    Since:
    6.2.0
    Author:
    Jouni Koivuviita / Vaadin Ltd.
    • Method Detail

      • onTabClose

        void onTabClose​(TabSheet tabsheet,
                        Component tabContent)
        Called when a user has pressed the close icon of a tab in the client side widget.
        Parameters:
        tabsheet - the TabSheet to which the tab belongs to
        tabContent - the component that corresponds to the tab whose close button was clicked