Package com.vaadin.flow.component
Interface DetachNotifier
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
AbstractCompositeField
,AbstractField
,AbstractIcon
,AbstractLogin
,AbstractNumberField
,AbstractRouteNotFoundError
,AbstractSinglePropertyField
,Accordion
,AccordionPanel
,Anchor
,AppLayout
,Article
,Aside
,Avatar
,AvatarGroup
,BigDecimalField
,Board
,Button
,Chart
,Checkbox
,CheckboxGroup
,CollaborationAvatarGroup
,CollaborationMessageInput
,CollaborationMessageList
,ComboBox
,ComboBoxBase
,Component
,Composite
,ConfirmDialog
,ContextMenu
,ContextMenuBase
,CookieConsent
,Crud
,CrudGrid
,CustomField
,DatePicker
,DateTimePicker
,DescriptionList
,DescriptionList.Description
,DescriptionList.Term
,Details
,Dialog
,Div
,DrawerToggle
,EmailField
,Emphasis
,FlexLayout
,FontIcon
,Footer
,FormLayout
,FormLayout.FormItem
,Grid
,Grid.Column
,GridContextMenu
,GridMenuItem
,GridPro
,GridPro.EditColumn
,GridSelectionColumn
,H1
,H2
,H3
,H4
,H5
,H6
,Header
,HorizontalLayout
,Hr
,Html
,HtmlComponent
,HtmlContainer
,HtmlObject
,Icon
,IFrame
,Image
,Input
,IntegerField
,InternalServerError
,Label
,ListBox
,ListBoxBase
,ListItem
,LitTemplate
,LoginForm
,LoginOverlay
,Main
,Map
,MapBase
,MenuBar
,MenuItem
,MenuItemBase
,MessageInput
,MessageList
,MultiSelectComboBox
,MultiSelectListBox
,NativeButton
,NativeDetails
,NativeDetails.Summary
,NativeLabel
,Nav
,Notification
,NumberField
,OrderedList
,Paragraph
,Param
,PasswordField
,Pre
,ProgressBar
,RadioButtonGroup
,RangeInput
,RichTextEditor
,RouteAccessDeniedError
,RouteNotFoundError
,RouterLink
,Row
,Scroller
,Section
,Select
,SideNav
,SideNavItem
,Span
,SplitLayout
,Svg
,SvgIcon
,Tab
,Tabs
,TabSheet
,Text
,TextArea
,TextField
,TextFieldBase
,TimePicker
,TreeGrid
,UI
,UI.ClientViewPlaceholder
,UnorderedList
,Upload
,VerticalLayout
,VirtualList
,WebComponentUI
,WebComponentWrapper
Mixin interface for components that support adding detach listeners.
- Since:
- 1.0
- Author:
- Vaadin Ltd
-
Method Summary
Modifier and TypeMethodDescriptiondefault Registration
addDetachListener
(ComponentEventListener<DetachEvent> listener) Adds a detach listener to this component.
-
Method Details
-
addDetachListener
Adds a detach listener to this component.- Parameters:
listener
- the listener to add, notnull
- Returns:
- a handle that can be used for removing the listener
-