LibreOffice
LibreOffice 25.2 SDK API Reference
 
Loading...
Searching...
No Matches
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
20
21
22 module com { module sun { module star { module awt {
23
24
33{
34
53 void setPosSize( [in] long X,
54 [in] long Y,
55 [in] long Width,
56 [in] long Height,
57 [in] short Flags );
58
59
63
64
67 void setVisible( [in] boolean Visible );
68
69
72 void setEnable( [in] boolean Enable );
73
74
77 void setFocus();
78
79
87
88
92
93
97
98
102
103
107
108
112
113
117
118
122
123
127
128
132
133
137
138
142
143};
144
145
146}; }; }; };
147
148/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
makes it possible to receive keyboard focus events.
Definition XFocusListener.idl:31
makes it possible to receive keyboard events.
Definition XKeyListener.idl:35
makes it possible to receive events from the mouse in a certain window.
Definition XMouseListener.idl:40
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:28
makes it possible to receive window events.
Definition XWindowListener.idl:33
specifies the basic operations for a window component.
Definition XWindow.idl:33
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:39
Definition Ambiguous.idl:20
specifies a rectangular area by position and size.
Definition Rectangle.idl:28