Methods' Summary |
setPopupMenu |
provides a com::sun::star::awt::XPopupMenu to a
pop-up menu controller implementation. The controller must fill this
pop-up menu with its functions.
|
updatePopupMenu |
briefs the pop-up menu controller to update the contents of the provided
pop-up menu to reflect the current state.
|
Methods' Details |
setPopupMenu
void |
setPopupMenu( |
[in] ::com::sun::star::awt::XPopupMenu |
PopupMenu ); |
- Description
- provides a com::sun::star::awt::XPopupMenu to a
pop-up menu controller implementation. The controller must fill this
pop-up menu with its functions.
- Parameter PopupMenu
- An empty pop-up menu that must be filled by the pop-up menu controller.
|
|
updatePopupMenu
- Description
- briefs the pop-up menu controller to update the contents of the provided
pop-up menu to reflect the current state.
A controller should never update the pop-up menu structure on its
own to prevent performance problems. A better way would be that a controller
registers itself as status listener to for a command URL and immediately
deregister after that. Therefore status updates will not be send regularly
for a non visible pop-up menu.
|
|
Top of Page
Copyright © 2020, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.