LibreOffice
LibreOffice 6.2 SDK API Reference
XExtendedToolkit.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 #ifndef __com_sun_star_awt_XExtendedToolkit_idl__
21 #define __com_sun_star_awt_XExtendedToolkit_idl__
22 
29 
30 
31 
32 module com { module sun { module star { module awt {
33 
34 
61 {
62 
70  long getTopWindowCount ();
71 
72 
86  ::com::sun::star::awt::XTopWindow getTopWindow ([in] long nIndex)
88 
89 
96  ::com::sun::star::awt::XTopWindow getActiveTopWindow ();
97 
110  void addTopWindowListener (
111  [in] ::com::sun::star::awt::XTopWindowListener xListener);
112 
113 
120  void removeTopWindowListener (
121  [in] ::com::sun::star::awt::XTopWindowListener xListener);
122 
123 
134  void addKeyHandler (
135  [in] ::com::sun::star::awt::XKeyHandler xHandler);
136 
137 
144  void removeKeyHandler (
145  [in] ::com::sun::star::awt::XKeyHandler xHandler);
146 
147 
158  void addFocusListener (
159  [in] ::com::sun::star::awt::XFocusListener xListener);
160 
161 
168  void removeFocusListener (
169  [in] ::com::sun::star::awt::XFocusListener xListener);
170 
171 
177  void fireFocusGained (
178  [in] ::com::sun::star::uno::XInterface source);
179 
180 
186  void fireFocusLost (
187  [in] ::com::sun::star::uno::XInterface source);
188 
189 };
190 
191 }; }; }; };
192 
193 #endif
194 
195 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
manages the functionality specific for a top window.
Definition: XTopWindow.idl:35
This exception is thrown to indicate that a container has been accessed with an illegal index...
Definition: IndexOutOfBoundsException.idl:34
This key handler is similar to com::sun::star::awt::XKeyListener but allows the consumption of key ev...
Definition: XKeyHandler.idl:39
Definition: Ambiguous.idl:22
The XExtendedToolkit is an extension of the com::sun::star::awt::XToolkit interface.
Definition: XExtendedToolkit.idl:60
makes it possible to receive window events.
Definition: XTopWindowListener.idl:35
base interface of all UNO interfaces
Definition: XInterface.idl:47
makes it possible to receive keyboard focus events.
Definition: XFocusListener.idl:36