[Previous] [Up] [Next]

NSTableView

Authors

Richard Frith-Macdonald

Version: $Revision$

Date: $Date$

NSTableView

NSTableView

Declared in: Gui/NSTableView.h

Inherits from: NSControl

Conforms to: NSCoding


Instance Variables

Methods


Instances Methods

addTableColumn:

- (void) addTableColumn: (NSTableColumn*)aColumn;

allowsColumnReordering

- (BOOL) allowsColumnReordering;

allowsColumnResizing

- (BOOL) allowsColumnResizing;

allowsColumnSelection

- (BOOL) allowsColumnSelection;

allowsEmptySelection

- (BOOL) allowsEmptySelection;

allowsMultipleSelection

- (BOOL) allowsMultipleSelection;

autoresizesAllColumnsToFit

- (BOOL) autoresizesAllColumnsToFit;

autosaveName

- (NSString*) autosaveName;

autosaveTableColumns

- (BOOL) autosaveTableColumns;

backgroundColor

- (NSColor*) backgroundColor;

clickedColumn

- (int) clickedColumn;

clickedRow

- (int) clickedRow;

columnAtPoint:

- (int) columnAtPoint: (NSPoint)aPoint;

columnsInRect:

- (NSRange) columnsInRect: (NSRect)aRect;

columnWithIdentifier:

- (int) columnWithIdentifier: (id)anObject;

cornerView

- (NSView*) cornerView;

dataSource

- (id) dataSource;

delegate

- (id) delegate;

deselectAll:

- (void) deselectAll: (id)sender;

deselectColumn:

- (void) deselectColumn: (int)columnIndex;

deselectRow:

- (void) deselectRow: (int)rowIndex;

doubleAction

- (SEL) doubleAction;

drawGridInClipRect:

- (void) drawGridInClipRect: (NSRect)aRect;

drawRow:

- (void) drawRow: (int)rowIndex;

drawsGrid

- (BOOL) drawsGrid;

editColumn:row:withEvent:

- (void) editColumn: (int)columnIndex row: (int)rowIndex withEvent: (NSEvent*)theEvent;

editedColumn

- (int) editedColumn;

editedRow

- (int) editedRow;

frameOfCellAtColumn:

- (NSRect) frameOfCellAtColumn: (int)columnIndex;

gridColor

- (NSColor*) gridColor;

headerView

- (NSTableHeaderView*) headerView;

highlightSelectionInClipRect:

- (void) highlightSelectionInClipRect: (NSRect)clipRect;

initWithFrame:

- (id) initWithFrame: (NSRect)frameRect;

intercellSpacing

- (NSSize) intercellSpacing;

isColumnSelected:

- (BOOL) isColumnSelected: (int)columnIndex;

isRowSelected:

- (BOOL) isRowSelected: (int)rowIndex;

moveColumn:

- (void) moveColumn: (int)columnIndex;

noteNumberOfRowsChanged

- (void) noteNumberOfRowsChanged;

numberOfColumns

- (int) numberOfColumns;

numberOfRows

- (int) numberOfRows;

numberOfSelectedColumns

- (int) numberOfSelectedColumns;

numberOfSelectedRows

- (int) numberOfSelectedRows;

rectOfColumn:

- (NSRect) rectOfColumn: (int)columnIndex;

rectOfRow:

- (NSRect) rectOfRow: (int)rowIndex;

reloadData

- (void) reloadData;

removeTableColumn:

- (void) removeTableColumn: (NSTableColumn*)aTableColumn;

rowAtPoint:

- (int) rowAtPoint: (NSPoint)aPoint;

rowHeight

- (float) rowHeight;

rowsInRect:

- (NSRange) rowsInRect: (NSRect)aRect;

scrollColumnToVisible:

- (void) scrollColumnToVisible: (int)columnIndex;

scrollRowToVisible:

- (void) scrollRowToVisible: (int)rowIndex;

selectAll:

- (void) selectAll: (id)sender;

selectColumn:byExtendingSelection:

- (void) selectColumn: (int)columnIndex byExtendingSelection: (BOOL)flag;

