Class InputEvent.MouseScrollEvent

  • Enclosing class:
    InputEvent

    public static class InputEvent.MouseScrollEvent
    extends InputEvent
    This event fires when the mouse scroll wheel is used outside of a gui.
    • Field Detail

      • scrollDelta

        private final double scrollDelta
      • mouseX

        private final double mouseX
      • mouseY

        private final double mouseY
      • leftDown

        private final boolean leftDown
      • middleDown

        private final boolean middleDown
      • rightDown

        private final boolean rightDown
    • Constructor Detail

      • MouseScrollEvent

        public MouseScrollEvent​(double scrollDelta,
                                boolean leftDown,
                                boolean middleDown,
                                boolean rightDown,
                                double mouseX,
                                double mouseY)
    • Method Detail

      • getScrollDelta

        public double getScrollDelta()
      • isLeftDown

        public boolean isLeftDown()
      • isRightDown

        public boolean isRightDown()
      • isMiddleDown

        public boolean isMiddleDown()
      • getMouseX

        public double getMouseX()
      • getMouseY

        public double getMouseY()