Name
NSTableView — Mac OS X 10.0
Synopsis
This subclass of NSView
organizes information into
rows and columns. The information displayed in the table comes from
an object that serves as the table view’s data
source object; data source objects must implement a minimum set of
methods declared by the NSTableDataSource
informal
protocol. Instances of NSTableView
are composite
objects that manage NSTableColumn
objects (one for
each column in a table), and NSTableHeaderView
objects (to draw the headers over the table columns).
|
@interface NSTableView : NSControl
|
// Accessor Methods
|
- (void)setRowHeight:(float)rowHeight; |
- (float)rowHeight;
|
- (void)setDelegate:(id)delegate; |
- (id)delegate;
|
- (void)setHeaderView:(NSTableHeaderView *)headerView; |
- (NSTableHeaderView *)headerView;
|
- (void)setCornerView:(NSView *)cornerView; |
- (NSView *)cornerView;
|
- (void)setAllowsColumnReordering:(BOOL)flag; |
- (BOOL)allowsColumnReordering;
|
- (void)setAllowsColumnResizing:(BOOL)flag; |
- (BOOL)allowsColumnResizing;
|
- (void)setAutoresizesAllColumnsToFit:(BOOL)flag; |
- (BOOL)autoresizesAllColumnsToFit;
|
- (void)setIntercellSpacing:(NSSize)aSize; |
- (NSSize)intercellSpacing;
|
- (void)setBackgroundColor:(NSColor *)color; |
- (NSColor *)backgroundColor;
|
- (void)setGridColor:(NSColor *)color; |
- (NSColor *)gridColor;
|
- (void)setIndicatorImage:(NSImage *)anImage inTableColumn |
Get Cocoa in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.