LibreOffice
LibreOffice 24.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 
21 
22 module com { module sun { module star { module awt {
23 
24 
51 {
52 
60  long getTopWindowCount ();
61 
62 
76  ::com::sun::star::awt::XTopWindow getTopWindow ([in] long nIndex)
78 
79 
86  ::com::sun::star::awt::XTopWindow getActiveTopWindow ();
87 
100  void addTopWindowListener (
101  [in] ::com::sun::star::awt::XTopWindowListener xListener);
102 
103 
110  void removeTopWindowListener (
111  [in] ::com::sun::star::awt::XTopWindowListener xListener);
112 
113 
124  void addKeyHandler (
125  [in] ::com::sun::star::awt::XKeyHandler xHandler);
126 
127 
134  void removeKeyHandler (
135  [in] ::com::sun::star::awt::XKeyHandler xHandler);
136 
137 
148  void addFocusListener (
149  [in] ::com::sun::star::awt::XFocusListener xListener);
150 
151 
158  void removeFocusListener (
159  [in] ::com::sun::star::awt::XFocusListener xListener);
160 
161 
167  void fireFocusGained (
168  [in] ::com::sun::star::uno::XInterface source);
169 
170 
176  void fireFocusLost (
177  [in] ::com::sun::star::uno::XInterface source);
178 
179 };
180 
181 }; }; }; };
182 
183 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
manages the functionality specific for a top window.
Definition: XTopWindow.idl:27
This exception is thrown to indicate that a container has been accessed with an illegal index...
Definition: IndexOutOfBoundsException.idl:30
This key handler is similar to com::sun::star::awt::XKeyListener but allows the consumption of key ev...
Definition: XKeyHandler.idl:32
Definition: Ambiguous.idl:20
The XExtendedToolkit is an extension of the com::sun::star::awt::XToolkit interface.
Definition: XExtendedToolkit.idl:50
makes it possible to receive window events.
Definition: XTopWindowListener.idl:29
base interface of all UNO interfaces
Definition: XInterface.idl:45
makes it possible to receive keyboard focus events.
Definition: XFocusListener.idl:30