Package io.jmix.ui.component
Class MouseEventDetails
java.lang.Object
io.jmix.ui.component.MouseEventDetails
- All Implemented Interfaces:
Serializable
Class to store mouse event details.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Constants for mouse buttons. -
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected MouseEventDetails.MouseButton
protected int
protected int
protected boolean
protected boolean
protected boolean
protected int
protected int
protected boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
int
int
boolean
isAltKey()
boolean
boolean
boolean
boolean
void
setAltKey
(boolean altKey) void
void
setClientX
(int clientX) void
setClientY
(int clientY) void
setCtrlKey
(boolean ctrlKey) void
setDoubleClick
(boolean doubleClick) void
setMetaKey
(boolean metaKey) void
setRelativeX
(int relativeX) void
setRelativeY
(int relativeY) void
setShiftKey
(boolean shiftKey)
-
Field Details
-
button
-
clientX
protected int clientX -
clientY
protected int clientY -
altKey
protected boolean altKey -
ctrlKey
protected boolean ctrlKey -
metaKey
protected boolean metaKey -
shiftKey
protected boolean shiftKey -
doubleClick
protected boolean doubleClick -
relativeX
protected int relativeX -
relativeY
protected int relativeY
-
-
Constructor Details
-
MouseEventDetails
public MouseEventDetails()
-
-
Method Details
-
getButton
-
setButton
-
getClientX
public int getClientX() -
setClientX
public void setClientX(int clientX) -
getClientY
public int getClientY() -
setClientY
public void setClientY(int clientY) -
isAltKey
public boolean isAltKey() -
setAltKey
public void setAltKey(boolean altKey) -
isCtrlKey
public boolean isCtrlKey() -
setCtrlKey
public void setCtrlKey(boolean ctrlKey) -
isMetaKey
public boolean isMetaKey() -
setMetaKey
public void setMetaKey(boolean metaKey) -
isShiftKey
public boolean isShiftKey() -
setShiftKey
public void setShiftKey(boolean shiftKey) -
isDoubleClick
public boolean isDoubleClick() -
setDoubleClick
public void setDoubleClick(boolean doubleClick) -
getRelativeX
public int getRelativeX() -
setRelativeX
public void setRelativeX(int relativeX) -
getRelativeY
public int getRelativeY() -
setRelativeY
public void setRelativeY(int relativeY)
-