LibreOffice
LibreOffice 6.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 
80  com::sun::star::awt::Rectangle getPosSize();
81 
82 
85  void setVisible( [in] boolean Visible );
86 
87 
90  void setEnable( [in] boolean Enable );
91 
92 
95  void setFocus();
96 
97 
104  void addWindowListener( [in] com::sun::star::awt::XWindowListener xListener );
105 
106 
109  void removeWindowListener( [in] com::sun::star::awt::XWindowListener xListener );
110 
111 
114  void addFocusListener( [in] com::sun::star::awt::XFocusListener xListener );
115 
116 
119  void removeFocusListener( [in] com::sun::star::awt::XFocusListener xListener );
120 
121 
124  void addKeyListener( [in] com::sun::star::awt::XKeyListener xListener );
125 
126 
129  void removeKeyListener( [in] com::sun::star::awt::XKeyListener xListener );
130 
131 
134  void addMouseListener( [in] com::sun::star::awt::XMouseListener xListener );
135 
136 
139  void removeMouseListener( [in] com::sun::star::awt::XMouseListener xListener );
140 
141 
144  void addMouseMotionListener( [in] com::sun::star::awt::XMouseMotionListener xListener );
145 
146 
149  void removeMouseMotionListener( [in] com::sun::star::awt::XMouseMotionListener xListener );
150 
151 
154  void addPaintListener( [in] com::sun::star::awt::XPaintListener xListener );
155 
156 
159  void removePaintListener( [in] com::sun::star::awt::XPaintListener xListener );
160 
161 };
162 
163 
164 }; }; }; };
165 
166 #endif
167 
168 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
makes it possible to receive window events.
Definition: XWindowListener.idl:40
specifies a rectangular area by position and size.
Definition: Rectangle.idl:29
allows to explicitly free resources and break cyclic references.
Definition: XComponent.idl:42
Definition: Ambiguous.idl:22
specifies the basic operations for a window component.
Definition: XWindow.idl:50
const short Y
Definition: Key.idl:135
makes it possible to receive mouse motion events on a window.
Definition: XMouseMotionListener.idl:33
const short X
specifies to strike out the characters with X's.
Definition: FontStrikeout.idl:66
makes it possible to receive events from the mouse in a certain window.
Definition: XMouseListener.idl:33
makes it possible to receive paint events.
Definition: XPaintListener.idl:33
makes it possible to receive keyboard events.
Definition: XKeyListener.idl:33
makes it possible to receive keyboard focus events.
Definition: XFocusListener.idl:36