src/macosx/native/sun/awt/CDragSource.h

Print this page




  53 
  54     jint                fSourceActions;
  55     jlongArray        fFormats;
  56     jobject            fFormatMap;
  57 
  58     jint                     fDragKeyModifiers;
  59     jint                     fDragMouseModifiers;
  60 }
  61 
  62 // Common methods:
  63 - (id)        init:(jobject)jDragSourceContextPeer
  64          component:(jobject)jComponent
  65            control:(id)control
  66       transferable:(jobject)jTransferable
  67       triggerEvent:(jobject)jTrigger
  68           dragPosX:(jint)dragPosX
  69           dragPosY:(jint)dragPosY
  70          modifiers:(jint)extModifiers
  71         clickCount:(jint)clickCount
  72          timeStamp:(jlong)timeStamp
  73          dragImage:(jobject)jDragImage
  74   dragImageOffsetX:(jint)jDragImageOffsetX
  75   dragImageOffsetY:(jint)jDragImageOffsetY
  76      sourceActions:(jint)jSourceActions
  77            formats:(jlongArray)jFormats
  78          formatMap:(jobject)jFormatMap;
  79 
  80 - (void)removeFromView:(JNIEnv *)env;
  81 
  82 - (void)drag;
  83 
  84 // dnd APIs (see AppKit/NSDragging.h, NSDraggingSource):
  85 - (NSDragOperation)draggingSourceOperationMaskForLocal:(BOOL)flag;
  86 - (void)draggedImage:(NSImage *)image beganAt:(NSPoint)screenPoint;
  87 - (void)draggedImage:(NSImage *)image endedAt:(NSPoint)screenPoint operation:(NSDragOperation)operation;
  88 - (void)draggedImage:(NSImage *)image movedTo:(NSPoint)screenPoint;
  89 - (BOOL)ignoreModifierKeysWhileDragging;
  90 
  91 @end
  92 
  93 #endif // CDragSource_h


  53 
  54     jint                fSourceActions;
  55     jlongArray        fFormats;
  56     jobject            fFormatMap;
  57 
  58     jint                     fDragKeyModifiers;
  59     jint                     fDragMouseModifiers;
  60 }
  61 
  62 // Common methods:
  63 - (id)        init:(jobject)jDragSourceContextPeer
  64          component:(jobject)jComponent
  65            control:(id)control
  66       transferable:(jobject)jTransferable
  67       triggerEvent:(jobject)jTrigger
  68           dragPosX:(jint)dragPosX
  69           dragPosY:(jint)dragPosY
  70          modifiers:(jint)extModifiers
  71         clickCount:(jint)clickCount
  72          timeStamp:(jlong)timeStamp
  73          dragImage:(jlong)nsDragImagePtr
  74   dragImageOffsetX:(jint)jDragImageOffsetX
  75   dragImageOffsetY:(jint)jDragImageOffsetY
  76      sourceActions:(jint)jSourceActions
  77            formats:(jlongArray)jFormats
  78          formatMap:(jobject)jFormatMap;
  79 
  80 - (void)removeFromView:(JNIEnv *)env;
  81 
  82 - (void)drag;
  83 
  84 // dnd APIs (see AppKit/NSDragging.h, NSDraggingSource):
  85 - (NSDragOperation)draggingSourceOperationMaskForLocal:(BOOL)flag;
  86 - (void)draggedImage:(NSImage *)image beganAt:(NSPoint)screenPoint;
  87 - (void)draggedImage:(NSImage *)image endedAt:(NSPoint)screenPoint operation:(NSDragOperation)operation;
  88 - (void)draggedImage:(NSImage *)image movedTo:(NSPoint)screenPoint;
  89 - (BOOL)ignoreModifierKeysWhileDragging;
  90 
  91 @end
  92 
  93 #endif // CDragSource_h