comparison src/macosx/native/sun/awt/DnDUtilities.h @ 5580:9741e9cbe91a

7160951: [macosx] ActionListener called twice for JMenuItem using ScreenMenuBar Reviewed-by: anthony, serb Contributed-by: Marco Dinacci <marco.dinacci@gmail.com>
author leonidr
date Tue, 09 Oct 2012 17:03:54 +0400
parents 5cca2f1a37da
children
comparison
equal deleted inserted replaced
0:9883513eda33 1:e18dc0dd6eb9
40 + (NSDragOperation)mapJavaDragOperationToNS:(jint)dragOperation; 40 + (NSDragOperation)mapJavaDragOperationToNS:(jint)dragOperation;
41 + (jint)mapNSDragOperationMaskToJava:(NSDragOperation)dragOperation; 41 + (jint)mapNSDragOperationMaskToJava:(NSDragOperation)dragOperation;
42 + (jint)narrowJavaDropActions:(jint)actions; 42 + (jint)narrowJavaDropActions:(jint)actions;
43 43
44 // Mouse and key modifiers mapping: 44 // Mouse and key modifiers mapping:
45 + (NSUInteger)mapJavaExtModifiersToNSKeyModifiers:(jint)modifiers;
46 + (NSUInteger)mapJavaExtModifiersToNSMouseDownButtons:(jint)modifiers; 45 + (NSUInteger)mapJavaExtModifiersToNSMouseDownButtons:(jint)modifiers;
47 + (NSUInteger)mapJavaExtModifiersToNSMouseUpButtons:(jint)modifiers; 46 + (NSUInteger)mapJavaExtModifiersToNSMouseUpButtons:(jint)modifiers;
48 47
49 // Specialized key and mouse modifiers mapping (for operationChanged) 48 // Specialized key and mouse modifiers mapping (for operationChanged)
50 + (jint)extractJavaExtKeyModifiersFromJavaExtModifiers:(jint)modifiers; 49 + (jint)extractJavaExtKeyModifiersFromJavaExtModifiers:(jint)modifiers;
51 + (jint)extractJavaExtMouseModifiersFromJavaExtModifiers:(jint)modifiers; 50 + (jint)extractJavaExtMouseModifiersFromJavaExtModifiers:(jint)modifiers;
52
53 // Get the current keyboard modifier keys as java modifiers (for operationChanged)
54 + (jint)currentJavaExtKeyModifiers;
55 51
56 // Getting the state of the current Drag 52 // Getting the state of the current Drag
57 + (NSDragOperation)nsDragOperationForModifiers:(NSUInteger)modifiers; 53 + (NSDragOperation)nsDragOperationForModifiers:(NSUInteger)modifiers;
58 + (jint) javaKeyModifiersForNSDragOperation:(NSDragOperation)dragOp; 54 + (jint) javaKeyModifiersForNSDragOperation:(NSDragOperation)dragOp;
59 @end 55 @end