Class MouseEventDetails
java.lang.Object
com.vaadin.flow.component.map.events.MouseEventDetails
- All Implemented Interfaces:
Serializable
Helper class to store and transfer mouse event details.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Constants for mouse buttons. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
boolean
isAltKey()
boolean
boolean
boolean
void
setAbsoluteX
(int absoluteX) void
setAbsoluteY
(int absoluteY) void
setAltKey
(boolean altKey) void
void
setCtrlKey
(boolean ctrlKey) void
setMetaKey
(boolean metaKey) void
setShiftKey
(boolean shiftKey) toString()
-
Constructor Details
-
MouseEventDetails
public MouseEventDetails()
-
-
Method Details
-
getButton
-
getAbsoluteX
public int getAbsoluteX() -
getAbsoluteY
public int getAbsoluteY() -
isAltKey
public boolean isAltKey() -
isCtrlKey
public boolean isCtrlKey() -
isMetaKey
public boolean isMetaKey() -
isShiftKey
public boolean isShiftKey() -
setButton
-
setAbsoluteX
public void setAbsoluteX(int absoluteX) -
setAbsoluteY
public void setAbsoluteY(int absoluteY) -
setAltKey
public void setAltKey(boolean altKey) -
setCtrlKey
public void setCtrlKey(boolean ctrlKey) -
setMetaKey
public void setMetaKey(boolean metaKey) -
setShiftKey
public void setShiftKey(boolean shiftKey) -
getButtonName
-
toString
-