Contents

NSBrowser

An interface that displays a hierarchically organized list of data items that can be navigated and selected.

Declaration

class NSBrowser

Overview

A browser displays information using a set of columns, which are indexed from left to right. Each successive column displays the next level down in the data hierarchy. This class uses the NSBrowserCell class to implement its user interface.

Browsers have the following components:

  • Columns

  • Scroll views

  • Matrices

  • Browser cells

To the user, browsers display data in columns and rows within each column. These components are arranged in the following component hierarchy:

Browser
|---Columns [1..*]
    |---Scroll view
       |---Matrix
           |---Rows [0..*]

Superclass overrides

  • isOpaque returns true when the browser doesn’t have a title and its background color’s alpha component is 1.0; otherwise, it returns false.

Protocol implementations

  • The NSBrowser implementation of namesOfPromisedFilesDropped(atDestination:) provides the names of the files that the browser promises to create at a specified location, the result of sending browser:namesOfPromisedFilesDroppedAtDestination:forDraggedRowsWithIndexes:inColumn: to the delegate.

Topics

Configuring Browsers

Managing Component Types

Managing Selection Behavior

Managing Selection

Accessing Components

Managing the Path

Managing Columns

Accessing Column Titles

Updating Browsers

Scrolling

Dragging

Getting Column Frames

Getting Row Frames

Managing Actions

Handling Mouse-Click Events

Sizing

Constants

Notifications

Deprecated

Instance Methods