Up

NSTableView

Authors

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

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


Contents -

  1. Software documentation for the NSTableView class
  2. Software documentation for the NSObject(NSTableDataSource) informal protocol
  3. Software documentation for the NSObject(NSTableViewDelegate) informal protocol
  4. Software documentation for the NSTableView(GNUPrivate) category

Software documentation for the NSTableView class

NSTableView : NSControl

Declared in:
AppKit/NSTableView.h
Standards:

Description forthcoming.

Method summary

addTableColumn:

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

Description forthcoming.


allowsColumnReordering

- (BOOL) allowsColumnReordering;

Description forthcoming.


allowsColumnResizing

- (BOOL) allowsColumnResizing;

Description forthcoming.


allowsColumnSelection

- (BOOL) allowsColumnSelection;

Description forthcoming.


allowsEmptySelection

- (BOOL) allowsEmptySelection;

Description forthcoming.


allowsMultipleSelection

- (BOOL) allowsMultipleSelection;

Description forthcoming.


autoresizesAllColumnsToFit

- (BOOL) autoresizesAllColumnsToFit;

Description forthcoming.


autosaveName

- (NSString*) autosaveName;

Description forthcoming.


autosaveTableColumns

- (BOOL) autosaveTableColumns;

Description forthcoming.


backgroundColor

- (NSColor*) backgroundColor;

Description forthcoming.


clickedColumn

- (int) clickedColumn;

Description forthcoming.


clickedRow

- (int) clickedRow;

Description forthcoming.


columnAtPoint:

- (int) columnAtPoint: (NSPoint)aPoint;

Description forthcoming.


columnWithIdentifier:

- (int) columnWithIdentifier: (id)anObject;

Description forthcoming.


columnsInRect:

- (NSRange) columnsInRect: (NSRect)aRect;

Description forthcoming.


cornerView

- (NSView*) cornerView;

Description forthcoming.


dataSource

- (id) dataSource;

Description forthcoming.


delegate

- (id) delegate;

Description forthcoming.


deselectAll:

- (void) deselectAll: (id)sender;

Description forthcoming.


deselectColumn:

- (void) deselectColumn: (int)columnIndex;

Description forthcoming.


deselectRow:

- (void) deselectRow: (int)rowIndex;

Description forthcoming.


doubleAction

- (SEL) doubleAction;

Description forthcoming.


dragImageForRows:event:dragImageOffset:

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

Description forthcoming.


drawGridInClipRect:

- (void) drawGridInClipRect: (NSRect)aRect;

Description forthcoming.


drawRow:clipRect:

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

Description forthcoming.


drawsGrid

- (BOOL) drawsGrid;

Description forthcoming.


editColumn:row:withEvent:select:

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

Description forthcoming.


editedColumn

- (int) editedColumn;

Description forthcoming.


editedRow

- (int) editedRow;

Description forthcoming.


frameOfCellAtColumn:row:

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

Description forthcoming.


gridColor

- (NSColor*) gridColor;

Description forthcoming.


headerView

- (NSTableHeaderView*) headerView;

Description forthcoming.


highlightSelectionInClipRect:

- (void) highlightSelectionInClipRect: (NSRect)clipRect;

Description forthcoming.


highlightedTableColumn

- (NSTableColumn*) highlightedTableColumn;

Description forthcoming.


indicatorImageInTableColumn:

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

Description forthcoming.


intercellSpacing

- (NSSize) intercellSpacing;

Description forthcoming.


isColumnSelected:

- (BOOL) isColumnSelected: (int)columnIndex;

Description forthcoming.


isRowSelected:

- (BOOL) isRowSelected: (int)rowIndex;

Description forthcoming.


moveColumn:toColumn:

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

Description forthcoming.


noteNumberOfRowsChanged

- (void) noteNumberOfRowsChanged;

Description forthcoming.


numberOfColumns

- (int) numberOfColumns;

Description forthcoming.


numberOfRows

- (int) numberOfRows;

Description forthcoming.


numberOfSelectedColumns

- (int) numberOfSelectedColumns;

Description forthcoming.


numberOfSelectedRows

- (int) numberOfSelectedRows;

Description forthcoming.


rectOfColumn:

- (NSRect) rectOfColumn: (int)columnIndex;

Description forthcoming.


rectOfRow:

- (NSRect) rectOfRow: (int)rowIndex;

Description forthcoming.


reloadData

- (void) reloadData;

Description forthcoming.


removeTableColumn:

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

Description forthcoming.


rowAtPoint:

- (int) rowAtPoint: (NSPoint)aPoint;

Description forthcoming.


rowHeight

- (float) rowHeight;

Description forthcoming.


rowsInRect:

- (NSRange) rowsInRect: (NSRect)aRect;

Description forthcoming.


scrollColumnToVisible:

- (void) scrollColumnToVisible: (int)columnIndex;

Description forthcoming.


scrollRowToVisible:

- (void) scrollRowToVisible: (int)rowIndex;

Description forthcoming.


selectAll:

- (void) selectAll: (id)sender;

Description forthcoming.


selectColumn:byExtendingSelection:

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

Description forthcoming.


selectRow:byExtendingSelection:

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

Description forthcoming.


selectedColumn

