Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: ui ::

interface XUIConfiguration
Description
supports to notify other implementations about changes of a user interface configuration manager.

The XUIConfiguration interface is provided for user interface configuration managers which need to broadcast changes within the container; that means the actions of adding, replacing and removing elements are broadcast to listeners.

This can be useful for UI to enable/disable some functions without actually accessing the data.

Since
OOo 2.0

Methods' Summary
addConfigurationListener adds the specified listener to receive events when elements are changed, inserted or removed.  
removeConfigurationListener removes the specified listener so it does not receive any events from this user interface configuration manager.  
Methods' Details
addConfigurationListener
void
addConfigurationListener( [in] XUIConfigurationListener  Listener );

Description
adds the specified listener to receive events when elements are changed, inserted or removed.

It is suggested to allow multiple registration of the same listener, thus for each time a listener is added, it has to be removed.

See also
XUIConfigurationListener

removeConfigurationListener
void
removeConfigurationListener( [in] XUIConfigurationListener  Listener );

Description
removes the specified listener so it does not receive any events from this user interface configuration manager.

It is suggested to allow multiple registration of the same listener, thus for each time a listener is added, it has to be removed.

See also
XUIConfigurationListener

Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.