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_frame_LayoutManagerEvents_idl__
24#define __com_sun_star_frame_LayoutManagerEvents_idl__
25
26//=============================================================================
27
28module com {  module sun {  module star {  module frame {
29
30//=============================================================================
31/** provides information about layout manager events
32
33    <p>Events are provided <strong>only</strong> for notification
34    purposes only.</p>
35
36    @see com::sun::star::frame::LayoutManager
37    @see com::sun::star::frame::XLayoutManagerEventBroadcaster
38
39    @since OpenOffice 2.0
40 */
41constants LayoutManagerEvents
42{
43	//-------------------------------------------------------------------------
44	/** specifies that the layout manager processed a lock call, which
45        prevents it from doing layouts.
46
47        <p>
48        This event sends the current lock count as additional
49        information.
50        </p>
51	 */
52    const short LOCK = 0;
53
54	//-------------------------------------------------------------------------
55	/** specifies that the layout manager processed an unlock call, which
56        admit layouts when the lock count is zero.
57
58        <p>
59        This event sends the current lock count as additional
60        information.
61        </p>
62	 */
63    const short UNLOCK = 1;
64
65	//-------------------------------------------------------------------------
66	/** specifies that the layout manager refreshed the layout of
67        the frame.
68
69        <p>
70        This event sends no additional information.
71        </p>
72	 */
73    const short LAYOUT = 2;
74
75	//-------------------------------------------------------------------------
76	/** specifies that the layout manager container frame window
77        becomes visible.
78
79        <p>
80        This event sends no additional information.
81        </p>
82	 */
83    const short VISIBLE = 3;
84
85	//-------------------------------------------------------------------------
86	/** specifies that the layout manager container frame window
87        becomes invisible.
88
89        <p>
90        This event sends no additional information.
91        </p>
92	 */
93    const short INVISIBLE = 4;
94
95	//-------------------------------------------------------------------------
96	/** A merged menu bar has been set at the layout manager.
97
98        <p>
99        This event sends no additional information.
100        </p>
101	 */
102    const short MERGEDMENUBAR = 5;
103
104	//-------------------------------------------------------------------------
105	/** specifies that a certain user interface element has been made
106        visible
107
108        <p>
109        This event sends the resource url of the newly visible user
110        interface element.
111        </p>
112	 */
113    const short UIELEMENT_VISIBLE = 6;
114
115	//-------------------------------------------------------------------------
116	/** specifies that a certain user interface element has been made
117        invisible
118
119        <p>
120        This event sends the resource url of the invisible user
121        interface element.
122        </p>
123	 */
124    const short UIELEMENT_INVISIBLE = 7;
125};
126
127}; }; }; };
128
129#endif
130