(incubating) | The Free and Open Productivity Suite
Announcing Apache OpenOffice 3.4

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

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

unpublished interface XUIElementSettings
Usage Restrictions
not published
Description
provides functions to retrieve and change user interface element structure data and to update its visible representation.
Since
OOo 2.0.0

Methods' Summary
updateSettings forces the user interface element to retrieve new settings from its configuration source.  
getSettings provides a UIElementSettings instance that provides access to the structure of user interface element if the user interface element type supports it.  
setSettings set changes to the structure of the user interface element.  
Methods' Details
updateSettings
void
updateSettings();

Description
forces the user interface element to retrieve new settings from its configuration source.

This is not done automatically as configurable user interface elements are controlled by layout managers. It is more efficient to let the responsible layout manager to control the update process in a single task.

getSettings
::com::sun::star::container::XIndexAccess
getSettings( [in] boolean  bWriteable );

Description
provides a UIElementSettings instance that provides access to the structure of user interface element if the user interface element type supports it.
Parameter bWriteable
must be true if the retrieved settings should be a writeable. Otherwise false should be provided to get a shareable reference to the settings data.
Returns
the current settings of the user interface element.
setSettings
void
setSettings( [in] ::com::sun::star::container::XIndexAccess  UISettings );

Description
set changes to the structure of the user interface element.
Parameter UISettings
new data settings for the configurable user interface element.

User interface elements cannot be changed directly. The changed structure data has to be set again. This speeds up the configuration process if many changes have to be made on the structure. The persistence of changes are controlled by the boolean property Persistent.

See also
UIElementSettings
Top of Page

Apache Feather

Copyright & License | Privacy | Contact Us

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

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.