public interface ClickEvent extends Serializable
Modifier and Type | Method and Description |
---|---|
default int |
getAbsoluteX() |
default int |
getAbsoluteY() |
default MouseEventDetails.MouseButton |
getButton() |
MouseEventDetails |
getMouseDetails()
Gets the mouse click details
|
default double |
getxAxisValue()
Gets the x axis value of the clicked point.
|
default double |
getyAxisValue() |
default boolean |
isAltKey()
Checks if the Alt key was down when the mouse event took place.
|
default boolean |
isCtrlKey()
Checks if the Ctrl key was down when the mouse event took place.
|
default boolean |
isMetaKey()
Checks if the Meta key was down when the mouse event took place.
|
default boolean |
isShiftKey()
Checks if the Shift key was down when the mouse event took place.
|
MouseEventDetails getMouseDetails()
default double getxAxisValue()
Note, that if the axis type is Date, the value is "unix timestamp" which
is shifted to UTF time zone that is used by the client side
implementation. If you have used Date object as value, you most likely
want to pass the value thru Util.toServerDate(double)
method
before actually using the value.
default double getyAxisValue()
default int getAbsoluteX()
default int getAbsoluteY()
default MouseEventDetails.MouseButton getButton()
default boolean isAltKey()
default boolean isCtrlKey()
default boolean isMetaKey()
default boolean isShiftKey()
Copyright © 2020. All rights reserved.