Language
Asturianu (ast)
Català (ca)
Čeština (cs)
Dansk (da)
Deutsch (de)
English [US] (en-US)
Español (es)
Esperanto (eo)
Eesti keel (et)
Euskara (eu)
Français (fr)
Gàidhlig (gd)
Galego (gl)
Italiano (it)
Lietuvių (lt)
Magyar (hu)
Nederlands (nl)
Norsk (no)
Polski (pl)
Português [do Brasil] (pt-BR)
Português [Europeu] (pt)
Română (ro)
Slovenčina (sk)
Slovenščina (sl)
Suomi (fi)
Svenska (sv)
Tiếng Việt (vi)
Türkçe (tr)
Հայերեն (hy)
Ελληνικά (el)
български език (bg)
Русский (ru)
Cрпски [ћирилицом] (sr)
עברית (he)
हिन्दी (hi)
ភាសាខ្មែរ (km)
தமிழ் (ta)
ภาษาไทย (th)
简体中文 (zh-CN)
正體中文 (zh-TW)
日本語 (ja)
한국어 (ko)
The Free and Open Productivity Suite
:: com :: sun :: star :: embed ::
interface XStateChangeListener
Base Interfaces
XStateChangeListener
┗ ::com::sun::star::lang ::XEventListener
::com::sun::star::lang ::XEventListener
(referenced interface's summary:)
base interface for all event listeners interfaces.
Description
makes it possible to receive events when an embedded object changes it's
state.
Methods' Summary
changingState
is called just before the object changes state.
stateChanged
is called after the object has changed state.
Methods' Details
changingState
Description
is called just before the object changes state.
Actually the listener can try to complain about state changing, but
it is up to object to decide whether the state change can be
prevented. Anyway the possibility to complain must be used very
carefully.
Parameter aEvent
specifies the object that is going to change own state
Parameter nOldState
specifies the old state of the object
Parameter nNewState
specifies the new state of the object
Throws
::com::sun::star::embed::WrongStateException
the state change is unexpected by listener
stateChanged
void
stateChanged (
[in] ::com::sun::star::lang ::EventObject
aEvent,
[in] long
nOldState,
[in] long
nNewState );
Description
is called after the object has changed state.
Parameter aEvent
specifies the object that has changed own state
Parameter nOldState
specifies the old state of the object
Parameter nNewState
specifies the new state of the object
Top of Page Copyright © 2013, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.