LibreOffice: com/sun/star/ui/XContextChangeEventMultiplexer.idl Source File

LibreOffice LibreOffice 26.2 SDK API Reference

Loading...
Searching...
No Matches
XContextChangeEventMultiplexer.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
20module com { module sun { module star { module ui {
21
31 interface XContextChangeEventMultiplexer : ::com::sun::star::uno::XInterface
32{
57 void addContextChangeEventListener (
58 [in] com::sun::star::ui::XContextChangeEventListener xListener,
59 [in] com::sun::star::uno::XInterface xEventFocus)
60 raises (com::sun::star::lang::IllegalArgumentException);
61
79 void removeContextChangeEventListener (
80 [in] com::sun::star::ui::XContextChangeEventListener xListener,
81 [in] com::sun::star::uno::XInterface xEventFocus)
82 raises (com::sun::star::lang::IllegalArgumentException);
83
93 void removeAllContextChangeEventListeners (
94 [in] com::sun::star::ui::XContextChangeEventListener xListener)
95 raises (com::sun::star::lang::IllegalArgumentException);
96
97
100 void broadcastContextChangeEvent (
101 [in] com::sun::star::ui::ContextChangeEventObject aEvent,
102 [in] com::sun::star::uno::XInterface xEventFocus);
103} ;
104
105} ; } ; } ; } ;
106
107/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::lang::IllegalArgumentException
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument.
Definition IllegalArgumentException.idl:27
com::sun::star::ui::XContextChangeEventListener
Definition XContextChangeEventListener.idl:23
com::sun::star::ui::XContextChangeEventMultiplexer
Provide a central access point for a group of events.
Definition XContextChangeEventMultiplexer.idl:32
com::sun::star::ui::XContextChangeEventMultiplexer::broadcastContextChangeEvent
void broadcastContextChangeEvent([in] com::sun::star::ui::ContextChangeEventObject aEvent, [in] com::sun::star::uno::XInterface xEventFocus)
Call all event listeners that were added for the specified event focus.
com::sun::star::ui::XContextChangeEventMultiplexer::removeAllContextChangeEventListeners
void removeAllContextChangeEventListeners([in] com::sun::star::ui::XContextChangeEventListener xListener)
Remove an event listener for all event foci.
com::sun::star::ui::XContextChangeEventMultiplexer::addContextChangeEventListener
void addContextChangeEventListener([in] com::sun::star::ui::XContextChangeEventListener xListener, [in] com::sun::star::uno::XInterface xEventFocus)
Add an event listener that is called only when events are broadcast for the specified event focus.
com::sun::star::ui::XContextChangeEventMultiplexer::removeContextChangeEventListener
void removeContextChangeEventListener([in] com::sun::star::ui::XContextChangeEventListener xListener, [in] com::sun::star::uno::XInterface xEventFocus)
Remove an event listener for the specified event focus.
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition XInterface.idl:46
com
Definition Ambiguous.idl:20
com::sun::star::ui::ContextChangeEventObject
Definition ContextChangeEventObject.idl:23