API  0.9.10
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:
 
(void) - performSelector:withObject:afterDelay:
 
(void) - performSelector:withObject:afterDelay:inModes:
 
(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:
 
(void) + cancelPreviousPerformRequestsWithTarget:
 
(void) + cancelPreviousPerformRequestsWithTarget:selector:object:
 
(Class) + class
 
(BOOL) + conformsToProtocol:
 
(void) + exposeBinding:
 
(IMP) + instanceMethodForSelector:
 
(BOOL) + instancesImplementSelector:
 
(BOOL) + instancesRespondToSelector:
 
(BOOL) + isBindingExclusive:
 
(BOOL) + isSubclassOfClass:
 
(CPSet) + keyPathsForValuesAffectingValueForKey:
 
(void) + load
 
(id) + new
 
(void) + object:performSelector:withObject:afterDelay:inModes:
 
(void) + setVersion:
 
(Class) + superclass
 
(int) + version
 

Detailed Description

Definition at line 2 of file CPDragServer.h.

Method Documentation

◆ draggedView()

- (CPView) draggedView
implementation

Synthesized accessor method.

Provided by category CPDragServer(CPSynthesizedAccessors).

Definition at line 504 of file CPDragServer.j.

◆ draggedWindow()

- (CPWindow) draggedWindow
implementation

Synthesized accessor method.

Provided by category CPDragServer(CPSynthesizedAccessors).

Definition at line 496 of file CPDragServer.j.

◆ draggingDestination()

- (id) draggingDestination
implementation

Definition at line 167 of file CPDragServer.j.

◆ draggingEndedInPlatformWindow:globalLocation:operation:()

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

Definition at line 307 of file CPDragServer.j.

◆ draggingLocation()

- (CGPoint) draggingLocation
implementation

Definition at line 172 of file CPDragServer.j.

◆ draggingOffset()

- (CGSize) draggingOffset
implementation

Synthesized accessor method.

Provided by category CPDragServer(CPSynthesizedAccessors).

Definition at line 512 of file CPDragServer.j.

◆ draggingPasteboard()

- (CPPasteboard) draggingPasteboard
implementation

Synthesized accessor method.

Provided by category CPDragServer(CPSynthesizedAccessors).

Definition at line 520 of file CPDragServer.j.

◆ draggingSource()

- (id) draggingSource
implementation

Synthesized accessor method.

Provided by category CPDragServer(CPSynthesizedAccessors).

Definition at line 528 of file CPDragServer.j.

◆ draggingSourceUpdatedWithGlobalLocation:()

- (void) draggingSourceUpdatedWithGlobalLocation: (CGPoint)  aGlobalLocation
implementation

Definition at line 194 of file CPDragServer.j.

◆ draggingStartedInPlatformWindow:globalLocation:()

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

Definition at line 177 of file CPDragServer.j.

◆ draggingUpdatedInPlatformWindow:location:()

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

Definition at line 211 of file CPDragServer.j.

◆ dragImage:fromWindow:at:offset:event:pasteboard:source:slideBack:()

- (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 427 of file CPDragServer.j.

◆ dragView:fromWindow:at:offset:event:pasteboard:source:slideBack:()

- (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 346 of file CPDragServer.j.

◆ init()

- (id) init
implementation

Initializes the receiver

Returns
the initialized receiver

Reimplemented from CPObject.

Definition at line 153 of file CPDragServer.j.

◆ initialize()

+ (void) initialize
implementation

Reimplemented from CPObject.

Definition at line 134 of file CPDragServer.j.

◆ isDragging()

- (BOOL) isDragging
implementation

Synthesized accessor method.

Provided by category CPDragServer(CPSynthesizedAccessors).

Definition at line 488 of file CPDragServer.j.

◆ performDragOperationInPlatformWindow:()

- (void) performDragOperationInPlatformWindow: (CPPlatformWindow aPlatformWindow
implementation

Definition at line 325 of file CPDragServer.j.

◆ sharedDragServer()

+ (CPDragServer) sharedDragServer
implementation

Definition at line 142 of file CPDragServer.j.

◆ trackDragging:()

- (void) trackDragging: (CPEvent anEvent
implementation

Definition at line 441 of file CPDragServer.j.


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