Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > media > main-testing > by-pkgid > 2c50825dd66d0497b96a67f7fab2ee84 > files > 3439

openoffice.org64-devel-doc-2.4.1.10-1mdv2008.1.x86_64.rpm

<html>
<head>
<title>Service ToolbarController</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="ToolbarController-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">Included Services</td>
<td class="navisub"><a href="#ExportedInterfaces" class="navisub">Exported Interfaces</a></td>
<td class="navisub">Properties' Summary</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 ToolbarController</td>
<td width="*"/></tr>
</table>
</td>
</tr>
<tr>
<td><dl>
<dt><b>Description</b></dt>
<dd>is an abstract service for a component which offers a more complex user 
 interface to users within a toolbar.

 </dd>
<dd><p>
 A generic toolbar function is represented as a button which has a state 
 (enabled,disabled and selected, not selected). A toolbar controller can 
 be added to a toolbar and provide information or functions within a more 
 sophisticated user interface.<br/> A typical example for toolbar controller 
 is the font chooser within the toolbar. It provides all available fonts in 
 a dropdown box and shows the current chosen font.
 <p>

 </dd>
<dt><b/></dt>
<dd/><dt><b>See also</b></dt>
<dd><a href="XDispatchProvider.html">XDispatchProvider</a></dd>
</dl>
</td>
</tr>
</table>
<hr>
<a name="ExportedInterfaces"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle">
<tr>
<td class="subtitle" colspan="2">Exported Interfaces</td>
</tr>
<tr>
<td class="imsum_left"><a href="XStatusListener.html">XStatusListener</a></td>
<td class="imsum_right"><dl>
<dt><b>Description</b></dt>
<dd>with this interface a component can receive events if a feature has 
 changed.

 </dd>
<dd><p>
 The toolbar controller implementation should register itself as a 
 listener when its <a href="ToolbarController.html#XUpdatable">XUpdatable</a> 
 interface has been called.
 </p>
 </dd>
</dl>
</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"><dl>
<dt><b>Description</b></dt>
<dd>used to initialize a component with required arguments.

 A toolbar controller needs at least three additional arguments 
 provided as ::com::sun::star::<a href="../beans/module-ix.html">beans</a>::<a href="../beans/PropertyValue.html">PropertyValue</a>:
 </dd>
<dd><ul>
 <li><b>Frame</b><br>a <a href="XFrame.html">XFrame</a> 
 instance to which the toolbar controller belongs.</li>
 <li><b>CommandURL</b><br>a string which specifies the command a 
 toolbar controller is bound.</li>
 <li><b>ServiceManager</b><br>a 
 ::com::sun::star::<a href="../lang/module-ix.html">lang</a>::<a href="../lang/XMultiServiceFactory.html">XMultiServiceFactory</a>
 instance which can be used to create additional UNO services.</li>
 </ul>
 </dd>
</dl>
</td>
</tr>
<tr>
<td class="imsum_left">::com::sun::star::<a href="../util/module-ix.html">util</a>::<a href="../util/XUpdatable.html">XUpdatable</a></td>
<td class="imsum_right"><dl>
<dt><b>Description</b></dt>
<dd>used to notify an implementation that it needs to add its listener or remove 
 and add them again.

 </dd>
<dd><p>
 A toolbar controller instance is ready for use after this call has been made 
 the first time. The toolbar implementation guarentees that the controller's 
 item window has been added to the toolbar and its reference is held by it.
 </p>
 </dd>
</dl>
</td>
</tr>
<tr>
<td class="imsum_left"><a href="XToolbarController.html">XToolbarController</a></td>
<td class="imsum_right"><dl>
<dt><b>Description</b></dt>
<dd>used to notify changed features and requests for additional user interface 
 items.

 </dd>
<dd><p>
 Mostly used by a toolbar implementation to forward information to and request
 services from a toolbar controller component. This interface must be useable 
 after com::sun::star::lang::XInitialitation::initialize 
 has been called. The behavior of the interface is undefined if the controller 
 component hasn't been initialized.
 </p>
 </dd>
</dl>
</td>
</tr>
<tr>
<td class="imsum_left"><a href="XSubToolbarController.html">XSubToolbarController</a></td>
<td class="imsum_right"><dl>
<dt><b>Usage Restrictions</b></dt>
<dd><i>optional</i></dd>
<dt><b>Description</b></dt>
<dd>used to notify and retrieve information that are specific for sub-toolbar 
 controllers.

 </dd>
<dd><p>
 Used by implementations that want to provide the toolbar button/sub-
 toolbar function feature. A controller supporting this interface exchanges 
 the function of its own toolbar button, that opened the sub-toolbar, with 
 the one that has been selected on the sub-toolbar.
 </p>
 </dd>
</dl>
</td>
</tr>
</table>
<br>&nbsp;<a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright &copy; 2008 Sun Microsystems, Inc.</p>

</div> <!-- id="adc-idlref" -->
</body>

</html>