Interface FTabSheet.CloseHandler

All Superinterfaces:
Serializable
Enclosing class:
FTabSheet

public static interface FTabSheet.CloseHandler extends Serializable
CloseHandler is used to process tab closing events. Default behavior is to remove the tab from the TabSheet.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onTabClose(FTabSheet tabsheet, com.vaadin.flow.component.Component tabContent)
    Called when a user has pressed the close icon of a tab in the client side widget.
  • Method Details

    • onTabClose

      void onTabClose(FTabSheet tabsheet, com.vaadin.flow.component.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