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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onTabClose(TabSheet tabsheet, Component tabContent)
Called when a user has pressed the close icon of a tab in the client side widget.
-
-
-
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 totabContent
- the component that corresponds to the tab whose close button was clicked
-
-