Package com.vaadin.classic.v8.ui
Interface HasComponents.ComponentAttachDetachNotifier
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
ComponentContainer,Layout,SingleComponentContainer
- All Known Implementing Classes:
AbsoluteLayout,AbstractComponentContainer,AbstractLayout,AbstractOrderedLayout,AbstractSingleComponentContainer,FormLayout,GridLayout,HorizontalLayout,Panel,VerticalLayout
- Enclosing interface:
- HasComponents
Interface for
HasComponents implementations that support sending
attach and detach events for components.-
Method Summary
Modifier and TypeMethodDescriptioncom.vaadin.flow.shared.RegistrationListens the component attach events.com.vaadin.flow.shared.RegistrationListens the component detach events.
-
Method Details
-
addComponentAttachListener
com.vaadin.flow.shared.Registration addComponentAttachListener(HasComponents.ComponentAttachListener listener) Listens the component attach events.- Parameters:
listener- the listener to add, not null- Returns:
- a registration object for removing the listener
- See Also:
-
Registration
-
addComponentDetachListener
com.vaadin.flow.shared.Registration addComponentDetachListener(HasComponents.ComponentDetachListener listener) Listens the component detach events.
-