interface XMenuProxy in module com::sun::star::mozilla::

(Global Index)

Syntax

interface XMenuProxy : com::sun::star::lang::XComponent ;

Method 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() .

Known Services Which Export this Interface

com::sun::star::mozilla::MenuProxy

Method Details



executeMenuItem

Syntax

void executeMenuItem (
short ID );

Description

Executes dispatch for the given menu id

Parameter ID

[in]: the menu item

addMenuProxyListener

Syntax

oneway void addMenuProxyListener (
com::sun::star::mozilla::XMenuProxyListener xListener );

Description

Registers an event listener, which will be called when the menu changes

Parameter xListener

[in]: the listener to be set

removeMenuProxyListener

Syntax

oneway void removeMenuProxyListener (
com::sun::star::mozilla::XMenuProxyListener xListener );

Description

Unregisters an event listener which was registered with XMenuProxy::addMenuProxyListener() .

Parameter xListener

[in]: the listener to be removed
Top of Page