Class

NSTableHeaderView

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

Declaration

@interface NSTableHeaderView : NSView

Overview

NSTableHeaderView uses NSTableHeaderCell to implement its user interface.

Topics

Setting the table view

tableView

The NSTableView instance that this table header view belongs to.

Checking altered columns

draggedColumn

The index of the column that the user is dragging.

draggedDistance

The horizontal distance that the user has dragged a column.

resizedColumn

The index of the column that the user is resizing.

Utility methods

- columnAtPoint:

Returns the index of the column whose header lies under aPoint in the receiver, or –1 if no such column is found.

- headerRectOfColumn:

Returns the rectangle containing the header tile for the column at columnIndex.

Relationships

Inherits From

See Also

Rows and Columns

NSTableHeaderCell

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

NSTableRowView

The view shown for a row in a table view.

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.