Mac OS X Reference Library Apple Developer
Search

IKImageEditPanelDataSource Protocol Reference

Framework
System/Library/Frameworks/Quartz.framework/ImageKit.framework
Availability
Available in Mac OS X v10.5 and later.
Companion guide
Declared in
IKImageEditPanel.h

Overview

The IKImageEditPanelDataSource protocol describes the methods that an IKImageEditPanel object uses to access the contents of its data source object.

Tasks

Getting and Setting Image Properties

Getting Images From the Data Source

New Methods

Instance Methods

hasAdjustMode

Returns whether the adjust mode view tab should be displayed.

- (BOOL)hasAdjustMode

Return Value

YES if the tab should be displayed, otherwise NO.

Availability
  • Available in Mac OS X v10.6 and later.
Declared In
IKImageEditPanel.h

hasDetailsMode

Returns whether the details mode view tab should be displayed.

- (BOOL)hasDetailsMode

Return Value

YES if the tab should be displayed, otherwise NO.

Availability
  • Available in Mac OS X v10.6 and later.
Declared In
IKImageEditPanel.h

hasEffectsMode

Returns whether the effects mode view tab should be displayed.

- (BOOL)hasEffectsMode

Return Value

YES if the tab should be displayed, otherwise NO.

Availability
  • Available in Mac OS X v10.6 and later.
Declared In
IKImageEditPanel.h

image

Returns an image. (required)

- (CGImageRef)image

Return Value

An image.

Discussion

Your data source must implement this method.

Availability
  • Available in Mac OS X v 10.5 and later.
Declared In
IKImageEditPanel.h

imageProperties

Returns a dictionary of the image properties associated with the image in the image edit panel.

- (NSDictionary *)imageProperties

Return Value

A dictionary that contains the properties of the image.

Availability
  • Available in Mac OS X v 10.5 and later.
See Also
  • – setImage:imageProperties
Declared In
IKImageEditPanel.h

setImage:imageProperties:

Sets an image with the specified properties. (required)

- (void)setImage:(CGImageRef)image imageProperties:(NSDictionary *)metaData

Discussion

Your data source must implement this method.

Availability
  • Available in Mac OS X v 10.5 and later.
See Also
  • – imageProperties
Declared In
IKImageEditPanel.h

thumbnailWithMaximumSize:

Returns a thumbnail image whose size is no larger than the specified size.

- (CGImageRef)thumbnailWithMaximumSize:(NSSize)size

Return Value

An image.

Availability
  • Available in Mac OS X v 10.5 and later.
Declared In
IKImageEditPanel.h



Last updated: 2009-08-25

Did this document help you? Yes It's good, but... Not helpful...