1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23#ifndef __com_sun_star_ui_UIElementType_idl__
24#define __com_sun_star_ui_UIElementType_idl__
25
26module com {  module sun {  module star {  module ui {
27
28/** determine the type of a user interface element which is controlled
29    by a layout manager.
30
31    @since OpenOffice 2.0
32 */
33constants UIElementType
34{
35	//-------------------------------------------------------------------------
36    /** unkown user interface element type, which can be used as a wildcard
37       to specify all types.
38    */
39    const short UNKNOWN         = 0;
40
41    //-------------------------------------------------------------------------
42    /** specifies a menu bar.
43    */
44    const short MENUBAR         = 1;
45
46    //-------------------------------------------------------------------------
47    /** specifies a popup menu.
48    */
49    const short POPUPMENU       = 2;
50
51    //-------------------------------------------------------------------------
52    /** specifies a toolbar.
53    */
54    const short TOOLBAR         = 3;
55
56    //-------------------------------------------------------------------------
57    /** specifies a statusbar.
58    */
59    const short STATUSBAR       = 4;
60
61    //-------------------------------------------------------------------------
62    /** specifies a floating window, which can also be docked.
63    */
64    const short FLOATINGWINDOW  = 5;
65
66    //-------------------------------------------------------------------------
67    /** specifies a floating window, which can also be docked.
68    */
69    const short PROGRESSBAR     = 6;
70
71    //-------------------------------------------------------------------------
72    /** specifies a tool panel
73    */
74    const short TOOLPANEL       = 7;
75
76    //-------------------------------------------------------------------------
77    /** specifies a window that can be docked.
78    */
79    const short DOCKINGWINDOW   = 7;
80
81    //-------------------------------------------------------------------------
82    /** specifies the number of constants.
83    */
84    const short COUNT           = 8;
85};
86
87}; }; }; };
88
89#endif
90