public static class InputEvent.MouseScrollEvent extends InputEvent
InputEvent.ClickInputEvent, InputEvent.KeyInputEvent, InputEvent.MouseInputEvent, InputEvent.MouseScrollEvent, InputEvent.RawMouseEvent
Modifier and Type | Field and Description |
---|---|
private boolean |
leftDown |
private boolean |
middleDown |
private double |
mouseX |
private double |
mouseY |
private boolean |
rightDown |
private double |
scrollDelta |
Constructor and Description |
---|
MouseScrollEvent(double scrollDelta,
boolean leftDown,
boolean middleDown,
boolean rightDown,
double mouseX,
double mouseY) |
Modifier and Type | Method and Description |
---|---|
double |
getMouseX() |
double |
getMouseY() |
double |
getScrollDelta() |
boolean |
isLeftDown() |
boolean |
isMiddleDown() |
boolean |
isRightDown() |
private final double scrollDelta
private final double mouseX
private final double mouseY
private final boolean leftDown
private final boolean middleDown
private final boolean rightDown