(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 :: form ::

interface XBoundComponent
Base Interfaces
XBoundComponentXUpdateBroadcaster

XUpdateBroadcaster
(referenced interface's summary:)
is the broadcaster interface for sending "approveUpdate" and "updated" events.
Description
specifies a (form) component which is bound to a data source.

The interface provides the possibility of committing its respective data to a data source it is bound to. A commit will be performed by the environment (usually, a FormController).
For example, suppose you have a data-bound control that is connected to a database field. Each time the control loses its focus, the model (component) of the control is triggered by the environment to store its value in the database field.

A commit may fail if an XUpdateListener vetoes the it.

See also
XUpdateListener
Developers Guide
Forms - Committing Controls

Methods' Summary
commit commits the content of the component into the data source it is bound to.  
Methods' Details
commit
boolean
commit();

Description
commits the content of the component into the data source it is bound to.
Returns
true when the commitment was successful, otherwise false.
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.