Overview | Module | Use | Devguide | Index

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

:: com :: sun :: star :: util ::
unpublished | interface XLockable |
Usage Restrictions not published Description allows locking a component `lock` and `unlock` calls can be nested. However, they must be in pairs. As long as there has been one more call to `lock` than to `unlock`, the component is considered locked, which is reflected by isLocked returning true.

Methods' Summary
lock | locks the component
unlock | unlocks the component
isLocked | determines whether the component is currently locked.

Methods' Details
lock
void
lock();
Description locks the component See also unlock, isLocked
unlock
void
unlock()
raises( | NotLockedException );
Description unlocks the component Throws NotLockedException if the component is not currently locked. See also lock, isLocked
isLocked
boolean
isLocked();
Description determines whether the component is currently locked. See also lock, unlock

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.