LibreOffice
LibreOffice 7.2 SDK API Reference
XWindow.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_XWindow_idl__
20 #define __com_sun_star_awt_XWindow_idl__
21 
23 
25 
27 
29 
31 
33 
35 
37 
38 
39 
40  module com { module sun { module star { module awt {
41 
42 
51 {
52 
71  void setPosSize( [in] long X,
72  [in] long Y,
73  [in] long Width,
74  [in] long Height,
75  [in] short Flags );
76 
77 
81 
82 
85  void setVisible( [in] boolean Visible );
86 
87 
90  void setEnable( [in] boolean Enable );
91 
92 
95  void setFocus();
96 
97 
105 
106 
110 
111 
115 
116 
120 
121 
125 
126 
130 
131 
135 
136 
140 
141 
145 
146 
150 
151 
155 
156 
160 
161 };
162 
163 
164 }; }; }; };
165 
166 #endif
167 
168 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
makes it possible to receive keyboard focus events.
Definition: XFocusListener.idl:37
makes it possible to receive keyboard events.
Definition: XKeyListener.idl:37
makes it possible to receive events from the mouse in a certain window.
Definition: XMouseListener.idl:41
makes it possible to receive mouse motion events on a window.
Definition: XMouseMotionListener.idl:34
makes it possible to receive paint events.
Definition: XPaintListener.idl:34
makes it possible to receive window events.
Definition: XWindowListener.idl:41
specifies the basic operations for a window component.
Definition: XWindow.idl:51
void removeMouseListener([in] com::sun::star::awt::XMouseListener xListener)
removes the specified mouse listener from the listener list.
void addMouseListener([in] com::sun::star::awt::XMouseListener xListener)
adds a mouse listener to the object.
void removeMouseMotionListener([in] com::sun::star::awt::XMouseMotionListener xListener)
removes the specified mouse motion listener from the listener list.
void setFocus()
sets the focus to the window.
void addFocusListener([in] com::sun::star::awt::XFocusListener xListener)
adds a focus listener to the object.
void removePaintListener([in] com::sun::star::awt::XPaintListener xListener)
removes the specified paint listener from the listener list.
void removeFocusListener([in] com::sun::star::awt::XFocusListener xListener)
removes the specified focus listener from the listener list.
void removeKeyListener([in] com::sun::star::awt::XKeyListener xListener)
removes the specified key listener from the listener list.
void addKeyListener([in] com::sun::star::awt::XKeyListener xListener)
adds a key listener to the object.
void removeWindowListener([in] com::sun::star::awt::XWindowListener xListener)
removes the specified window listener from the listener list.
void addPaintListener([in] com::sun::star::awt::XPaintListener xListener)
adds a paint listener to the object.
void setPosSize([in] long X, [in] long Y, [in] long Width, [in] long Height, [in] short Flags)
sets the outer bounds of the window.
void setEnable([in] boolean Enable)
enables or disables the window depending on the parameter.
void addMouseMotionListener([in] com::sun::star::awt::XMouseMotionListener xListener)
adds a mouse motion listener to the object.
void addWindowListener([in] com::sun::star::awt::XWindowListener xListener)
adds a window listener to the object.
void setVisible([in] boolean Visible)
shows or hides the window depending on the parameter.
com::sun::star::awt::Rectangle getPosSize()
returns the outer bounds of the window.
allows to explicitly free resources and break cyclic references.
Definition: XComponent.idl:43
const short X
specifies to strike out the characters with X's.
Definition: FontStrikeout.idl:66
const short Y
Definition: Key.idl:135
Definition: Ambiguous.idl:22
specifies a rectangular area by position and size.
Definition: Rectangle.idl:30