Interface ScreenMouseEvents.AllowMouseScroll
- Enclosing class:
ScreenMouseEvents
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
allowMouseScroll
(Screen screen, double mouseX, double mouseY, double horizontalAmount, double verticalAmount) Checks if the mouse should be allowed to scroll in a screen.
-
Method Details
-
allowMouseScroll
boolean allowMouseScroll(Screen screen, double mouseX, double mouseY, double horizontalAmount, double verticalAmount) Checks if the mouse should be allowed to scroll in a screen.- Parameters:
mouseX
- the x position of the mousemouseY
- the y position of the mousehorizontalAmount
- the horizontal scroll amountverticalAmount
- the vertical scroll amount- Returns:
- whether the mouse should be allowed to scroll
-