Overview | Module | Use | Devguide | Index

Methods' Summary | Attributes' Summary | Methods' Details | Attributes' Details

:: 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
void
changingState( | [in] ::com::sun::star::lang::EventObject | aEvent,
| [in] long | nOldState,
| [in] long | nNewState )
raises( | WrongStateException );
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 © 2000, 2013 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.