interface XBoundComponent in module com::sun::star::form::

(Global Index)

Syntax

interface XBoundComponent : com::sun::star::form::XUpdateBroadcaster ;

Description

makes it possible to connect a data-aware component to a data source.

It provides the possibility of committing its respective data to a data source. A commit will be performed by the environment. 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 "UpdateListener" rejects the commitment of data.

See also

XUpdateListener

Method Summary

commit triggers the update of the bound data source.

Known Services Which Export this Interface

com::sun::star::form::DataAwareControlModel

com::sun::star::form::control::GridControl

Method Details



commit

Syntax

boolean commit ();

Description

triggers the update of the bound data source.

Returns

true when the commitment was successful, otherwise false .
Top of Page