O'Reilly logo

Cocoa in a Nutshell by James Duncan Davidson, Michael Beam

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

NSTableHeaderView — Mac OS X 10.0

Synopsis

This class is responsible for managing column headers in a table view. NSTableView objects use NSTableHeaderView to draw the headers, including any labeling and highlighting. NSTableHeaderView relies on NSTableHeaderCell objects to draw the individual header labels.

image with no caption

@interface NSTableHeaderView : NSView
                                  // Accessor Methods
   - (void)setTableView:(NSTableView *)tableView;
   - (NSTableView *)tableView;
                                  // Instance Methods
   - (int)columnAtPoint:(NSPoint)point;
   - (int)draggedColumn;
   - (float)draggedDistance;
   - (NSRect)headerRectOfColumn:(int)column;
   - (int)resizedColumn;

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required