1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
22 module com
{ module sun
{ module star
{ module frame
{
24 /** these are the events which can happen to the components in frames
28 Interest listener can get information about loaded/reloaded or unloaded
29 components into a Frame.
33 @see XFrameActionListener
36 published
enum FrameAction
38 /** an event of this kind is broadcast whenever a component is
42 This is almost the same as the instantiation of the component
43 within that frame. The component is attached to the frame
44 immediately before this event is broadcast.
47 @see XFrame::setComponent()
51 /** an event of this kind is broadcast whenever a component is
52 detaching from a frame
55 This is quite the same as the destruction of the component
56 which was in that frame. At the moment when the event is broadcast
57 the component is still attached to the frame but in the next
61 @see XFrame::setComponent()
65 /** an event of this kind is broadcast whenever a component is
66 attached to a new model.
69 In this case the component remains the same but operates
70 on a new model component.
75 /** an event of this kind is broadcast whenever a component gets
79 Activations are broadcast from the top component which was
80 not active before, down to the inner most component.
83 @see XFrame::activate()
87 /** an event of this kind is broadcasted immediately before the
88 component is deactivated
91 Deactivations are broadcast from the innermost component which
92 does not stay active up to the outer most component which does not
96 @see XFrame::deactivate()
100 /** an event of this kind is broadcast whenever a component changes
101 its internal context (i.e., the selection).
104 If the activation status within a frame changes, this counts as
105 a context change too.
108 @see XFrame::contextChanged()
112 /** an event of this kind is broadcast by an active frame when it
113 is getting UI control (tool control).
115 @see XFrame::activate()
119 /** an event of this kind is broadcast by an active frame when it
120 is losing UI control (tool control).
122 @see XFrame::deactivate()
124 FRAME_UI_DEACTIVATING
130 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */