Methods



cornerView

Abstract: returns the upper left view of the spreadsheet
- (NSView*)cornerView; 

Result: returns the corner view of the spreadsheet

currentWorksheet

Abstract: returns the current worksheet
- (id)currentWorksheet; 

returns the worksheet currently being displayed by the spreadsheet

Result: returns the current worksheet object

headerLabelsEditable

Abstract: get the editability of header labels
- (BOOL)headerLabelsEditable; 

returns a boolean value indicating whether the row and column header labels are editable

Result: returns a BOOL, YES = headers can be edited, NO = headers cannot be edited

lowerLeftView

Abstract: returns the lower left view of the spreadsheet
- (NSView*)lowerLeftView; 

this method returns the view being used to fill the lower left corner of the spreadsheet

Result: returns the lower left view of the spreadsheet

newWorksheet:

Abstract: create a new worksheet
- (id)newWorksheet:(NSString*)label; 

This method creates and returns a new worksheet after setting it as the current worksheet of the spreadsheet

Parameters

NameDescription
labelan NSString* holding the name of the new worksheet
Result: returns the new worksheet

setCornerView:

Abstract: Set the upper left corner view of the spreadsheet
- (void)setCornerView:(NSView*)aView; 

Use this method to change the upper left corner of the spreadsheet to a custom view

Parameters

NameDescription
aViewthe view to be placed in the upper left corner

setCurrentWorksheet:

Abstract: set the current worksheet object
- (void)setCurrentWorksheet:(RRSSWorksheet*)worksheet; 

tells the spreadsheet to set the 'worksheet' object as the currently displayed worksheet in the spreadsheet view

Parameters

NameDescription
worksheetthe RRSSWorksheet object to become the current worksheet

setHeaderLabelsEditable:

Abstract: set editability of header labels
- (void)setHeaderLabelsEditable:(BOOL)editable; 

this method determines whether the user is able to edit the header labels of the rows and columns of the spreadsheet

Parameters

NameDescription
editableYES = headers can be edited, NO = header cannot be edited

setLowerLeftView:

Abstract: set the lower left corner view of the spreadsheet
- (void)setLowerLeftView:(NSView*)aView; 

Use this method to change the lower left corner of the spreadsheet to a custom view

Parameters

NameDescription
aViewthe view to be used as the lower left corner of the spreadsheet

setUpperRightView:

Abstract: set the upper right corner view of the spreadsheet
- (void)setUpperRightView:(NSView*)aView; 

Use this method to change the upper right corner of the spreadsheet to a custom view

Parameters

NameDescription
aViewthe view to be used as the upper right corner of the spreadsheet

setupCornerViews

Abstract: set up the corner views for the spreadsheet object
- (void)setupCornerViews; 

internal method used to create and set up the corner views for the spreadsheet object


setupRulers

Abstract: set up the rulers for the spreadsheet object
- (void)setupRulers; 

internal method used to create and set up the rulers for the spreadsheet object


upperRightView

Abstract: returns the upper right view of the spreadsheet
- (NSView*)upperRightView; 

this method returns the view being used to fill the upper right corner of the spreadsheet

Result: returns the upper right view of the spreadsheet

(Last Updated 4/30/2002)