Interface ComponentClickNotifier<C extends com.vaadin.flow.component.Component & Clickable>

All Known Implementing Classes:
MultiClickButton

public interface ComponentClickNotifier<C extends com.vaadin.flow.component.Component & Clickable>
Marker interface for objects that broadcast ComponentClickEvents.
Since:
2020-07-08
Author:
miki
  • Method Summary

    Modifier and Type
    Method
    Description
    com.vaadin.flow.shared.Registration
    Adds a listener.
  • Method Details

    • addClickListener

      com.vaadin.flow.shared.Registration addClickListener(ComponentClickListener<C> listener)
      Adds a listener.
      Parameters:
      listener - Listener to be notified when event is fired.
      Returns:
      A Registration that can be used to stop listening to the event.