Class MouseEventDetails

java.lang.Object
io.jmix.fullcalendarflowui.kit.component.event.MouseEventDetails

public class MouseEventDetails extends Object
Class contains mouse details when the user clicks in a map component.
  • Field Details

    • button

      protected final MouseEventDetails.MouseButton button
    • 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

    • MouseEventDetails

      public MouseEventDetails(DomMouseEventDetails event)
    • MouseEventDetails

      public MouseEventDetails(MouseEventDetails.MouseButton button, int pageX, int pageY, boolean altKey, boolean ctrlKey, boolean metaKey, boolean shiftKey)
  • Method Details

    • getButton

      public MouseEventDetails.MouseButton getButton()
      Returns:
      mouse button that was pressed
    • 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.