1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*************************************************************************
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6 * Copyright 2000, 2010 Oracle and/or its affiliates.
8 * OpenOffice.org - a multi-platform office productivity suite
10 * This file is part of OpenOffice.org.
12 * OpenOffice.org is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU Lesser General Public License version 3
14 * only, as published by the Free Software Foundation.
16 * OpenOffice.org is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU Lesser General Public License version 3 for more details
20 * (a copy is included in the LICENSE file that accompanied this code).
22 * You should have received a copy of the GNU Lesser General Public License
23 * version 3 along with OpenOffice.org. If not, see
24 * <http://www.openoffice.org/license.html>
25 * for a copy of the LGPLv3 License.
27 ************************************************************************/
28 #ifndef __com_sun_star_awt_UnoControl_idl__
29 #define __com_sun_star_awt_UnoControl_idl__
31 #include
<com
/sun
/star
/lang
/XComponent.idl
>
32 #include
<com
/sun
/star
/awt
/XControl.idl
>
33 #include
<com
/sun
/star
/awt
/XWindow.idl
>
34 #include
<com
/sun
/star
/awt
/XView.idl
>
35 #include
<com
/sun
/star
/accessibility
/XAccessible.idl
>
38 //=============================================================================
40 module com
{ module sun
{ module star
{ module awt
{
42 //=============================================================================
44 /** specifies an abstract control.
46 <p>All components which implement this service can
47 be integrated in a windowing environment. This service describes
48 the controller of the Smalltalk model view controller design.</p>
50 <p>You must set a model and a stub to the UnoControl before using
51 other methods. The implementation only allows the change of the
52 graphics (<type>XView</type>) if the window is not visible. The
53 change of the graphics in visible state should redirect the output
54 to these graphics, but this behavior is implementation-specific.</p>
56 <p>The change of data directly at the control may not affect the
57 model data. To ensure this behavior, modify the data of the model.</p>
59 published service UnoControl
61 interface com
::sun
::star
::lang
::XComponent
;
63 interface com
::sun
::star
::awt
::XControl
;
65 interface com
::sun
::star
::awt
::XWindow
;
67 interface com
::sun
::star
::awt
::XView
;
69 /** provides access to the accessible context associated with this object.
73 [optional] interface com
::sun
::star
::accessibility
::XAccessible
;
77 //=============================================================================
83 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */