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

interface XModeChangeApproveListener
Base Interfaces
::com::sun::star::uno::XInterface
  |  
  +--::com::sun::star::lang::XEventListener
       |  
       +--XModeChangeApproveListener
::com::sun::star::lang::XEventListener
(referenced interface's summary:)
base interface for all event listeners interfaces.
Description
allows to veto changes in an object's internal mode.
See also
XModeChangeBroadcaster
Since
OpenOffice 1.1.2

Methods' Summary
approveModeChange indicates that the mode of the broadcasting component is about to change.  
Methods' Details
approveModeChange
void
approveModeChange( [in] ModeChangeEvent  _rSource )
raises( 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