<html> <head> <title>Service BindableDatabaseListBox</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="BindableDatabaseListBox-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"><a href="#ServicesSummary" class="navisub">Services' Summary</a></td> <td class="navisub">Interfaces' Summary</td> <td class="navisub">Properties' Summary</td> <td class="navisub"><a href="#ServicesDetails" class="navisub">Services' Details</a></td> <td class="navisub">Interfaces' Details</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">form</a> :: <a href="module-ix.html" class="namechain">binding</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 BindableDatabaseListBox</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>This service specifies a list box model which is data-aware and thus can be bound to a database field, and additionally supports binding to arbitrary external values. </dd> <dd><p>There are four possible ways how a <a href="BindableDatabaseListBox.html">BindableDatabaseListBox</a> exchanges values with an external binding, the following lists explains all of them. If a new binding is set at a <a href="BindableDatabaseListBox.html">BindableDatabaseListBox</a>, the types from the following list are tried in descending order: The first type supported by the binding is used for data exchange. <ol><li><em>sequences of integers</em>: When used, the integers in the sequence will represent the indexes of the selected entries of the list box.</li> <li><em>integer values</em>: When used, the value will represent the index of the selected entry. If no entry is selected, -1 will be transfered. If more than one entry is selected, <b>NULL</b> will be transfered.</li> <li><em>sequences of strings</em>: When used, the strings in the sequence present the texts of the selected entries of the list box.</li> <li><em>string values</em>: When used. the value will represent the text of the selected entry. If no entry is selected, an empty string will be transfered. If more than one entry is selected, <b>NULL</b> will be transfered.</li> </ol></p> </dd> <dt><b>See also</b></dt> <dd><a href="XValueBinding.html">XValueBinding</a>::<a href="XValueBinding.html#supportsType">supportsType</a></dd> </dl> </td> </tr> </table> <hr> <a name="ServicesSummary"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Included Services - Summary</td> </tr> <tr> <td class="imsum_left">::com::sun::star::form::<a href="../component/module-ix.html">component</a>::<a href="../component/DatabaseListBox.html">DatabaseListBox</a></td> <td class="imsum_right"><dl> <dt>(referenced entity's summary:)</dt> <dd>This service specifies a data-aware list box control model. </dd> </dl> </td> </tr> <tr> <td class="imsum_left"><a href="BindableDataAwareControlModel.html">BindableDataAwareControlModel</a></td> <td class="imsum_right"><p>specifies the interaction between an internal binding to a database column, and an external value binding.</p> </p> </td> </tr> </table> <a name="ServicesDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Included Services - Details</td> </tr> <tr/> <tr> <td class="imdetail"><a name="DatabaseListBox" class="membertitle">::com::sun::star::form::<a href="../component/module-ix.html">component</a>::<a href="../component/DatabaseListBox.html">DatabaseListBox</a></a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td><dl> <dt>(referenced entity's summary:)</dt> <dd>This service specifies a data-aware list box control model. </dd> </dl> </td> </tr> </table> </td> </tr> <tr/> <tr> <td class="imdetail"><a name="BindableDataAwareControlModel" class="membertitle"><a href="BindableDataAwareControlModel.html">BindableDataAwareControlModel</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>specifies the interaction between an internal binding to a database column, and an external value binding.</p> </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>