LibreOffice
LibreOffice 24.2 SDK API Reference
|
Allows to execute dispatch for a menu item and handles listeners for changes in menu items. More...
import"XMenuProxy.idl";
Public Member Functions | |
void | executeMenuItem ([in] short ID) |
Executes dispatch for the given menu id. More... | |
void | addMenuProxyListener ([in] XMenuProxyListener xListener) |
Registers an event listener, which will be called when the menu changes. More... | |
void | removeMenuProxyListener ([in] XMenuProxyListener xListener) |
Unregisters an event listener which was registered with XMenuProxy::addMenuProxyListener(). More... | |
Public Member Functions inherited from XComponent | |
void | dispose () |
The owner of an object calls this method to explicitly free all resources kept by this object and thus break cyclic references. More... | |
void | addEventListener ([in] XEventListener xListener) |
adds an event listener to the object. More... | |
void | removeEventListener ([in] XEventListener aListener) |
removes an event listener from the listener list. More... | |
Public Member Functions inherited from XInterface | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
Allows to execute dispatch for a menu item and handles listeners for changes in menu items.
void addMenuProxyListener | ( | [in] XMenuProxyListener | xListener | ) |
Registers an event listener, which will be called when the menu changes.
xListener | [in]: the listener to be set |
void executeMenuItem | ( | [in] short | ID | ) |
Executes dispatch for the given menu id.
ID | [in]: the menu item |
void removeMenuProxyListener | ( | [in] XMenuProxyListener | xListener | ) |
Unregisters an event listener which was registered with XMenuProxy::addMenuProxyListener().
xListener | [in]: the listener to be removed |