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

public static interface HasComponents.ComponentAttachDetachNotifier extends Serializable
Interface for HasComponents implementations that support sending attach and detach events for components.
  • 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.