00001
00002
00003
00004
00005
00006
00007
00008
00009 #import <Cocoa/Cocoa.h>
00010 #import "LLNotificationCenter.h"
00011
00012 @interface LLStringList : NSView {
00013 LLNotificationCenter *notificationCenter;
00014 NSMutableDictionary *normalAttribute;
00015 NSMutableArray *stringList;
00016 int rowHeigth;
00017 int selectedRow;
00018 bool hasChanged;
00019 NSColor *boxColor;
00020 NSString *name;
00021 }
00022
00023 - (void) setIdentifer:(NSString *)name;
00024 - (NSString *)name;
00025 - (bool) hasChanged;
00026 - (void) disableSelection;
00027 - (int) maxNrOfStrings;
00028 - (void) addString:(NSString *)str;
00029 - (void) addString:(NSString *)str withColor:(NSColor *)col;
00030 - (void) newStringSelected:(NSString*)str;
00031 - (void) removeString:(NSString *)str;
00032 - (int) rowHeigth;
00033 - (void) setSelectedRow:(int)row;
00034 - (void) emptyAllRows;
00035 - (NSString*) selectedString;
00036
00037 @end