<html> <head> <title>Service PopupMenuController</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" type="text/css" href="../../../../idl.css"> </head> <body> <div id="adc-idlref"> <a name="_top_"> </a><table class="navimain" border="0" cellpadding="3"> <tr> <td class="navimain"><a href="../module-ix.html" class="navimain">Overview</a></td> <td class="navimain"><a href="module-ix.html" class="navimain">Module</a></td> <td class="navimain"><a href="PopupMenuController-xref.html" class="navimain">Use</a></td> <td class="navimainnone">Devguide</td> <td class="navimain"><a href="../../../../index-files/index-1.html" class="navimain">Index</a></td> </tr> </table> <table class="navisub" border="0" cellpadding="0"> <tr> <td class="navisub">Services' Summary</td> <td class="navisub"><a href="#InterfacesSummary" class="navisub">Interfaces' Summary</a></td> <td class="navisub">Properties' Summary</td> <td class="navisub">Services' Details</td> <td class="navisub"><a href="#InterfacesDetails" class="navisub">Interfaces' Details</a></td> <td class="navisub">Properties' Details</td> </tr> </table> <hr> <table border="0" width="100%" cellpadding="5" cellspacing="3" class="title-table" style="margin-bottom:6pt;"> <tr> <td><p class="namechain"><a href="../../../../module-ix.html" class="namechain">::</a> <a href="../../../module-ix.html" class="namechain">com</a> :: <a href="../../module-ix.html" class="namechain">sun</a> :: <a href="../module-ix.html" class="namechain">star</a> :: <a href="module-ix.html" class="namechain">frame</a> :: </p> </td> </tr> <tr> <td class="title"><table class="title-table" width="99%"> <tr> <td width="25%" class="title2">unpublished </td> <td width="50%" class="title">service PopupMenuController</td> <td width="*"/></tr> </table> </td> </tr> <tr> <td><dl> <dt><b>Usage Restrictions</b></dt> <dd><i>not published</i></dd> <dt><b>Description</b></dt> <dd>provides access to a popup menu controller. </dd> <dd><p> A popup menu controller is used to make special functions available to users, which depend on runtime or context specific conditions.<br/> A typical example for a popup menu controller can be a recent file list implementation which provides a list of latest files that a user has worked on. This list gets changes consistently during a work session. </p> </dd> <dt><b>Since </b></dt> <dd>OpenOffice 2.0</dd> </dl> </td> </tr> </table> <hr> <a name="InterfacesSummary"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Exported Interfaces - Summary</td> </tr> <tr> <td class="imsum_left"><a href="XPopupMenuController.html">XPopupMenuController</a></td> <td class="imsum_right"><p>supports functions to initialize and update a popup menu controller implementation. (<a href="#XPopupMenuController">details</a>)</p> </td> </tr> <tr> <td class="imsum_left">::com::sun::star::<a href="../lang/module-ix.html">lang</a>::<a href="../lang/XInitialization.html">XInitialization</a></td> <td class="imsum_right"><p>provides functions to initialize a popup menu controller with specific data which are needed. (<a href="#XInitialization">details</a>)</p> </td> </tr> <tr> <td class="imsum_left"><a href="XStatusListener.html">XStatusListener</a></td> <td class="imsum_right"><p>used to brief the popup menu controller with new status information. (<a href="#XStatusListener">details</a>)</p> </td> </tr> <tr> <td class="imsum_left"><a href="XDispatchProvider.html">XDispatchProvider</a></td> <td class="imsum_right"><p>used to query for commands supported by the popup menu controller to execute them directly. (<a href="#XDispatchProvider">details</a>)</p> </td> </tr> <tr> <td class="imsum_left">::com::sun::star::<a href="../lang/module-ix.html">lang</a>::<a href="../lang/XComponent.html">XComponent</a></td> <td class="imsum_right"><p>used to dispose popup menu controller by the owner instance. (<a href="#XComponent">details</a>)</p> </td> </tr> </table> <a name="InterfacesDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Exported Interfaces - Details</td> </tr> <tr/> <tr> <td class="imdetail"><a name="XPopupMenuController" class="membertitle"><a href="XPopupMenuController.html">XPopupMenuController</a></a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td><dl> <dt><b>Description</b></dt> <dd>supports functions to initialize and update a popup menu controller implementation. </dd> <dd><p> A popup menu controller implementation gets initialized with a ::com::sun::star::<a href="../awt/module-ix.html">awt</a>::<a href="../awt/XPopupMenu.html">XPopupMenu</a> object. This assures that a popup menu controller can be implemented with any UNO based language. </p> </dd> </dl> </td> </tr> </table> </td> </tr> <tr/> <tr> <td class="imdetail"><a name="XInitialization" class="membertitle">::com::sun::star::<a href="../lang/module-ix.html">lang</a>::<a href="../lang/XInitialization.html">XInitialization</a></a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td><dl> <dt><b>Description</b></dt> <dd>provides functions to initialize a popup menu controller with specific data which are needed. </dd> <dd><p> This interface should not directly used. A factory service is responsible to initialize every controller correctly.<br/> A popup menu controller needs at least two additional arguments provided as ::com::sun::star::<a href="../beans/module-ix.html">beans</a>::<a href="../beans/PropertyValue.html">PropertyValue</a>: <ul> <li><b>Frame</b><br>specifies the <a href="XFrame.html">XFrame</a> instance to which the popup menu controller belongs to.</li> <li><b>CommandURL</b><br>specifies which popup menu controller should be created.</li> </ul> </p> </dd> <dt><b>See also</b></dt> <dd><a href="PopupMenuControllerFactory.html">PopupMenuControllerFactory</a></dd> </dl> </td> </tr> </table> </td> </tr> <tr/> <tr> <td class="imdetail"><a name="XStatusListener" class="membertitle"><a href="XStatusListener.html">XStatusListener</a></a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td><dl> <dt><b>Description</b></dt> <dd>used to brief the popup menu controller with new status information. </dd> <dd><p> A popup menu controller makes special functions available to users which normally depend on the state of other data. This interface is used to send this data to a controller implementation. </p> </dd> </dl> </td> </tr> </table> </td> </tr> <tr/> <tr> <td class="imdetail"><a name="XDispatchProvider" class="membertitle"><a href="XDispatchProvider.html">XDispatchProvider</a></a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td><dl> <dt><b>Usage Restrictions</b></dt> <dd><i>optional</i></dd> <dt><b>Description</b></dt> <dd>used to query for commands supported by the popup menu controller to execute them directly. </dd> <dd><p> A popup menu controller provides special functions which should be available by the normal dispatch API. This optional interface enables popup menu controller to be normal dispatch providers.<br/> <b>Attention:</b><br/> Popup menu controller functions must be specified using the following the dispatch URL scheme: "vnd.sun.star.popup:" opaque_part [ "?" query ]. </p> </dd> <dt><b>Since </b></dt> <dd>OpenOffice 2.2</dd> </dl> </td> </tr> </table> </td> </tr> <tr/> <tr> <td class="imdetail"><a name="XComponent" class="membertitle">::com::sun::star::<a href="../lang/module-ix.html">lang</a>::<a href="../lang/XComponent.html">XComponent</a></a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td><dl> <dt><b>Usage Restrictions</b></dt> <dd><i>optional</i></dd> <dt><b>Description</b></dt> <dd>used to dispose popup menu controller by the owner instance. </dd> <dd><p> A popup menu controller resides in a menu which has a limited life-time. For correct life-time handling a popup menu controller should support this interface. </p> </dd> <dt><b>Since </b></dt> <dd>OpenOffice 2.2</dd> </dl> </td> </tr> </table> </td> </tr> </table> <br> <a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.</p> </div> <!-- id="adc-idlref" --> </body> </html>