Overview | Module | Use | Devguide | Index

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

:: com :: sun :: star :: util ::
interface XCloseBroadcaster
Description broadcasts each tried closing of an object to all interest listener The called object for closing must post the closing events immediately and before any internal cancel operations will be started. If a listener disagree with that it should throw a CloseVetoException and called function XCloseable::close must be broken immediately. It's not allowed to catch it inside the close() request. If no listener nor internal processes hinder the object on closing all listeners get a notification about real closing. See also

Methods' Summary
addCloseListener | adds the specified listener to receive or have a veto for "close" events
removeCloseListener | removes the specified listener

Methods' Details
addCloseListener
void
addCloseListener( | [in] XCloseListener | Listener );
Description adds the specified listener to receive or have a veto for "close" events Parameter Listener the listener which is interest on closing events
removeCloseListener
void
removeCloseListener( | [in] XCloseListener | Listener );
Description removes the specified listener Parameter Listener the listener which isn't interest on closing events any longer

Top of Page

Copyright © 2000, 2014 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.