LibreOffice
LibreOffice 25.2 SDK API Reference
 
Loading...
Searching...
No Matches
XLockable Interface Reference

allows locking a component More...

import "XLockable.idl";

Inheritance diagram for XLockable:
XUndoManager

Public Member Functions

void lock ()
 locks the component
 
void unlock () raises ( NotLockedException )
 unlocks the component
 
boolean isLocked ()
 determines whether the component is currently locked.
 

Detailed 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.

Member Function Documentation

◆ isLocked()

boolean isLocked ( )

determines whether the component is currently locked.

See also
lock
unlock

◆ lock()

void lock ( )

locks the component

See also
unlock
isLocked

◆ unlock()

void unlock ( )
raises (NotLockedException )

unlocks the component

Exceptions
NotLockedExceptionif the component is not currently locked.
See also
lock
isLocked

The documentation for this interface was generated from the following file: