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

interface XModeChangeApproveListener
Base Hierarchy
::com::sun::star::uno::XInterface
 |
 +-::com::sun::star::lang::XEventListener
    |
    +-XModeChangeApproveListener
Description
allows to veto changes in an object's internal mode.
See also
XModeChangeBroadcaster
Since version
OpenOffice.org 1.1

Methods' Summary
approveModeChange indicates that the mode of the broadcasting component is about to change.
Methods' Details
approveModeChange
void
approveModeChange(
 
[in] ModeChangeEvent 

raises(

 
_rSource ) 
VetoException );

Description
indicates that the mode of the broadcasting component is about to change.

The ModeChangeEvent::NewMode indicates the new mode which is to be set on the component

Throws
VetoException when the mode change is vetoed
Top of Page