Overview | Module | Use | Devguide | Index

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

:: com :: sun :: star :: form ::
interface XUpdateListener
  Base Interfaces
      XUpdateListener
      ┗ ::com::sun::star::lang::XEventListener
  ::com::sun::star::lang::XEventListener | (referenced interface's summary:) base interface for all event listeners interfaces.
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 XUpdateListeners vetoes the change, the update is canceled, and no further notification happens. Parameter aEvent An event descriptor 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 descriptor specifying the broadcaster of the change.

Top of Page

Copyright © 2000, 2013 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.