Class

NSScrubberSelectionStyle

An abstract class that provides decorative accessory views for selected and highlighted items within a scrubber control.

Declaration

@interface NSScrubberSelectionStyle : NSObject

Overview

Choose a selection style (outlineOverlayStyle or roundedBackgroundStyle), or create a custom selection style by subclassing NSScrubberSelectionStyle and overriding makeSelectionView.

Topics

Using Built-in Styles

outlineOverlayStyle

A built-in selection style that draws the outline of the scrubber item.

roundedBackgroundStyle

A built-in selection style that draws a rounded rectangle as the background of the scrubber item.

Creating a Selection Style

- init

Initializes a new scrubber selection style.

- initWithCoder:

Initializes a scrubber selection style when included from a nib or Storyboard.

- makeSelectionView

Provides an opportunity to create a customized scrubber selection style.

Relationships

Inherits From

Conforms To

See Also

Scrubber Items

NSScrubberItemView

An item at a specific index position in the scrubber.

NSScrubberArrangedView

An abstract base class for the views whose layout is managed by a scrubber.

NSScrubberImageItemView

A concrete view subclass for displaying images in a scrubber items.

NSScrubberSelectionView

An abstract base class for specifying the appearance of a highlighted or selected item in a scrubber.

NSScrubberTextItemView

A concrete view subclass for displaying text for an item in a scrubber.