Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: util ::

interface XLockable
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

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.