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

(Global Index)

Syntax

interface XUpdateListener : com::sun::star::lang::XEventListener ;

Description

receives "approveUpdate" and "updated" events posted by objects which allow controlling the updating of its data.

"approveUpdate" may be used to abort the updating of the current data record. The events are posted in the following order:
"changing data" -> approveUpdate -> "do update" -> updated

Method Summary

approveUpdate is invoked to check the current data.

updated is invoked when an object has finished processing the updates and the data has been successfully written to the data source.

Method Details



approveUpdate

Syntax

boolean approveUpdate (
com::sun::star::lang::EventObject aEvent );

Description

is invoked to check the current data.

Parameter aEvent

the event happend.

Returns

true when the update was approved, otherwise false .

updated

Syntax

void updated (
com::sun::star::lang::EventObject aEvent );

Description

is invoked when an object has finished processing the updates and the data has been successfully written to the data source.

Parameter aEvent

the event happend.
Top of Page