Overview | Module | Use | Devguide | Index

Methods' Summary | Methods' Details | Attributes' Summary | Attributes' Details

:: com :: sun :: star :: form ::
interface XUpdateListener
  Base Hierarchy
      ::com::sun::star::uno::XInterface
       |
       +-::com::sun::star::lang::XEventListener
          |
          +-XUpdateListener
Description used to listen on objects which allow updating their data. In addition to just get notified when an data update happened, the listener has a chance to veto updates before they happen. See also XUpdateBroadcaster

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.

Methods' Details
approveUpdate
boolean approveUpdate( | [in] ::com::sun::star::lang::EventObject | aEvent );
Description is invoked to check the current data. For a given update process, if one of the XUpdateListener s vetos the change, the update is canceled, and no further notification happens. Parameter aEvent An event dedscriptor specifying the broadcaster of the change. 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. Parameter aEvent A event dedscriptor specifying the broadcaster of the change.

Top of Page

Copyright © 2003 Sun Microsystems, Inc.