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
|
|
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
.
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
Copyright 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.