NSTableHeaderView

NSTableHeaderView Mac OS X 10.0

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.

figs/cocn_15100.gif

@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;



    Part II: API Quick Reference
    Chapter 13. Foundation Classes