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

interface XModeChangeBroadcaster

Methods' Summary
addModeChangeListener adds the given listener to the list of components to be notified when the mode changes.  
removeModeChangeListener removes the given listener from the list of components to be notified when the mode changes.  
addModeChangeApproveListener adds the given listener to the list of components to be notified when the mode is about to change.  
removeModeChangeApproveListener remove the given listener from the list of components to be notified when the mode is about to change.  
Methods' Details
addModeChangeListener
void
addModeChangeListener( [in] XModeChangeListener  rxListener );

Description
adds the given listener to the list of components to be notified when the mode changes.
removeModeChangeListener
void
removeModeChangeListener( [in] XModeChangeListener  rxListener );

Description
removes the given listener from the list of components to be notified when the mode changes.
addModeChangeApproveListener
void
addModeChangeApproveListener( [in] XModeChangeApproveListener  rxListener )
raises( ::com::sun::star::lang::NoSupportException );

Description
adds the given listener to the list of components to be notified when the mode is about to change.
Throws
com::sun::star::lang::NoSupportException if the component does not allow vetoing mode changes
removeModeChangeApproveListener
void
removeModeChangeApproveListener( [in] XModeChangeApproveListener  rxListener )
raises( ::com::sun::star::lang::NoSupportException );

Description
remove the given listener from the list of components to be notified when the mode is about to change.
Throws
com::sun::star::lang::NoSupportException if the component does not allow vetoing mode changes
Top of Page