< prev index next >

src/java.desktop/macosx/classes/sun/lwawt/PlatformEventNotifier.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 47,64 **** * Called by the delegate to dispatch the event to Java. Event * coordinates are relative to non-client window are, i.e. the top-left * point of the client area is (insets.top, insets.left). */ void notifyMouseEvent(int id, long when, int button, ! int x, int y, int screenX, int screenY, int modifiers, int clickCount, boolean popupTrigger, byte[] bdata); ! void notifyMouseWheelEvent(long when, int x, int y, int modifiers, ! int scrollType, int scrollAmount, ! int wheelRotation, double preciseWheelRotation, ! byte[] bdata); /* * Called by the delegate when a key is pressed. */ void notifyKeyEvent(int id, long when, int modifiers, int keyCode, char keyChar, int keyLocation); --- 47,64 ---- * Called by the delegate to dispatch the event to Java. Event * coordinates are relative to non-client window are, i.e. the top-left * point of the client area is (insets.top, insets.left). */ void notifyMouseEvent(int id, long when, int button, ! int x, int y, int absX, int absY, int modifiers, int clickCount, boolean popupTrigger, byte[] bdata); ! void notifyMouseWheelEvent(long when, int x, int y, final int absX, ! final int absY, int modifiers, int scrollType, ! int scrollAmount, int wheelRotation, ! double preciseWheelRotation, byte[] bdata); /* * Called by the delegate when a key is pressed. */ void notifyKeyEvent(int id, long when, int modifiers, int keyCode, char keyChar, int keyLocation);
< prev index next >