- (int) selectedColumn;

Description forthcoming.


selectedColumnEnumerator

- (NSEnumerator*) selectedColumnEnumerator;

Description forthcoming.


selectedRow

- (int) selectedRow;

Description forthcoming.


selectedRowEnumerator

- (NSEnumerator*) selectedRowEnumerator;

Description forthcoming.


setAllowsColumnReordering:

- (void) setAllowsColumnReordering: (BOOL)flag;

Description forthcoming.


setAllowsColumnResizing:

- (void) setAllowsColumnResizing: (BOOL)flag;

Description forthcoming.


setAllowsColumnSelection:

- (void) setAllowsColumnSelection: (BOOL)flag;

Description forthcoming.


setAllowsEmptySelection:

- (void) setAllowsEmptySelection: (BOOL)flag;

Description forthcoming.


setAllowsMultipleSelection:

- (void) setAllowsMultipleSelection: (BOOL)flag;

Description forthcoming.


setAutoresizesAllColumnsToFit:

- (void) setAutoresizesAllColumnsToFit: (BOOL)flag;

Description forthcoming.


setAutosaveName:

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

Description forthcoming.


setAutosaveTableColumns:

- (void) setAutosaveTableColumns: (BOOL)flag;

Description forthcoming.


setBackgroundColor:

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

Description forthcoming.


setCornerView:

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

Description forthcoming.


setDataSource:

- (void) setDataSource: (id)anObject;

Description forthcoming.


setDelegate:

- (void) setDelegate: (id)anObject;

Description forthcoming.


setDoubleAction:

- (void) setDoubleAction: (SEL)aSelector;

Description forthcoming.


setDrawsGrid:

- (void) setDrawsGrid: (BOOL)flag;

Description forthcoming.


setDropRow:dropOperation:

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

Description forthcoming.


setFrame:

- (void) setFrame: (NSRect)aRect;

Description forthcoming.


setGridColor:

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

Description forthcoming.


setHeaderView:

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

Description forthcoming.


setHighlightedTableColumn:

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

Description forthcoming.


setIndicatorImage:inTableColumn:

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

Description forthcoming.


setIntercellSpacing:

- (void) setIntercellSpacing: (NSSize)aSize;

Description forthcoming.


setRowHeight:

- (void) setRowHeight: (float)rowHeight;

Description forthcoming.


setVerticalMotionCanBeginDrag:

- (void) setVerticalMotionCanBeginDrag: (BOOL)flag;

Description forthcoming.


sizeLastColumnToFit

- (void) sizeLastColumnToFit;

Description forthcoming.


tableColumnWithIdentifier:

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

Description forthcoming.


tableColumns

- (NSArray*) tableColumns;

Description forthcoming.


textDidBeginEditing:

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

Description forthcoming.


textDidChange:

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

Description forthcoming.


textDidEndEditing:

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

Description forthcoming.


textShouldBeginEditing:

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

Description forthcoming.


textShouldEndEditing:

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

Description forthcoming.


tile

- (void) tile;

Description forthcoming.


verticalMotionCanBeginDrag

- (BOOL) verticalMotionCanBeginDrag;

Description forthcoming.


Software documentation for the NSObject(NSTableDataSource) informal protocol

NSObject(NSTableDataSource)

Declared in:
AppKit/NSTableView.h
Standards:

Description forthcoming.

Method summary

numberOfRowsInTableView:

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

Description forthcoming.


tableView:acceptDrop:row:dropOperation:

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

Description forthcoming.


tableView:objectValueForTableColumn:row:

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

Description forthcoming.


tableView:setObjectValue:forTableColumn:row:

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

Description forthcoming.


tableView:validateDrop:proposedRow:proposedDropOperation:

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

Description forthcoming.


tableView:writeRows:toPasteboard:

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

Description forthcoming.


Software documentation for the NSObject(NSTableViewDelegate) informal protocol

NSObject(NSTableViewDelegate)

Declared in:
AppKit/NSTableView.h
Standards:

Description forthcoming.

Method summary

selectionShouldChangeInTableView:

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

Description forthcoming.


tableView:didClickTableColumn:

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

Description forthcoming.


tableView:didDragTableColumn:

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

Description forthcoming.


tableView:mouseDownInHeaderOfTableColumn:

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

Description forthcoming.


tableView:shouldEditTableColumn:row:

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

Description forthcoming.


tableView:shouldSelectRow:

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

Description forthcoming.


tableView:shouldSelectTableColumn:

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

Description forthcoming.


tableView:willDisplayCell:forTableColumn:row:

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

Description forthcoming.


tableViewColumnDidMove:

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

Description forthcoming.


tableViewColumnDidResize:

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

Description forthcoming.


tableViewSelectionDidChange:

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

Description forthcoming.


tableViewSelectionIsChanging:

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

Description forthcoming.


Software documentation for the NSTableView(GNUPrivate) category

NSTableView(GNUPrivate)

Declared in:
AppKit/NSTableView.h
Standards:

Description forthcoming.

Method summary

_selectColumn:modifiers:

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

Description forthcoming.


_sendDoubleActionForColumn:

- (void) _sendDoubleActionForColumn: (int)columnIndex;

Description forthcoming.



Up