com.vaadin.event.

Interface LayoutEvents.LayoutClickNotifier

    • Method Detail

      • addLayoutClickListener

        void 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. Use #removeListener(LayoutClickListener) to remove the listener.

        Parameters:

        listener - The listener to add

      • removeLayoutClickListener

        void removeLayoutClickListener(LayoutEvents.LayoutClickListener listener)

        Removes an LayoutClickListener.

        Parameters:

        listener - LayoutClickListener to be removed