Package com.vaadin.classic.v8.ui
Interface HasComponents.ComponentAttachDetachNotifier
-
- All Superinterfaces:
java.io.Serializable
- All Known Subinterfaces:
ComponentContainer,Layout,SingleComponentContainer
- All Known Implementing Classes:
AbsoluteLayout,AbstractComponentContainer,AbstractLayout,AbstractOrderedLayout,AbstractSingleComponentContainer,FormLayout,GridLayout,HorizontalLayout,Panel,VerticalLayout
- Enclosing interface:
- HasComponents
public static interface HasComponents.ComponentAttachDetachNotifier extends java.io.SerializableInterface forHasComponentsimplementations that support sending attach and detach events for components.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.vaadin.flow.shared.RegistrationaddComponentAttachListener(HasComponents.ComponentAttachListener listener)Listens the component attach events.com.vaadin.flow.shared.RegistrationaddComponentDetachListener(HasComponents.ComponentDetachListener listener)Listens the component detach events.
-
-
-
Method Detail
-
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.
-
-