Overview | Module | Use | Devguide | Index

Methods' Summary | Methods' Details | Attributes' Summary | Attributes' Details

:: com :: sun :: star :: mozilla ::
interface XMenuProxy
  Base Hierarchy
      ::com::sun::star::uno::XInterface
       |
       +-::com::sun::star::lang::XComponent
          |
          +-XMenuProxy
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

Copyright © 2003 Sun Microsystems, Inc.