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

interface XModeChangeApproveListener
Base Interfaces
XModeChangeApproveListener
┗ ::com::sun::star::lang::XEventListener

::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.
Since
OOo 1.1.2
See also
XModeChangeBroadcaster

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