LibreOffice LibreOffice 24.2 SDK API Reference

Loading...
Searching...
No Matches
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
20
21
22 module com { module sun { module star { module awt {
23
24
36published interface XControl: com::sun::star::lang::XComponent
37{
38
41 void setContext( [in] com::sun::star::uno::XInterface Context );
42
43
46 com::sun::star::uno::XInterface getContext();
47
48
54 void createPeer( [in] com::sun::star::awt::XToolkit Toolkit,
55 [in] com::sun::star::awt::XWindowPeer Parent );
56
57
60 com::sun::star::awt::XWindowPeer getPeer();
61
62
65 boolean setModel( [in] com::sun::star::awt::XControlModel Model );
66
67
70 com::sun::star::awt::XControlModel getModel();
71
72
75 com::sun::star::awt::XView getView();
76
77
82 void setDesignMode( [in] boolean bOn );
83
84
87 boolean isDesignMode();
88
89
92 boolean isTransparent();
93
94};
95
96
97}; }; }; };
98
99/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::awt::XControlModel
identifies a control model.
Definition XControlModel.idl:28
com::sun::star::awt::XControl
identifies a control.
Definition XControl.idl:37
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:30
com::sun::star::awt::XView
makes it possible to attach an output device to the object.
Definition XView.idl:30
com::sun::star::awt::XWindowPeer
gives access to the actual window implementation on the device.
Definition XWindowPeer.idl:30
com::sun::star::lang::XComponent
allows to explicitly free resources and break cyclic references.
Definition XComponent.idl:39
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition XInterface.idl:46
com
Definition Ambiguous.idl:20
com::sun::star::awt::Toolkit
describes a toolkit that creates windows on a screen.
Definition Toolkit.idl:30