![]() |
API 0.9.5
|
#import <CPDragServer.h>
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 |
Definition at line 2 of file CPDragServer.h.
- (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.
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 |
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.
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 |
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.