LibreOffice
LibreOffice 24.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 
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 
62  com::sun::star::awt::Rectangle getPosSize();
63 
64 
67  void setVisible( [in] boolean Visible );
68 
69 
72  void setEnable( [in] boolean Enable );
73 
74 
77  void setFocus();
78 
79 
86  void addWindowListener( [in] com::sun::star::awt::XWindowListener xListener );
87 
88 
91  void removeWindowListener( [in] com::sun::star::awt::XWindowListener xListener );
92 
93 
96  void addFocusListener( [in] com::sun::star::awt::XFocusListener xListener );
97 
98 
101  void removeFocusListener( [in] com::sun::star::awt::XFocusListener xListener );
102 
103 
106  void addKeyListener( [in] com::sun::star::awt::XKeyListener xListener );
107 
108 
111  void removeKeyListener( [in] com::sun::star::awt::XKeyListener xListener );
112 
113 
116  void addMouseListener( [in] com::sun::star::awt::XMouseListener xListener );
117 
118 
121  void removeMouseListener( [in] com::sun::star::awt::XMouseListener xListener );
122 
123 
126  void addMouseMotionListener( [in] com::sun::star::awt::XMouseMotionListener xListener );
127 
128 
131  void removeMouseMotionListener( [in] com::sun::star::awt::XMouseMotionListener xListener );
132 
133 
136  void addPaintListener( [in] com::sun::star::awt::XPaintListener xListener );
137 
138 
141  void removePaintListener( [in] com::sun::star::awt::XPaintListener xListener );
142 
143 };
144 
145 
146 }; }; }; };
147 
148 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
makes it possible to receive window events.
Definition: XWindowListener.idl:32
specifies a rectangular area by position and size.
Definition: Rectangle.idl:27
allows to explicitly free resources and break cyclic references.
Definition: XComponent.idl:38
Definition: Ambiguous.idl:20
specifies the basic operations for a window component.
Definition: XWindow.idl:32
const short Y
Definition: Key.idl:135
makes it possible to receive mouse motion events on a window.
Definition: XMouseMotionListener.idl:27
const short X
specifies to strike out the characters with X's.
Definition: FontStrikeout.idl:64
makes it possible to receive events from the mouse in a certain window.
Definition: XMouseListener.idl:34
makes it possible to receive paint events.
Definition: XPaintListener.idl:27
makes it possible to receive keyboard events.
Definition: XKeyListener.idl:30
makes it possible to receive keyboard focus events.
Definition: XFocusListener.idl:30