com.vaadin.event.

Interface LayoutEvents.LayoutClickNotifier

    • Method Detail

      • addLayoutClickListener

        Registration addLayoutClickListener​(LayoutEvents.LayoutClickListener listener)

        Add a click listener to the layout. The listener is called whenever the user clicks inside the layout. An event is also triggered when the click targets a component inside a nested layout or Panel, provided the targeted component does not prevent the click event from propagating. A caption is not considered part of a component. The child component that was clicked is included in the LayoutEvents.LayoutClickEvent.

        Parameters:

        listener - The listener to add

        Returns:

        a registration object for removing the listener

        Since:

        8.0

        See Also:

        Registration