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 :: mozilla ::

interface XMenuProxy
Base Interfaces
XMenuProxy
┗ ::com::sun::star::lang::XComponent

::com::sun::star::lang::XComponent
(referenced interface's summary:)
allows to exclicitly free resources and break cyclic references.
Description
Allows to execute dispatch for a menu item and handles listeners for changes in menu items.

Methods' Summary
executeMenuItem Executes dispatch for the given menu id  
addMenuProxyListener Registers an event listener, which will be called when the menu changes  
removeMenuProxyListener Unregisters an event listener which was registered with XMenuProxy::addMenuProxyListener().  
Methods' Details
executeMenuItem
void
executeMenuItem( [in] short  ID );

Description
Executes dispatch for the given menu id
Parameter ID
[in]: the menu item
addMenuProxyListener
[oneway] void
addMenuProxyListener( [in] XMenuProxyListener  xListener );

Description
Registers an event listener, which will be called when the menu changes
Parameter xListener
[in]: the listener to be set
removeMenuProxyListener
[oneway] void
removeMenuProxyListener( [in] XMenuProxyListener  xListener );

Description
Unregisters an event listener which was registered with XMenuProxy::addMenuProxyListener().
Parameter xListener
[in]: the listener to be removed
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.