Luky/Gui/LLStringList.h

00001 //
00002 //  LLStringList.h
00003 //  MacTrek
00004 //
00005 //  Created by Aqua on 01/08/2006.
00006 //  Copyright 2006 Luky Soft. All rights reserved.
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; // to be overwritten
00031 - (void) removeString:(NSString *)str;
00032 - (int)  rowHeigth;
00033 - (void) setSelectedRow:(int)row;
00034 - (void) emptyAllRows;
00035 - (NSString*) selectedString;
00036 
00037 @end

Generated on Sat Aug 26 21:14:16 2006 for MacTrek by  doxygen 1.4.7