:: com :: sun :: star :: frame ::
|
unpublished |
interface XPopupMenuController |
|
|
|
- Usage Restrictions
- not published
- Description
- provides data to a pop-up menu controller implementation to
fill and update a pop-up menu dynamically.
A pop-up menu controller gets a ::com::sun::star::awt::XPopupMenu
from its parent menu implementation. The controller has to fill this pop-up
menu with a set of menu items and/or sub menus. The parent menu implementation
briefs the controller whenever the pop-up menu gets activated by a user.
- Since
- OOo 2.0
|
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. Therefor status updates will not be send regularly
for a non visible pop-up menu.
|
|
Top of Page
Copyright © 2000, 2013 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.