Class ModalityCurtainClickEvent

java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<JmixSidePanelLayout>
io.jmix.flowui.kit.component.sidepanellayout.ModalityCurtainClickEvent
All Implemented Interfaces:
Serializable

@DomEvent("jmix-side-panel-layout-modality-curtain-click-event") public class ModalityCurtainClickEvent extends com.vaadin.flow.component.ComponentEvent<JmixSidePanelLayout>
Event fired when the user clicks on the modality curtain.
See Also:
  • Field Details

    • pageX

      protected final int pageX
    • pageY

      protected final int pageY
    • altKey

      protected final boolean altKey
    • ctrlKey

      protected final boolean ctrlKey
    • metaKey

      protected final boolean metaKey
    • shiftKey

      protected final boolean shiftKey
  • Constructor Details

    • ModalityCurtainClickEvent

      public ModalityCurtainClickEvent(JmixSidePanelLayout source, boolean fromClient, @EventData("event.detail.originalEvent.pageX") Integer pageX, @EventData("event.detail.originalEvent.pageY") Integer pageY, @EventData("event.detail.originalEvent.altKey") Boolean altKey, @EventData("event.detail.originalEvent.ctrlKey") Boolean ctrlKey, @EventData("event.detail.originalEvent.metaKey") Boolean metaKey, @EventData("event.detail.originalEvent.shiftKey") Boolean shiftKey)
  • Method Details

    • getPageX

      public int getPageX()
      Returns:
      the X coordinate of the mouse pointer relative to the whole document
    • getPageY

      public int getPageY()
      Returns:
      the Y coordinate of the mouse pointer relative to the whole document
    • isAltKey

      public boolean isAltKey()
      Returns:
      true if the alt key was down when the mouse event was fired
    • isCtrlKey

      public boolean isCtrlKey()
      Returns:
      true if the control key was down when the mouse event was fired
    • isMetaKey

      public boolean isMetaKey()
      Returns:
      true if the meta key was down when the mouse event was fired
    • isShiftKey

      public boolean isShiftKey()
      Returns:
      true if the shift key was down when the mouse event was fired.