public class MouseEventDetails extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
MouseEventDetails.MouseButton
Constants for mouse buttons.
|
Constructor and Description |
---|
MouseEventDetails() |
Modifier and Type | Method and 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() |
public MouseEventDetails.MouseButton getButton()
public int getAbsoluteX()
public int getAbsoluteY()
public boolean isAltKey()
public boolean isCtrlKey()
public boolean isMetaKey()
public boolean isShiftKey()
public double getxValue()
public double getyValue()
public void setButton(MouseEventDetails.MouseButton button)
public void setAbsoluteX(int absoluteX)
public void setAbsoluteY(int absoluteY)
public void setAltKey(boolean altKey)
public void setCtrlKey(boolean ctrlKey)
public void setMetaKey(boolean metaKey)
public void setShiftKey(boolean shiftKey)
public void setxValue(double xValue)
public void setyValue(double yValue)
public String getButtonName()
Copyright © 2020. All rights reserved.