Top   Module   Use   Manual   Index 
 EXPORTING SERVICES | METHODS' SUMMARY | METHODS' DETAILS 

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

interface XUpdateListener

Base Interface
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



Methods' 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.

Methods' Details

approveUpdate
 
boolean
approveUpdate(
[ in ] 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
 
void
updated(
[ in ] 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