xref: /aoo4110/main/offapi/com/sun/star/awt/UnoControl.idl (revision b1cdbd2c)
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_awt_UnoControl_idl__
24#define __com_sun_star_awt_UnoControl_idl__
25
26#ifndef __com_sun_star_lang_XComponent_idl__
27#include <com/sun/star/lang/XComponent.idl>
28#endif
29
30#ifndef __com_sun_star_awt_XControl_idl__
31#include <com/sun/star/awt/XControl.idl>
32#endif
33
34#ifndef __com_sun_star_awt_XWindow_idl__
35#include <com/sun/star/awt/XWindow.idl>
36#endif
37
38#ifndef __com_sun_star_awt_XView_idl__
39#include <com/sun/star/awt/XView.idl>
40#endif
41
42#ifndef __com_sun_star_accessibility_XAccessible_idl__
43#include <com/sun/star/accessibility/XAccessible.idl>
44#endif
45
46
47//=============================================================================
48
49 module com {  module sun {  module star {  module awt {
50
51//=============================================================================
52
53/** specifies an abstract control.
54
55	<p>All components which implement this service can
56	be integrated in a windowing environment. This service describes
57	the controller of the Smalltalk model view controller design.</p>
58
59	<p>You must set a model and a stub to the UnoControl before using
60	other methods.  The implementation only allows the change of the
61	graphics (<type>XView</type>) if the window is not visible. The
62	change of the graphics in visible state should redirect the output
63	to these graphics, but this behavior is implementation-specific.</p>
64
65	<p>The change of data directly at the control may not affect the
66	model data. To ensure this behavior, modify the data of the model.</p>
67 */
68published service UnoControl
69{
70	interface com::sun::star::lang::XComponent;
71
72	interface com::sun::star::awt::XControl;
73
74	interface com::sun::star::awt::XWindow;
75
76	interface com::sun::star::awt::XView;
77
78    /** provides access to the accessible context associated with this object.
79
80        @since OpenOffice 1.1.2
81     */
82    [optional] interface com::sun::star::accessibility::XAccessible;
83
84};
85
86//=============================================================================
87
88}; }; }; };
89
90#endif
91