We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.component.charts.events.
Class MouseEventDetails
- java.lang.Object
-
- com.vaadin.flow.component.charts.events.MouseEventDetails
-
All Implemented Interfaces:
public class MouseEventDetails extends Object implements Serializable
Helper class to store and transfer mouse event details.
See Also:
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MouseEventDetails.MouseButton
Constants for mouse buttons.
-
Constructor Summary
Constructors Constructor Description MouseEventDetails()
-
Method Summary
All Methods Modifier and Type Method Description int
getAbsoluteX()
int
getAbsoluteY()
MouseEventDetails.MouseButton
getButton()
String
getButtonName()
double
getxValue()
double
getyValue()
boolean
isAltKey()
boolean
isCtrlKey()
boolean
isMetaKey()
boolean
isShiftKey()
void
setAbsoluteX(int absoluteX)
void
setAbsoluteY(int absoluteY)
void
setAltKey(boolean altKey)
void
setButton(MouseEventDetails.MouseButton button)
void
setCtrlKey(boolean ctrlKey)
void
setMetaKey(boolean metaKey)
void
setShiftKey(boolean shiftKey)
void
setxValue(double xValue)
void
setyValue(double yValue)
String
toString()
-
-
-
Method Detail
-
getButton
public MouseEventDetails.MouseButton 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()
-
getxValue
public double getxValue()
-
getyValue
public double getyValue()
-
setButton
public void setButton(MouseEventDetails.MouseButton button)
-
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)
-
setxValue
public void setxValue(double xValue)
-
setyValue
public void setyValue(double yValue)
-
getButtonName
public String getButtonName()
-
-