NSColorList

Authors

Scott Christley( scottc@net-community.com )
Nicola Pero( n.pero@mi.flashnet.it )
Manage named lists of NSColors.

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

Software documentation for the NSColorList class

NSColorList : NSObject

Declared: AppKit/NSColorList.h
Conform: NSCoding

availableColorLists

+ (NSArray*) availableColorLists;


colorListNamed:

+ (NSColorList*) colorListNamed: (NSString*)name;


allKeys

- (NSArray*) allKeys;


colorWithKey:

- (NSColor*) colorWithKey: (NSString*)key;


encodeWithCoder:

- (void) encodeWithCoder: (NSCoder*)aCoder;


initWithCoder:

- (id) initWithCoder: (NSCoder*)aDecoder;


initWithName:

- (id) initWithName: (NSString*)name;


initWithName:fromFile:

- (id) initWithName: (NSString*)name fromFile: (NSString*)path;


insertColor:key:atIndex:

- (void) insertColor: (NSColor*)color key: (NSString*)key atIndex: (unsigned)location;


isEditable

- (BOOL) isEditable;


name

- (NSString*) name;


removeColorWithKey:

- (void) removeColorWithKey: (NSString*)key;


removeFile

- (void) removeFile;


setColor:forKey:

- (void) setColor: (NSColor*)aColor forKey: (NSString*)key;


writeToFile:

- (BOOL) writeToFile: (NSString*)path;