NSTableHeaderView Class Reference
| Inherits from | |
| Conforms to | |
| Framework | /System/Library/Frameworks/AppKit.framework |
| Availability | Available in OS X v10.0 and later. |
| Companion guide | |
| Declared in | NSTableHeaderView.h |
Overview
An NSTableHeaderView is used by an NSTableView to draw headers over its columns and to handle mouse events in those headers.
NSTableHeaderView uses NSTableHeaderCell to implement its user interface.
Instance Methods
columnAtPoint:
Returns the index of the column whose header lies under aPoint in the receiver, or –1 if no such column is found.
Discussion
aPoint is expressed in the receiver’s coordinate system.
Availability
- Available in OS X v10.0 and later.
Declared In
NSTableHeaderView.hdraggedColumn
If the user is dragging a column in the receiver, returns the index of that column.
Discussion
Otherwise returns –1.
Availability
- Available in OS X v10.0 and later.
See Also
Declared In
NSTableHeaderView.hdraggedDistance
If the user is dragging a column in the receiver, returns the column’s horizontal distance from its original position.
Discussion
Otherwise the return value is meaningless.
Availability
- Available in OS X v10.0 and later.
See Also
Declared In
NSTableHeaderView.hheaderRectOfColumn:
Returns the rectangle containing the header tile for the column at columnIndex.
Discussion
Raises an NSInternalInconsistencyException if columnIndex is out of bounds.
Availability
- Available in OS X v10.0 and later.
See Also
-
– rectOfColumn:(NSTableView)
Declared In
NSTableHeaderView.hresizedColumn
If the user is resizing a column in the receiver, returns the index of that column.
Discussion
Otherwise returns –1.
Availability
- Available in OS X v10.0 and later.
Declared In
NSTableHeaderView.hsetTableView:
Sets aTableView as the receiver’s NSTableView.
Discussion
You should never need to invoke this method; it’s invoked automatically when you set the header view for an NSTableView.
Availability
- Available in OS X v10.0 and later.
See Also
-
– setHeaderView:(NSTableView)
Declared In
NSTableHeaderView.htableView
Returns the NSTableView the receiver belongs to.
Availability
- Available in OS X v10.0 and later.
Declared In
NSTableHeaderView.h© 2006 Apple Computer, Inc. All Rights Reserved. (Last updated: 2006-05-23)