2 Copyright (C) 2000-2004 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
23 #ifndef __WETabView_H__
24 #define __WETabView_H__
27 This is a library private header !
30 #include <NGObjWeb/WODynamicElement.h>
33 Does not support tab-head-creation from nested components !!!
35 hh: Why not ??? -> Because selection is manipulated in sub-elements
37 WETabView creates element-IDs like
39 .h.*.$key. for the tab-items (head-mode)
40 .b.$key... for the tab-content (content-mode) (new, hh)
42 !!! WETabView JavaScript can't handle duplicate tab-keys !!!
45 @interface WETabView : WODynamicElement
47 WOAssociation *selection;
50 WOAssociation *bgColor;
51 WOAssociation *nonSelectedBgColor;
52 WOAssociation *leftCornerIcon;
53 WOAssociation *rightCornerIcon;
55 WOAssociation *tabIcon;
56 WOAssociation *leftTabIcon;
57 WOAssociation *selectedTabIcon;
59 WOAssociation *asBackground;
61 WOAssociation *height;
62 WOAssociation *activeBgColor;
63 WOAssociation *inactiveBgColor;
65 WOAssociation *fontColor;
66 WOAssociation *fontSize;
67 WOAssociation *fontFace;
74 @interface WETabItem : WODynamicElement
79 WOAssociation *action;
80 WOAssociation *isScript;
83 WOAssociation *tabIcon;
84 WOAssociation *leftTabIcon;
85 WOAssociation *selectedTabIcon;
87 WOAssociation *asBackground;
89 WOAssociation *height;
90 WOAssociation *activeBgColor;
91 WOAssociation *inactiveBgColor;
98 @interface WETabItemInfo : NSObject
109 int asBackground; // 0 -> not set, 1 -> YES, else -> NO
113 NSString *inactiveBg;
119 #endif /* __WETabView_H__ */