LibreOffice: com/sun/star/awt/XControl.idl Source File

LibreOffice LibreOffice 7.2 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
22#include <com/sun/star/lang/XComponent.idl>
23
24#include <com/sun/star/uno/XInterface.idl>
25
26#include <com/sun/star/awt/XToolkit.idl>
27
28#include <com/sun/star/awt/XWindowPeer.idl>
29
30#include <com/sun/star/awt/XControlModel.idl>
31
32#include <com/sun/star/awt/XView.idl>
33
34
35
36 module com { module sun { module star { module awt {
37
38
50published interface XControl: com::sun::star::lang::XComponent
51{
52
55 void setContext( [in] com::sun::star::uno::XInterface Context );
56
57
60 com::sun::star::uno::XInterface getContext();
61
62
68 void createPeer( [in] com::sun::star::awt::XToolkit Toolkit,
69 [in] com::sun::star::awt::XWindowPeer Parent );
70
71
74 com::sun::star::awt::XWindowPeer getPeer();
75
76
79 boolean setModel( [in] com::sun::star::awt::XControlModel Model );
80
81
84 com::sun::star::awt::XControlModel getModel();
85
86
89 com::sun::star::awt::XView getView();
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: */
XComponent.idl
XControlModel.idl
XInterface.idl
XToolkit.idl
XWindowPeer.idl
XView.idl
com::sun::star::awt::XControlModel
identifies a control model.
Definition: XControlModel.idl:32
com::sun::star::awt::XControl
identifies a control.
Definition: XControl.idl:51
com::sun::star::awt::XControl::getModel
com::sun::star::awt::XControlModel getModel()
returns the model for this control.
com::sun::star::awt::XControl::createPeer
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::XControl::getPeer
com::sun::star::awt::XWindowPeer getPeer()
returns the peer which was previously created or set.
com::sun::star::awt::XControl::setDesignMode
void setDesignMode([in] boolean bOn)
sets the design mode for use in a design editor.
com::sun::star::awt::XControl::setModel
boolean setModel([in] com::sun::star::awt::XControlModel Model)
sets a model for the control.
com::sun::star::awt::XControl::getView
com::sun::star::awt::XView getView()
returns the view of this control.
com::sun::star::awt::XControl::isDesignMode
boolean isDesignMode()
returns TRUE if the control is in design mode, FALSE otherwise.
com::sun::star::awt::XControl::setContext
void setContext([in] com::sun::star::uno::XInterface Context)
sets the context of the control.
com::sun::star::awt::XControl::isTransparent
boolean isTransparent()
returns TRUE if the control is transparent, FALSE otherwise.
com::sun::star::awt::XControl::getContext
com::sun::star::uno::XInterface getContext()
gets the context of the control.
com::sun::star::awt::XToolkit
specifies a factory interface for the window toolkit.
Definition: XToolkit.idl:46
com::sun::star::awt::XView
makes it possible to attach an output device to the object.
Definition: XView.idl:38
com::sun::star::awt::XWindowPeer
gives access to the actual window implementation on the device.
Definition: XWindowPeer.idl:37
com::sun::star::lang::XComponent
allows to explicitly free resources and break cyclic references.
Definition: XComponent.idl:43
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition: XInterface.idl:48
com
Definition: Ambiguous.idl:22
com::sun::star::awt::Toolkit
describes a toolkit that creates windows on a screen.
Definition: Toolkit.idl:34