LibreOffice
LibreOffice 5.3 SDK API Reference
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
XLockable Interface Reference

allows locking a component More...

import "XLockable.idl";

Inheritance diagram for XLockable:
XUndoManager

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

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

boolean isLocked ( )

determines whether the component is currently locked.

See Also
lock
unlock
void lock ( )

locks the component

See Also
unlock
isLocked
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: