/** * Sets the fields of this MouseEvent to match the given MouseEvent. * * @param mouse * @param wheel * @param wheelDelta * @param isPageMove * @param when * @param lastWhen */ protected void set( Mouse mouse, MouseWheel wheel, int wheelDelta, boolean isPageMove, long when, long lastWhen) { super.set(mouse, SubType.WHEEL_MOVED, wheel, when, lastWhen); this.wheelDelta = wheelDelta; this.isPageMove = isPageMove; }