Class LayoutClickNotifier.LayoutClickEvent

java.lang.Object
java.util.EventObject
io.jmix.ui.component.LayoutClickNotifier.LayoutClickEvent
All Implemented Interfaces:
Serializable
Enclosing interface:
LayoutClickNotifier

public static class LayoutClickNotifier.LayoutClickEvent extends EventObject
Event sent when a user clicks mouse inside the layout.
See Also:
  • Constructor Details

  • Method Details

    • getSource

      public HasComponents getSource()
      Overrides:
      getSource in class EventObject
    • getChildComponent

      @Nullable public Component getChildComponent()
      Returns the direct child component of the layout which contains the clicked component. For the clicked component inside that child component of the layout, see getClickedComponent().
      Returns:
      direct child Component of the layout which contains the clicked Component, null if none found
    • getMouseEventDetails

      public MouseEventDetails getMouseEventDetails()
    • getClickedComponent

      @Nullable public Component getClickedComponent()
      Returns the component that was clicked, which is somewhere inside the parent layout on which the listener was registered. For the direct child component of the layout, see getChildComponent().
      Returns:
      clicked Component, null if none found