LibreOffice
LibreOffice 7.4 SDK API Reference
XControl.idl
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
11  * Licensed to the Apache Software Foundation (ASF) under one or more
12  * contributor license agreements. See the NOTICE file distributed
13  * with this work for additional information regarding copyright
14  * ownership. The ASF licenses this file to you under the Apache
15  * License, Version 2.0 (the "License"); you may not use this file
16  * except in compliance with the License. You may obtain a copy of
17  * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18  */
19 #ifndef __com_sun_star_awt_XControl_idl__
20 #define __com_sun_star_awt_XControl_idl__
21 
23 
25 
27 
29 
31 
33 
34 
35 
36  module com { module sun { module star { module awt {
37 
38 
51 {
52 
56 
57 
61 
62 
70 
71 
75 
76 
80 
81 
85 
86 
90 
91 
96  void setDesignMode( [in] boolean bOn );
97 
98 
101  boolean isDesignMode();
102 
103 
106  boolean isTransparent();
107 
108 };
109 
110 
111 }; }; }; };
112 
113 #endif
114 
115 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
identifies a control model.
Definition: XControlModel.idl:32
identifies a control.
Definition: XControl.idl:51
com::sun::star::awt::XControlModel getModel()
returns the model for this control.
void createPeer([in] com::sun::star::awt::XToolkit Toolkit, [in] com::sun::star::awt::XWindowPeer Parent)
creates a "child" window on the screen.
com::sun::star::awt::XWindowPeer getPeer()
returns the peer which was previously created or set.
void setDesignMode([in] boolean bOn)
sets the design mode for use in a design editor.
boolean setModel([in] com::sun::star::awt::XControlModel Model)
sets a model for the control.
com::sun::star::awt::XView getView()
returns the view of this control.
boolean isDesignMode()
returns TRUE if the control is in design mode, FALSE otherwise.
void setContext([in] com::sun::star::uno::XInterface Context)
sets the context of the control.
boolean isTransparent()
returns TRUE if the control is transparent, FALSE otherwise.
com::sun::star::uno::XInterface getContext()
gets the context of the control.
specifies a factory interface for the window toolkit.
Definition: XToolkit.idl:46
makes it possible to attach an output device to the object.
Definition: XView.idl:38
gives access to the actual window implementation on the device.
Definition: XWindowPeer.idl:37
allows to explicitly free resources and break cyclic references.
Definition: XComponent.idl:43
base interface of all UNO interfaces
Definition: XInterface.idl:48
Definition: Ambiguous.idl:22
describes a toolkit that creates windows on a screen.
Definition: Toolkit.idl:34