Class CPDragServer

CPObject
    extended byCPDragServer

@implementation CPDragServer : CPObject

Method Summary
+(CPDragServer)sharedDragServer
-(void)dragImage:(CPImage)anImage fromWindow:(CPWindow)aWindow at:(CGPoint)imageLocation offset:(CGSize)mouseOffset event:(CPEvent)anEvent pasteboard:(CPPasteboard)aPasteboard source:(id)aSourceObject slideBack:(BOOL)slideBack
          Initiates a drag session.
-(void)dragView:(CPView)aView fromWindow:(CPWindow)aWindow at:(CGPoint)viewLocation offset:(CGSize)mouseOffset event:(CPEvent)anEvent pasteboard:(CPPasteboard)aPasteboard source:(id)aSourceObject slideBack:(BOOL)slideBack
          Initiates a drag session.

Methods inherited from class CPObject
initialize, alloc, class, instanceMethodForSelector, instancesRespondToSelector, isSubclassOfClass, load, new, setVersion, superclass, version, init, autorelease, awakeAfterUsingCoder, class, classForCoder, classForKeyedArchiver, className, copy, dealloc, description, doesNotRecognizeSelector, forwardInvocation, hash, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableCopy, performSelector, performSelector, performSelector, release, replacementObjectForArchiver, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, retain, self, superclass


Method Detail

sharedDragServer

+(CPDragServer)sharedDragServer

dragImage

-(void)dragImage:(CPImage)anImage fromWindow:(CPWindow)aWindow at:(CGPoint)imageLocation offset:(CGSize)mouseOffset event:(CPEvent)anEvent pasteboard:(CPPasteboard)aPasteboard source:(id)aSourceObject slideBack:(BOOL)slideBack
Initiates a drag session.
Parameters:
anImage - the image to be dragged
aWindow - the source window of the drag session
imageLocation -
mouseOffset -
anEvent -
aPasteboard - the pasteboard where the drag data is located
aSourceObject - the object where the drag started
slideBack - if YES, aView slides back to its origin on a failed drop

dragView

-(void)dragView:(CPView)aView fromWindow:(CPWindow)aWindow at:(CGPoint)viewLocation offset:(CGSize)mouseOffset event:(CPEvent)anEvent pasteboard:(CPPasteboard)aPasteboard source:(id)aSourceObject slideBack:(BOOL)slideBack
Initiates a drag session.
Parameters:
aView - the view being dragged
aWindow - the window where the drag source is
viewLocation -
mouseOffset -
anEvent -
aPasteboard - the pasteboard that contains the drag data
aSourceObject - the object where the drag started
slideBack - if YES, aView slides back to its origin on a failed drop

Created on Sat Sep 13 14:15:43 PDT 2008