FoundationExtension
FoundationExtension is common Foundation/UIKit/Cocoa shortcuts and snippets collection.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
<NSAImageWellDelegate> Protocol Reference

This protocol defines delegate methods for NSAImageWell objects. More...

#import <NSAImageWell.h>

Inheritance diagram for <NSAImageWellDelegate>:

Instance Methods

(BOOL) - imageWellShouldAcceptURLString:
 Asks the delegate if the image well should accept URL string. More...
 
(void) - imageWell:didDraggingEntered:
 Tells the delegate that a user dragged an image into the area of image well. More...
 
(void) - imageWell:didDraggingExited:
 Tells the delegate that a user dragged an image out of the area of image well. More...
 
(void) - imageWell:willReceiveDragging:
 Tells the delegate that a user dropped an image into the area of image well. More...
 
(void) - imageWell:didReceiveDragging:
 Tells the delegate that the image well loaded the dropped image. More...
 

Detailed Description

This protocol defines delegate methods for NSAImageWell objects.

Method Documentation

- (void) imageWell: (NSAImageWell *)  imageWell
didDraggingEntered: (id< NSDraggingInfo >)  sender 
optional

Tells the delegate that a user dragged an image into the area of image well.

Parameters
imageWellThe image well which the receiver is the delegate.
senderThe dragging info.

Called whenever a user dragged an image into image well.

- (void) imageWell: (NSAImageWell *)  imageWell
didDraggingExited: (id< NSDraggingInfo >)  sender 
optional

Tells the delegate that a user dragged an image out of the area of image well.

Parameters
imageWellThe image well which the receiver is the delegate.
senderThe dragging info.

Called whenever a user dragged an image out of image well.

- (void) imageWell: (NSAImageWell *)  imageWell
didReceiveDragging: (id< NSDraggingInfo >)  sender 
optional

Tells the delegate that the image well loaded the dropped image.

Parameters
imageWellThe image well which the receiver is the delegate.
senderThe dragging info.

Called whenever the image well loaded the dropped image.

- (void) imageWell: (NSAImageWell *)  imageWell
willReceiveDragging: (id< NSDraggingInfo >)  sender 
optional

Tells the delegate that a user dropped an image into the area of image well.

Parameters
imageWellThe image well which the receiver is the delegate.
senderThe dragging info.

Called whenever a user dropped an image into image well.

- (BOOL) imageWellShouldAcceptURLString: (NSAImageWell *)  imageWell
optional

Asks the delegate if the image well should accept URL string.

Parameters
imageWellThe image well which the receiver is the delegate.
Returns
YES if the display controller should accepts string as URL of image; otherwise NO.

Default is NO. If YES, the image well accepts string value as URL of image. This methods override image well's acceptStringDragging value.


The documentation for this protocol was generated from the following file: