API 0.9.5
CPDragServer Class Reference

#import <CPDragServer.h>

Inheritance diagram for CPDragServer:

List of all members.

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:

Class Methods

(void) + initialize
(CPDragServer+ sharedDragServer

Detailed Description

Definition at line 2 of file CPDragServer.h.


Method Documentation

- (CPView) draggedView

Synthesized accessor method.

Definition at line 533 of file CPDragServer.j.

- (CPWindow) draggedWindow

Synthesized accessor method.

Definition at line 525 of file CPDragServer.j.

- (id) draggingDestination

Definition at line 174 of file CPDragServer.j.

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

Definition at line 309 of file CPDragServer.j.

- (CGPoint) draggingLocation

Definition at line 179 of file CPDragServer.j.

- (CGSize) draggingOffset

Synthesized accessor method.

Definition at line 541 of file CPDragServer.j.

- (CPPasteboard) draggingPasteboard

Synthesized accessor method.

Definition at line 549 of file CPDragServer.j.

- (id) draggingSource

Synthesized accessor method.

Definition at line 557 of file CPDragServer.j.

- (void) draggingSourceUpdatedWithGlobalLocation: (CGPoint)  aGlobalLocation

Definition at line 201 of file CPDragServer.j.

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

Definition at line 184 of file CPDragServer.j.

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

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 

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 

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

Definition at line 160 of file CPDragServer.j.

+ (void) initialize

Definition at line 141 of file CPDragServer.j.

- (BOOL) isDragging

Synthesized accessor method.

Definition at line 517 of file CPDragServer.j.

- (void) performDragOperationInPlatformWindow: (CPPlatformWindow aPlatformWindow

Definition at line 327 of file CPDragServer.j.

+ (CPDragServer) sharedDragServer

Definition at line 149 of file CPDragServer.j.

- (void) trackDragging: (CPEvent anEvent

Definition at line 439 of file CPDragServer.j.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Defines