LibreOffice LibreOffice 25.8 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
32published interface XWindow: com::sun::star::lang::XComponent
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: */
com::sun::star::awt::XFocusListener
makes it possible to receive keyboard focus events.
Definition: XFocusListener.idl:31
com::sun::star::awt::XKeyListener
makes it possible to receive keyboard events.
Definition: XKeyListener.idl:35
com::sun::star::awt::XMouseListener
makes it possible to receive events from the mouse in a certain window.
Definition: XMouseListener.idl:40
com::sun::star::awt::XMouseMotionListener
makes it possible to receive mouse motion events on a window.
Definition: XMouseMotionListener.idl:34
com::sun::star::awt::XPaintListener
makes it possible to receive paint events.
Definition: XPaintListener.idl:28
com::sun::star::awt::XWindowListener
makes it possible to receive window events.
Definition: XWindowListener.idl:33
com::sun::star::awt::XWindow
specifies the basic operations for a window component.
Definition: XWindow.idl:33
com::sun::star::awt::XWindow::removeMouseListener
void removeMouseListener([in] com::sun::star::awt::XMouseListener xListener)
removes the specified mouse listener from the listener list.
com::sun::star::awt::XWindow::addMouseListener
void addMouseListener([in] com::sun::star::awt::XMouseListener xListener)
adds a mouse listener to the object.
com::sun::star::awt::XWindow::removeMouseMotionListener
void removeMouseMotionListener([in] com::sun::star::awt::XMouseMotionListener xListener)
removes the specified mouse motion listener from the listener list.
com::sun::star::awt::XWindow::setFocus
void setFocus()
sets the focus to the window.
com::sun::star::awt::XWindow::addFocusListener
void addFocusListener([in] com::sun::star::awt::XFocusListener xListener)
adds a focus listener to the object.
com::sun::star::awt::XWindow::removePaintListener
void removePaintListener([in] com::sun::star::awt::XPaintListener xListener)
removes the specified paint listener from the listener list.
com::sun::star::awt::XWindow::removeFocusListener
void removeFocusListener([in] com::sun::star::awt::XFocusListener xListener)
removes the specified focus listener from the listener list.
com::sun::star::awt::XWindow::removeKeyListener
void removeKeyListener([in] com::sun::star::awt::XKeyListener xListener)
removes the specified key listener from the listener list.
com::sun::star::awt::XWindow::addKeyListener
void addKeyListener([in] com::sun::star::awt::XKeyListener xListener)
adds a key listener to the object.
com::sun::star::awt::XWindow::removeWindowListener
void removeWindowListener([in] com::sun::star::awt::XWindowListener xListener)
removes the specified window listener from the listener list.
com::sun::star::awt::XWindow::addPaintListener
void addPaintListener([in] com::sun::star::awt::XPaintListener xListener)
adds a paint listener to the object.
com::sun::star::awt::XWindow::setPosSize
void setPosSize([in] long X, [in] long Y, [in] long Width, [in] long Height, [in] short Flags)
sets the outer bounds of the window.
com::sun::star::awt::XWindow::setEnable
void setEnable([in] boolean Enable)
enables or disables the window depending on the parameter.
com::sun::star::awt::XWindow::addMouseMotionListener
void addMouseMotionListener([in] com::sun::star::awt::XMouseMotionListener xListener)
adds a mouse motion listener to the object.
com::sun::star::awt::XWindow::addWindowListener
void addWindowListener([in] com::sun::star::awt::XWindowListener xListener)
adds a window listener to the object.
com::sun::star::awt::XWindow::setVisible
void setVisible([in] boolean Visible)
shows or hides the window depending on the parameter.
com::sun::star::awt::XWindow::getPosSize
com::sun::star::awt::Rectangle getPosSize()
returns the outer bounds of the window.
com::sun::star::lang::XComponent
allows to explicitly free resources and break cyclic references.
Definition: XComponent.idl:39
com::sun::star::awt::FontStrikeout::X
const short X
specifies to strike out the characters with X's.
Definition: FontStrikeout.idl:64
com::sun::star::awt::Key::Y
const short Y
Definition: Key.idl:135
com
Definition: Ambiguous.idl:20
com::sun::star::awt::Rectangle
specifies a rectangular area by position and size.
Definition: Rectangle.idl:28