- (void)addColumns:(int)count;
description forthcoming
Name Description count number of columns to add
- (void)addRows:(int)count;
description forthcoming
Name Description count integer holding the number of new rows to add
Result: returns a BOOL holding the setting for the autoresize flag- (BOOL)allowAutoResize;
- (void)beginEditingCell:(NSCell*)aCell;
description forthcoming
Name Description aCell the cell to begin editing
Result: the class used by the spreadsheet when creating new cells+ (Class)cellClass;
- (RRPosition*)cellPositionForEvent:(NSEvent*)theEvent;
description forthcoming
Result: an RRPosition object holding the row/column within which theEvent occured
Name Description theEvent the event you are interested in
- (NSSize)cellSize;
description forthcoming
Result: an NSSize holding the default worksheet cell size- (NSMutableDictionary*)cells;
This method returns a dictionary holding all of the worksheets cells keyed with RRPosition objects
Result: an NSMutableDictionary holding all of the worksheet's cells- (void)clearWorksheet;
description forthcoming
- (NSArray*)columns;
description forthcoming
Result: returns and NSArray holding all of the columns in the worksheet- (id)createCellForRow:(int)row column:(int)column;
description forthcoming
Result: returns the newly created cell object
Name Description row worksheet row index column worksheet column
- (id)dataSource;
This method retuns the current datasource object for this worksheet
Result: the worksheet's current datasource object- (void)deselectAllCells;
description forthcoming
- (void)deselectCellAtRow:(int)row column:(int)column;
description forthcoming
Name Description row integer row index column integer column index
- (void)deselectColumn:(int)column;
description forthcoming
Name Description column integer column index
- (void)deselectRow:(int)row;
description forthcoming
Name Description row integer row index
- (void)deselectSelectedCell;
description forthcoming
- (NSRange)dirtyColumnRange;
description forthcoming
- (NSRange)dirtyRowRange;
description forthcoming
- (float)heightForRow:(unsigned int)row;
description forthcoming
Name Description row integer index of the row
- (int)indexOfObjectInArray:(NSArray*)array forLocation:(float)location;
description forthcoming
- (id)initWithFrame:(NSRect)rect cellSize:(NSSize)size;
class initialization method. This is the default initialization method for the class
Result: returns the initialized object, or nil
Name Description rect an NSRect holding the new control's frame size the default cell size for the worksheet
- (void)insertColumn:(unsigned int)index;
NOT IMPLEMENTED YET
Name Description index integer for new column index
- (void)insertRow:(unsigned int)row;
NOT IMPLEMENTED YET
Name Description row integer holding the index for the inserted row
- (NSRange)rangeForArray:(NSArray*)array inFloatRange:(RRFloatRange)range;
This method returns the range of row or column indicies which are known to cover the visible bounds specified in range. This method is used to determine which rows or columns are currently visible.
Result: NSRange with the range of headers covering range
Name Description array an array holding either the list of row or column headers range the visible range we are interested in
- (void)reloadCellDataAtRow:(int)row column:(int)column;
This method causes the worksheet to poll its data source for the contents of cell row/column and display the value received.
Name Description row integer row index column integer column index
- (void)reloadWorksheetData;
This method causes the worksheet to query its data source for the object values for all its cells and redisplay
- (void)removeAllColumns;
description forthcoming
- (void)removeAllRows;
description forthcoming
- (void)removeColumn:(unsigned int)column;
description forthcoming
Name Description column integer index of column to remove
- (void)removeRow:(unsigned int)row;
description forthcoming
Name Description row integer index of row to remove
- (void)resizeColumn:(unsigned int)column range:(RRFloatRange)range;
description forthcoming
Name Description column integer index of column to resize range RRFloatRange holding new location and length for column
- (void)resizeRow:(unsigned int)index range:(RRFloatRange)range;
description forthcoming
Name Description index index of the row to resize range an RRFloatRange holding the new location and length of the row
- (NSArray*)rows;
description forthcoming
Result: an NSArray holding all of the rows in the worksheet- (void)deselectCell:(NSCell*)aCell;
description forthcoming
Name Description aCell cell to deselect
- (void)selectCellAtRow:(int)row column:(int)column;
description forthcoming
Name Description row integer row index column integer column index
- (void)selectColumn:(int)column;
description forthcoming
Name Description column integer column index
- (void)selectRow:(int)row;
description forthcoming
Name Description row integer row index
- (NSArray*)selectedCells;
description forthcoming
Result: returns an array of all selected cells in the worksheet- (void)setAllowAutoResize:(BOOL)allow;
the method determines whether the worksheet automatically adds rows and columns to fill the spreadsheet view
Name Description allow YES = allow the worksheet to resize automatically, NO = do not allow the worksheet to automatically resize
+ (void)setCellClass:(Class)cellClass;
set the prototype class for the worksheet. This class will be used for all of the worksheet cells
Name Description cellClass the cell class
- (void)setCellSize:(NSSize)size;
description forthcoming
Name Description size the new default cell size
- (void)setColumns:(NSMutableArray*)array;
description forthcoming
Name Description array array holding the new RRSSHeader columns of the worksheet
- (void)setDatasource:(id)ds;
set the data source for the worksheet. The datasource must implement the RRSpreadSheetDataSource as defined in RRSpreadSheet
Name Description ds the new worksheet data source
- (void)setRows:(NSMutableArray*)array;
description forthcoming
Name Description array an array of RRSSHeaders holding the new rows of the worksheet
- (void)setRulerForSelectionFocus:(RRSSRulerView*)ruler;
description forthcoming
Name Description ruler the ruler to receive selection focus
Result: returns the enclosing spreadsheet object- (id)spreadsheet;
- (void)updateDirtyRangesForRect:(NSRect)rect;
description forthcoming
Name Description rect dirty NSRect
- (void)updateMarkers;
description forthcoming
- (void)updateVisibleRangesForRect:(NSRect)rect;
description forthcoming
Name Description rect visible NSRect
- (NSArray*)visibleCellPositions;
description forthcoming
- (NSRange)visibleColumnRange;
description forthcoming
- (NSArray*)visibleColumns;
description forthcoming
- (NSRect)visibleFrameForRect:(NSRect)rect;
description forthcoming
- (NSRange)visibleRowRange;
description forthcoming
- (NSArray*)visibleRows;
description forthcoming
- (float)widthForColumn:(unsigned int)column;
description forthcoming
Result: width of the column
Name Description column integer index of column
(Last Updated 4/30/2002)