Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


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

interface XModeChangeBroadcaster
Description
broadcasts changes in an object's internal mode.
Since
OOo 1.1.2
See also
XModeSelector, XModeChangeListener, XModeChangeApproveListener

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

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.