(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: 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 breaked immediately. It's not allowed to catch it inside the close() request. If no listener nor internal processes hinder the object on closing all listener get's 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
[oneway] void
addCloseListener( [in] XCloseListener  Listener );

Description
adds the specified listener to receive or have a veto for "close" events
Parameter Listener
the listener wich is interest on closing events
removeCloseListener
[oneway] void
removeCloseListener( [in] XCloseListener  Listener );

Description
removes the specified listener
Parameter Listener
the listener wich isn't interest on closing events anylonger
Top of Page

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.