2 Copyright (C) 2000-2005 SKYRIX Software AG
4 This file is part of SOPE.
6 SOPE is free software; you can redistribute it and/or modify it under
7 the terms of the GNU Lesser General Public License as published by the
8 Free Software Foundation; either version 2, or (at your option) any
11 SOPE is distributed in the hope that it will be useful, but WITHOUT ANY
12 WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
14 License for more details.
16 You should have received a copy of the GNU Lesser General Public
17 License along with SOPE; see the file COPYING. If not, write to the
18 Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
22 #ifndef __WETabView_H__
23 #define __WETabView_H__
26 This is a library private header!
29 #include <NGObjWeb/WODynamicElement.h>
32 Note: Does not support tab-head-creation from nested components!
33 Why: => because selection is manipulated in sub-elements
35 WETabView creates element-IDs like
37 .h.*.$key. for the tab-items (head-mode)
38 .b.$key... for the tab-content (content-mode) (new, hh)
40 Note: the WETabView JavaScript mode cannot handle duplicate tab-keys.
43 @interface WETabView : WODynamicElement
45 WOAssociation *selection;
48 WOAssociation *bgColor;
49 WOAssociation *nonSelectedBgColor;
50 WOAssociation *leftCornerIcon;
51 WOAssociation *rightCornerIcon;
53 WOAssociation *tabIcon;
54 WOAssociation *leftTabIcon;
55 WOAssociation *selectedTabIcon;
57 WOAssociation *asBackground;
59 WOAssociation *height;
60 WOAssociation *activeBgColor;
61 WOAssociation *inactiveBgColor;
63 WOAssociation *disabledTabKeys;
65 WOAssociation *fontColor;
66 WOAssociation *fontSize;
67 WOAssociation *fontFace;
74 @interface WETabItem : WODynamicElement
79 WOAssociation *action;
80 WOAssociation *isScript;
82 WOAssociation *actionClass;
83 WOAssociation *directActionName;
86 WOAssociation *tabIcon;
87 WOAssociation *leftTabIcon;
88 WOAssociation *selectedTabIcon;
90 WOAssociation *asBackground;
92 WOAssociation *height;
93 WOAssociation *activeBgColor;
94 WOAssociation *inactiveBgColor;
101 @interface WETabItemInfo : NSObject
112 int asBackground; // 0 -> not set, 1 -> YES, else -> NO
116 NSString *inactiveBg;
122 #endif /* __WETabView_H__ */