void (MouseWheelEvent e) { boolean hasAbsoluteDelta = ScrollSettings.isPixelPerfectEnabled(); myScrollSource = hasAbsoluteDelta ? ScrollSource.TOUCHPAD : ScrollSource.MOUSE_WHEEL; myWheelRotation = e.getPreciseWheelRotation(); super.processMouseWheelEvent(e); myScrollSource = ScrollSource.UNKNOWN; }