Class

NSTableRowView

The view shown for a row in a table view.

Declaration

@interface NSTableRowView : NSView

Overview

NSTableRowView is responsible for displaying attributes associated with the row, including the selection highlight, and group row look.

Topics

Display Style

emphasized

Determines whether the row will draw with the alternate or secondary color (unless overridden).

interiorBackgroundStyle

Specifies how the subviews should draw.

floating

Specifies whether the row is drawn using the floating style.

Row Selection

selected

Determines whether the row is selected.

selectionHighlightStyle

Specifies the selection highlight style.

Drag and Drop

draggingDestinationFeedbackStyle

Specifies the dragging destination feedback style.

indentationForDropOperation

Defines the amount the drag target for a row should be indented.

targetForDropOperation

Specifies whether this row will draw a drop indicator based on the current dragging feedback style.

Row Grouping

groupRowStyle

Specifies whether this row view is a group row.

numberOfColumns

Returns the number of columns represented by views in the table row view.

Overriding Row View Display Characteristics

backgroundColor

The background color of the row.

- drawBackgroundInRect:

Draws the background of the row in the rectangle.

- drawDraggingDestinationFeedbackInRect:

Draws the row’s dragging destination feedback when the entire row is a drop target.

- drawSelectionInRect:

Draws the selected row.

- drawSeparatorInRect:

Draws the horizontal separator between table rows.

Accessing A Row Column View

- viewAtColumn:

Provides access to the given view at a particular column.

Relationships

Inherits From

See Also

Rows and Columns

NSTableHeaderView

An object that draws headers over a table view's columns and handles mouse events in those headers.

NSTableHeaderCell

An object that a table header view uses to draw the content of the column headers.

NSTableColumn

The display characteristics and identifier for a column in a table view.

NSTableViewRowAction

A single action to present when the user swipes horizontally on a table row.