(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: 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 OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos are trademarks of The Apache Software Foundation. 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.