NSTableView

Authors

Nicola Pero( n.pero@mi.flashnet.it )
Pierre-Yves Rivaille( pyrivail@ens-lyon.fr )

Copyright: (C) 2000 Free Software Foundation, Inc.

Software documentation for the NSTableView class

NSTableView : NSControl

Declared: AppKit/NSTableView.h

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;


columnWithIdentifier:

- (int) columnWithIdentifier: (id)anObject;


columnsInRect:

- (NSRange) columnsInRect: (NSRect)aRect;


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;


dragImageForRows:event:dragImageOffset:

- (NSImage*) dragImageForRows: (NSArray*)dragRows event: (NSEvent*)dragEvent dragImageOffset: (NSPoint*)dragImageOffset;


drawGridInClipRect:

- (void) drawGridInClipRect: (NSRect)aRect;


drawRow:clipRect:

- (void) drawRow: (int)rowIndex clipRect: (NSRect)aRect;


drawsGrid

- (BOOL) drawsGrid;


editColumn:row:withEvent:select:

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


editedColumn

- (int) editedColumn;


editedRow

- (int) editedRow;


frameOfCellAtColumn:row:

- (NSRect) frameOfCellAtColumn: (int)columnIndex row: (int)rowIndex;


gridColor

- (NSColor*) gridColor;


headerView

- (NSTableHeaderView*) headerView;


highlightSelectionInClipRect:

- (void) highlightSelectionInClipRect: (NSRect)clipRect;


highlightedTableColumn

- (NSTableColumn*) highlightedTableColumn;


indicatorImageInTableColumn:

- (NSImage*) indicatorImageInTableColumn: (NSTableColumn*)aTableColumn;


intercellSpacing

- (NSSize) intercellSpacing;


isColumnSelected:

- (BOOL) isColumnSelected: (int)columnIndex;


isRowSelected:

- (BOOL) isRowSelected: (int)rowIndex;


moveColumn:toColumn:

- (void) moveColumn: (int)columnIndex toColumn: (int)newIndex;


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*)aColumn;


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;


selectRow:byExtendingSelection:

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


selectedColumn

- (int) selectedColumn;


selectedColumnEnumerator

- (NSEnumerator*) selectedColumnEnumerator;


selectedRow

- (int) selectedRow;


selectedRowEnumerator

- (NSEnumerator*) selectedRowEnumerator;


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;


setDropRow:dropOperation:

- (void) setDropRow: (int)row dropOperation: (NSTableViewDropOperation)operation;


setFrame:

- (void) setFrame: (NSRect)aRect;


setGridColor:

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


setHeaderView:

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


setHighlightedTableColumn:

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


setIndicatorImage:inTableColumn:

- (void) setIndicatorImage: (NSImage*)anImage inTableColumn: (NSTableColumn*)aTableColumn;


setIntercellSpacing:

- (void) setIntercellSpacing: (NSSize)aSize;


setRowHeight:

- (void) setRowHeight: (float)rowHeight;


setVerticalMotionCanBeginDrag:

- (void) setVerticalMotionCanBeginDrag: (BOOL)flag;


sizeLastColumnToFit

- (void) sizeLastColumnToFit;


tableColumnWithIdentifier:

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


tableColumns

- (NSArray*) tableColumns;


textDidBeginEditing:

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


textDidChange:

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


textDidEndEditing:

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


textShouldBeginEditing:

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


textShouldEndEditing:

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


tile

- (void) tile;


verticalMotionCanBeginDrag

- (BOOL) verticalMotionCanBeginDrag;


Software documentation for the NSObject(NSTableDataSource) category

NSObject(NSTableDataSource)

Declared: AppKit/NSTableView.h

numberOfRowsInTableView:

- (int) numberOfRowsInTableView: (NSTableView*)aTableView;


tableView:acceptDrop:row:dropOperation:

- (BOOL) tableView: (NSTableView*)tableView acceptDrop: (id)info row: (int)row dropOperation: (NSTableViewDropOperation)operation;


tableView:objectValueForTableColumn:row:

- (id) tableView: (NSTableView*)aTableView objectValueForTableColumn: (NSTableColumn*)aTableColumn row: (int)rowIndex;


tableView:setObjectValue:forTableColumn:row:

- (void) tableView: (NSTableView*)aTableView setObjectValue: (id)anObject forTableColumn: (NSTableColumn*)aTableColumn row: (int)rowIndex;


tableView:validateDrop:proposedRow:proposedDropOperation:

- (NSDragOperation) tableView: (NSTableView*)tableView validateDrop: (id)info proposedRow: (int)row proposedDropOperation: (NSTableViewDropOperation)operation;


tableView:writeRows:toPasteboard:

- (BOOL) tableView: (NSTableView*)tableView writeRows: (NSArray*)rows toPasteboard: (NSPasteboard*)pboard;


Software documentation for the NSObject(NSTableViewDelegate) category

NSObject(NSTableViewDelegate)

Declared: AppKit/NSTableView.h

selectionShouldChangeInTableView:

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


tableView:didClickTableColumn:

- (void) tableView: (NSTableView*)tableView didClickTableColumn: (NSTableColumn*)tableColumn;


tableView:didDragTableColumn:

- (void) tableView: (NSTableView*)tableView didDragTableColumn: (NSTableColumn*)tableColumn;


tableView:mouseDownInHeaderOfTableColumn:

- (void) tableView: (NSTableView*)tableView mouseDownInHeaderOfTableColumn: (NSTableColumn*)tableColumn;


tableView:shouldEditTableColumn:row:

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


tableView:shouldSelectRow:

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


tableView:shouldSelectTableColumn:

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


tableView:willDisplayCell:forTableColumn:row:

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


tableViewColumnDidMove:

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


tableViewColumnDidResize:

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


tableViewSelectionDidChange:

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


tableViewSelectionIsChanging:

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


Software documentation for the NSTableView(GNUPrivate) category

NSTableView(GNUPrivate)

Declared: AppKit/NSTableView.h

_selectColumn:modifiers:

- (void) _selectColumn: (int)columnIndex modifiers: (unsigned int)modifiers;


_sendDoubleActionForColumn:

- (void) _sendDoubleActionForColumn: (int)columnIndex;