selectedColumn

- (int) selectedColumn;

selectedColumnEnumerator

- (NSEnumerator*) selectedColumnEnumerator;

selectedRow

- (int) selectedRow;

selectedRowEnumerator

- (NSEnumerator*) selectedRowEnumerator;

selectRow:byExtendingSelection:

- (void) selectRow: (int)rowIndex byExtendingSelection: (BOOL)flag;

setAllowsColumnReordering:

- (void) setAllowsColumnReordering: (BOOL)flag;

setAllowsColumnResizing:

- (void) setAllowsColumnResizing: (BOOL)flag;

setAllowsColumnSelection:

- (void) setAllowsColumnSelection: (BOOL)flag;

setAllowsEmptySelection:

- (void) setAllowsEmptySelection: (BOOL)flag;

setAllowsMultipleSelection:

- (void) setAllowsMultipleSelection: (BOOL)flag;

setAutoresizesAllColumnsToFit:

- (void) setAutoresizesAllColumnsToFit: (BOOL)flag;

setAutosaveName:

- (void) setAutosaveName: (NSString*)name;

setAutosaveTableColumns:

- (void) setAutosaveTableColumns: (BOOL)flag;

setBackgroundColor:

- (void) setBackgroundColor: (NSColor*)aColor;

setCornerView:

- (void) setCornerView: (NSView*)aView;

setDataSource:

- (void) setDataSource: (id)anObject;

setDelegate:

- (void) setDelegate: (id)anObject;

setDoubleAction:

- (void) setDoubleAction: (SEL)aSelector;

setDrawsGrid:

- (void) setDrawsGrid: (BOOL)flag;

setGridColor:

- (void) setGridColor: (NSColor*)aColor;

setHeaderView:

- (void) setHeaderView: (NSTableHeaderView*)aHeaderView;

setIntercellSpacing:

- (void) setIntercellSpacing: (NSSize)aSize;

setRowHeight:

- (void) setRowHeight: (float)rowHeight;

sizeLastColumnToFit

- (void) sizeLastColumnToFit;

sizeToFit

- (void) sizeToFit;

tableColumns

- (NSArray*) tableColumns;

tableColumnWithIdentifier:

- (NSTableColumn*) tableColumnWithIdentifier: (id)anObject;

textDidBeginEditing:

- (void) textDidBeginEditing: (NSNotification*)aNotification;

textDidChange:

- (void) textDidChange: (NSNotification*)aNotification;

textDidEndEditing:

- (void) textDidEndEditing: (NSNotification*)aNotification;

textShouldBeginEditing:

- (BOOL) textShouldBeginEditing: (NSText*)textObject;

textShouldEndEditing:

- (BOOL) textShouldEndEditing: (NSText*)textObject;

tile

- (void) tile;

selectionShouldChangeInTableView:

- (BOOL) selectionShouldChangeInTableView: (NSTableView*)aTableView;

tableView:shouldEditTableColumn:

- (BOOL) tableView: (NSTableView*)aTableView shouldEditTableColumn: (NSTableColumn*)aTableColumn;

tableView:shouldSelectRow:

- (BOOL) tableView: (NSTableView*)aTableView shouldSelectRow: (int)rowIndex;

tableView:shouldSelectTableColumn:

- (BOOL) tableView: (NSTableView*)aTableView shouldSelectTableColumn: (NSTableColumn*)aTableColumn;

tableView:willDisplayCell:forTableColumn:

- (void) tableView: (NSTableView*)aTableView willDisplayCell: (id)aCell forTableColumn: (NSTableColumn*)aTableColumn;

tableViewColumnDidMove:

- (void) tableViewColumnDidMove: (NSNotification*)aNotification;

tableViewColumnDidResize:

- (void) tableViewColumnDidResize: (NSNotification*)aNotification;

tableViewSelectionDidChange:

- (void) tableViewSelectionDidChange: (NSNotification*)aNotification;

tableViewSelectionIsChanging:

- (void) tableViewSelectionIsChanging: (NSNotification*)aNotification;