This is BrowsableCell.m in view mode; [Download] [Up]
#import "BrowsableCell.h"
@implementation BrowsableCell
- _setDefaults
{
[self setAlignment: NX_LEFTALIGNED];
[self setBezeled: NO];
[self setBordered: YES];
[self setContinuous: NO];
[self setEditable: NO];
[self setEnabled: YES];
[self setSelectable: NO];
[self setWrap: NO];
return self;
}
+ new { return [[super new] _setDefaults]; }
+ newIconCell { return [[super newIconCell] _setDefaults]; }
+ newTextCell { return [[super newTextCell] _setDefaults]; }
+ newIconCell: (const char *) iconName
{ return [[super newIconCell: iconName] _setDefaults]; }
+ newTextCell: (const char *) aString
{ return [[super newTextCell: aString] _setDefaults]; }
- loadValues: anObject
{ return [self setStringValue: [anObject stringValue]]; }
@end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.