Class MouseEventDetails
java.lang.Object
io.jmix.fullcalendarflowui.kit.component.event.MouseEventDetails
Class contains mouse details when the user clicks in a map component.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Contains for mouse button that was pressed. -
Field Summary
-
Constructor Summary
ConstructorDescriptionMouseEventDetails
(MouseEventDetails.MouseButton button, int pageX, int pageY, boolean altKey, boolean ctrlKey, boolean metaKey, boolean shiftKey) -
Method Summary
-
Field Details
-
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
-
MouseEventDetails
public MouseEventDetails(MouseEventDetails.MouseButton button, int pageX, int pageY, boolean altKey, boolean ctrlKey, boolean metaKey, boolean shiftKey)
-
-
Method Details
-
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 thealt
key was down when the mouse event was fired
-
isCtrlKey
public boolean isCtrlKey()- Returns:
true
if thecontrol
key was down when the mouse event was fired
-
isMetaKey
public boolean isMetaKey()- Returns:
true
if themeta
key was down when the mouse event was fired
-
isShiftKey
public boolean isShiftKey()- Returns:
true
if theshift
key was down when the mouse event was fired.
-