This is BrowserBarChart.m in view mode; [Download] [Up]
// BrowserBarChart.m
//
// Free software created 1 Feb 1992
// by Paul Burchard <burchard@math.utah.edu>.
#import "BrowserBarChart.h"
#import "BarChartCell.h"
@implementation BrowserBarChart
- initFrame:(const NXRect *)frameRect
{
return [super initFrame:frameRect cellClass:[BarChartCell class]];
}
- setBarValue:(float)aValue at:(int)row
{
return [[self cellAt:row] setBarValue:aValue];
}
- (float)barValueAt:(int)row
{
id cell;
if(!(cell = [self cellAt:row])) return 0.0;
return [cell barValue];
}
@end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.