API  0.9.6
 All Classes Files Functions Variables Macros Modules Pages
CPDragServer Class Reference

#import <CPDragServer.h>

+ Inheritance diagram for CPDragServer:

Instance Methods

(CPView- draggedView
 
(CPWindow- draggedWindow
 
(id) - draggingDestination
 
(void) - draggingEndedInPlatformWindow:globalLocation:operation:
 
(CGPoint) - draggingLocation
 
(CGSize) - draggingOffset
 
(CPPasteboard- draggingPasteboard
 
(id) - draggingSource
 
(void) - draggingSourceUpdatedWithGlobalLocation:
 
(void) - draggingStartedInPlatformWindow:globalLocation:
 
(CPDragOperation) - draggingUpdatedInPlatformWindow:location:
 
(void) - dragImage:fromWindow:at:offset:event:pasteboard:source:slideBack:
 
(void) - dragView:fromWindow:at:offset:event:pasteboard:source:slideBack:
 
(id) - init
 
(BOOL) - isDragging
 
(void) - performDragOperationInPlatformWindow:
 
(void) - trackDragging:
 
- Instance Methods inherited from CPObject
(void) - addObserver:forKeyPath:options:context:
 
(void) - applyChange:toKeyPath:
 
(id) - autorelease
 
(id) - awakeAfterUsingCoder:
 
(void) - awakeFromCib
 
(void) - bind:toObject:withKeyPath:options:
 
(Class) - classForCoder
 
(Class) - classForKeyedArchiver
 
(CPString- className
 
(id) - copy
 
(void) - dealloc
 
(CPString- description
 
(CPDictionary- dictionaryWithValuesForKeys:
 
(void) - didChange:valuesAtIndexes:forKey:
 
(void) - didChangeValueForKey:
 
(void) - didChangeValueForKey:withSetMutation:usingObjects:
 
(void) - doesNotRecognizeSelector:
 
(CPArray- exposedBindings
 
(id) - forwardingTargetForSelector:
 
(void) - forwardInvocation:
 
(unsigned) - hash
 
(BOOL) - implementsSelector:
 
(CPDictionary- infoForBinding:
 
(BOOL) - isEqual:
 
(BOOL) - isKindOfClass:
 
(BOOL) - isMemberOfClass:
 
(BOOL) - isProxy
 
(IMP) - methodForSelector:
 
(CPMethodSignature) - methodSignatureForSelector:
 
(id) - mutableArrayValueForKey:
 
(id) - mutableArrayValueForKeyPath:
 
(id) - mutableCopy
 
(id) - mutableSetValueForKey:
 
(id) - mutableSetValueForKeyPath:
 
(id) - performSelector:
 
(id) - performSelector:withObject:
 
(id) - performSelector:withObject:withObject:
 
(id) - performSelector:withObjects:
 
(void) - release
 
(void) - removeObserver:forKeyPath:
 
(id) - replacementObjectForArchiver:
 
(id) - replacementObjectForCoder:
 
(id) - replacementObjectForKeyedArchiver:
 
(BOOL) - respondsToSelector:
 
(id) - retain
 
(id) - self
 
(void) - setValue:forKey:
 
(void) - setValue:forKeyPath:
 
(void) - setValue:forUndefinedKey:
 
(void) - setValuesForKeysWithDictionary:
 
(CPString- UID
 
(void) - unbind:
 
(Class) - valueClassForBinding:
 
(id) - valueForKey:
 
(id) - valueForKeyPath:
 
(id) - valueForUndefinedKey:
 
(void) - willChange:valuesAtIndexes:forKey:
 
(void) - willChangeValueForKey:
 
(void) - willChangeValueForKey:withSetMutation:usingObjects:
 

Class Methods

(void) + initialize
 
(CPDragServer+ sharedDragServer
 
- Class Methods inherited from CPObject
(BOOL) + accessInstanceVariablesDirectly
 
(id) + alloc
 
(id) + allocWithCoder:
 
(BOOL) + automaticallyNotifiesObserversForKey:
 
(Class) + class
 
(void) + exposeBinding:
 
(IMP) + instanceMethodForSelector:
 
(BOOL) + instancesRespondToSelector:
 
(BOOL) + isSubclassOfClass:
 
(CPSet+ keyPathsForValuesAffectingValueForKey:
 
(void) + load
 
(id) + new
 
(void) + setVersion:
 
(Class) + superclass
 
(int) + version
 

Additional Inherited Members

- Instance Variables inherited from CPObject
Class isa
 

Detailed Description

Definition at line 2 of file CPDragServer.h.

Method Documentation

- (CPView) draggedView
implementation

Synthesized accessor method.

Provided by category CPDragServer(CPSynthesizedAccessors).

Definition at line 533 of file CPDragServer.j.

- (CPWindow) draggedWindow
implementation

Synthesized accessor method.

Provided by category CPDragServer(CPSynthesizedAccessors).

Definition at line 525 of file CPDragServer.j.

- (id) draggingDestination
implementation

Definition at line 174 of file CPDragServer.j.

- (void) draggingEndedInPlatformWindow: (CPPlatformWindow aPlatformWindow
globalLocation: (CGPoint)  aLocation
operation: (CPDragOperation)  anOperation 
implementation

Definition at line 309 of file CPDragServer.j.

- (CGPoint) draggingLocation
implementation

Definition at line 179 of file CPDragServer.j.

- (CGSize) draggingOffset
implementation

Synthesized accessor method.

Provided by category CPDragServer(CPSynthesizedAccessors).

Definition at line 541 of file CPDragServer.j.

- (CPPasteboard) draggingPasteboard
implementation

Synthesized accessor method.

Provided by category CPDragServer(CPSynthesizedAccessors).

Definition at line 549 of file CPDragServer.j.

- (id) draggingSource
implementation

Synthesized accessor method.

Provided by category CPDragServer(CPSynthesizedAccessors).

Definition at line 557 of file CPDragServer.j.

- (void) draggingSourceUpdatedWithGlobalLocation: (CGPoint)  aGlobalLocation
implementation

Definition at line 201 of file CPDragServer.j.

- (void) draggingStartedInPlatformWindow: (CPPlatformWindow aPlatformWindow
globalLocation: (CGPoint)  aLocation 
implementation

Definition at line 184 of file CPDragServer.j.

- (CPDragOperation) draggingUpdatedInPlatformWindow: (CPPlatformWindow aPlatformWindow
location: (CGPoint)  aLocation 
implementation

Definition at line 213 of file CPDragServer.j.

- (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 
implementation

Initiates a drag session.

Parameters
anImagethe image to be dragged
aWindowthe source window of the drag session
imageLocation
mouseOffset
anEvent
aPasteboardthe pasteboard where the drag data is located
aSourceObjectthe object where the drag started
slideBackif YES, aView slides back to its origin on a failed drop

Definition at line 425 of file CPDragServer.j.

- (void) dragView: (CPView aView
fromWindow: (CPWindow aWindow
at: (CGPoint)  viewLocation
offset: (CGSize)  mouseOffset
event: (CPEvent mouseDownEvent
pasteboard: (CPPasteboard aPasteboard
source: (id)  aSourceObject
slideBack: (BOOL)  slideBack 
implementation

Initiates a drag session.

Parameters
aViewthe view being dragged
aWindowthe window where the drag source is
viewLocation
mouseOffset
anEvent
aPasteboardthe pasteboard that contains the drag data
aSourceObjectthe object where the drag started
slideBackif YES, aView slides back to its origin on a failed drop

Definition at line 348 of file CPDragServer.j.

- (id) init
implementation

Initializes the receiver

Returns
the initialized receiver

Reimplemented from CPObject.

Definition at line 160 of file CPDragServer.j.

+ (void) initialize
implementation

Reimplemented from CPObject.

Definition at line 141 of file CPDragServer.j.

- (BOOL) isDragging
implementation

Synthesized accessor method.

Provided by category CPDragServer(CPSynthesizedAccessors).

Definition at line 517 of file CPDragServer.j.

- (void) performDragOperationInPlatformWindow: (CPPlatformWindow aPlatformWindow
implementation

Definition at line 327 of file CPDragServer.j.

+ (CPDragServer) sharedDragServer
implementation

Definition at line 149 of file CPDragServer.j.

- (void) trackDragging: (CPEvent anEvent
implementation

Definition at line 439 of file CPDragServer.j.


The documentation for this class was generated from the following files: