Interface AttachNotifier

All Superinterfaces:
Serializable
All Known Implementing Classes:
AbstractCompositeField, AbstractField, AbstractRouteNotFoundError, AbstractSinglePropertyField, Component, Composite, Html, HtmlComponent, HtmlContainer, InternalServerError, RouteAccessDeniedError, RouteNotFoundError, RouterLink, Svg, Text, UI, UI.ClientViewPlaceholder, WebComponentUI, WebComponentWrapper

public interface AttachNotifier extends Serializable
Mixin interface for components that support adding attach listeners.
Since:
1.0
Author:
Vaadin Ltd
  • Method Details

    • addAttachListener

      default Registration addAttachListener(ComponentEventListener<AttachEvent> listener)
      Adds a attach listener to this component.
      Parameters:
      listener - the listener to add, not null
      Returns:
      a handle that can be used for removing the listener