Mac Developer Library

Developer

IKImageBrowserDelegate Protocol Reference

Options
Deployment Target:

On This Page

IKImageBrowserDelegate

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.

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

    Declaration

    - (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.

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

    Declaration

    - (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.

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

    Declaration

    - (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.

  • Performs custom tasks when the selection changes.

    Declaration

    - (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.