We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.ui.
Interface TabSheet.CloseHandler
-
All Superinterfaces:
Enclosing class:
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface 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 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
-
-