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 Detail

      • 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.