LibreOffice
LibreOffice 24.2 SDK API Reference
|
allows locking a component More...
import"XLockable.idl";
Public Member Functions | |
void | lock () |
locks the component More... | |
void | unlock () raises ( NotLockedException ) |
unlocks the component More... | |
boolean | isLocked () |
determines whether the component is currently locked. More... | |
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
.
void unlock | ( | ) | ||
raises | ( | NotLockedException | ||
) |
unlocks the component
NotLockedException | if the component is not currently locked. |