NSDraggingInfo |
Mac OS X 10.0 |
This protocol declares methods that are used to provide an interface
to objects that represent dragging sessions. When a
dragging
session begins, an object that conforms to this protocol is
automatically created, and is the sender of all messages to the
destination object, which implements the methods outlined in the
NSDraggingDestination protocol.
NSDraggingInfo exists to publish the interface for
this object that represents the dragging operation, and as such
developers never need to implement these methods.
@protocol NSDraggingInfo
|
// Instance Methods |
- (NSWindow *)draggingDestinationWindow;
|
- (NSDragOperation)draggingSourceOperationMask;
|
- (NSPoint)draggingLocation;
|
- (NSPoint)draggedImageLocation;
|
- (NSImage *)draggedImage;
|
- (NSPasteboard *)draggingPasteboard;
|
- (id)draggingSource;
|
- (int)draggingSequenceNumber;
|
- (void)slideDraggedImageTo:(NSPoint)screenPoint;
|
- (NSArray *)namesOfPromisedFilesDroppedAtDestination:(NSURL *)dropDestination;
|
@end
|