Next Page > Hide TOC

IKImageBrowserDelegate Protocol Reference

(informal protocol)

Adopted by
Framework
System/Library/Frameworks/Quartz.framework/ImageKit.framework
Declared in
IKImageBrowserView.h

Overview

The IKImageBrowserDelegate is an informal protocol for the delegate of an IKImageBrowserView object. You can implement these methods to perform custom tasks when in response to events in the image browser view.

Tasks

Performing Custom Tasks in Response to User Events

Instance Methods

imageBrowser:backgroundWasRightClickedWithEvent:

Performs custom tasks when the user right-clicks the image browser view background.

- (void) imageBrowser:(IKImageBrowserView *) aBrowser backgroundWasRightClickedWithEvent:(NSEvent *) event;

Parameters
aBrowser

An image browser view.

event

The event that invoked the method.

Discussion

This method signals that the user either right-clicked the background or left-clicked it with the Alt key pressed. You can implement this method if you want to perform custom tasks at that time.

Availability
Declared In
IKImageBrowserView.h

imageBrowser:cellWasDoubleClickedAtIndex:

Performs custom tasks when the user double-clicks an item in the image browser view.

- (void) imageBrowser:(IKImageBrowserView *) aBrowser cellWasDoubleClickedAtIndex:(NSUInteger) index;

Parameters
aBrowser

An image browser view.

index

The index of the cell.

Discussion

This method signals that the user double-clicked an item in the image browser view. You can implement this method if you want to perform custom tasks at that time.

Availability
Declared In
IKImageBrowserView.h

imageBrowser:cellWasRightClickedAtIndex:withEvent:

Performs custom tasks when the user right-clicks an item in the image browser view.

- (void) imageBrowser:(IKImageBrowserView *) aBrowser cellWasRightClickedAtIndex:(NSUInteger) index withEvent:(NSEvent *) event;

Parameters
aBrowser

An image browser view.

index

The index of the cell.

event

The event that invoked the method.

Discussion

This method signals that the user either right-clicked an item in the browser or left-clicked the item with the Alt key pressed. You can implement this method if you want to perform custom tasks at that time.

Availability
Declared In
IKImageBrowserView.h

imageBrowserSelectionDidChange:

Performs custom tasks when the selection changes.

- (void) imageBrowserSelectionDidChange:(IKImageBrowserView *) aBrowser;

Parameters
aBrowser

An image browser view.

Discussion

This method signals that the user changes the selection in the image browser view. You can implement this method if you want to perform custom tasks at that time.

Availability
Declared In
IKImageBrowserView.h

Next Page > Hide TOC


© 2006 Apple Computer, Inc. All Rights Reserved. (Last updated: 2006-12-07)


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.