2 Copyright (C) 2000-2005 SKYRIX Software AG
4 This file is part of OpenGroupware.org.
6 OGo 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 OGo 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 OGo; see the file COPYING. If not, write to the
18 Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
22 #ifndef __UIxTabView_H__
23 #define __UIxTabView_H__
26 This is a library private header !
29 #include <NGObjWeb/WODynamicElement.h>
32 Does not support tab-head-creation from nested components !!!
34 hh: Why not ??? -> Because selection is manipulated in sub-elements
36 UIxTabView creates element-IDs like
38 .h.*.$key. for the tab-items (head-mode)
39 .b.$key... for the tab-content (content-mode) (new, hh)
41 !!! UIxTabView JavaScript can't handle duplicate tab-keys !!!
44 @interface UIxTabView : WODynamicElement
46 WOAssociation *selection;
49 WOAssociation *headerStyle;
50 WOAssociation *bodyStyle;
51 WOAssociation *tabStyle;
52 WOAssociation *selectedTabStyle;
55 WOAssociation *bgColor;
56 WOAssociation *nonSelectedBgColor;
57 WOAssociation *leftCornerIcon;
58 WOAssociation *rightCornerIcon;
60 WOAssociation *tabIcon;
61 WOAssociation *leftTabIcon;
62 WOAssociation *selectedTabIcon;
64 WOAssociation *asBackground;
66 WOAssociation *height;
67 WOAssociation *activeBgColor;
68 WOAssociation *inactiveBgColor;
70 WOAssociation *fontColor;
71 WOAssociation *fontSize;
72 WOAssociation *fontFace;
79 @interface UIxTabItem : WODynamicElement
85 WOAssociation *isScript;
87 WOAssociation *action;
91 WOAssociation *tabStyle;
92 WOAssociation *selectedTabStyle;
95 WOAssociation *tabIcon;
96 WOAssociation *leftTabIcon;
97 WOAssociation *selectedTabIcon;
99 WOAssociation *asBackground;
100 WOAssociation *width;
101 WOAssociation *height;
102 WOAssociation *activeBgColor;
103 WOAssociation *inactiveBgColor;
110 @interface UIxTabItemInfo : NSObject
121 NSString *selectedTabStyle;
123 int asBackground; // 0 -> not set, 1 -> YES, else -> NO
127 NSString *inactiveBg;
133 #endif /* __UIxTabView_H__ */