<html> <head> <title>Service BindableDatabaseCheckBox</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="BindableDatabaseCheckBox-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"><a href="#PropertiesSummary" class="navisub">Properties' Summary</a></td> <td class="navisub"><a href="#ServicesDetails" class="navisub">Services' Details</a></td> <td class="navisub">Interfaces' Details</td> <td class="navisub"><a href="#PropertiesDetails" class="navisub">Properties' Details</a></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 BindableDatabaseCheckBox</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 check box which is data-aware and thus can be bound to a database field, and additionally supports binding to arbitrary external values. </dd> <dd><p>The <a href="XValueBinding.html">XValueBinding</a> instance which can be associated with a <a href="BindableDatabaseCheckBox.html">BindableDatabaseCheckBox</a> must support exchanging boolean values. The following mapping between external values and control states apply: <ul><li><b>true</b> will be mapped to the box being checked, and vice versa</li> <li><b>false</b> will be mapped to it being unchecked, and vice versa</li> <li><b>NULL</b> will be mapped to it being in indetermined state, if the box currently supports this, or being unchecked else. The indetermined of the check box will always be mapped to <b>NULL</b> when writing the external value.</li> </ul></p> <p>If the value binding associated with a <a href="BindableDatabaseCheckBox.html">BindableDatabaseCheckBox</a> supports exchanging string values, <em>and</em> the ::com::sun::star::form::<a href="../component/module-ix.html">component</a>::<a href="../component/CheckBox.html">CheckBox</a>::<a href="../component/CheckBox.html#RefValue">RefValue</a> is <em>not</em> empty, then the radio button will exchange it's value as string: <ul><li>A string equal to the reference value will be mapped to the button being checked, and vice versa</li> <li>A string not equal to the reference value will be mapped to the button being unchecked, and vice versa</li> <li><b>NULL</b> will be mapped to it being in indetermined state</li> </ul></p> </dd> <dt><b>See also</b></dt> <dd><a href="XValueBinding.html">XValueBinding</a>::<a href="XValueBinding.html#supportsType">supportsType</a>, ::com::sun::star::<a href="../../awt/module-ix.html">awt</a>::<a href="../../awt/UnoControlCheckBoxModel.html">UnoControlCheckBoxModel</a>::<a href="../../awt/UnoControlCheckBoxModel.html#State">State</a>, ::com::sun::star::<a href="../../awt/module-ix.html">awt</a>::<a href="../../awt/UnoControlCheckBoxModel.html">UnoControlCheckBoxModel</a>::<a href="../../awt/UnoControlCheckBoxModel.html#TriState">TriState</a>, ::com::sun::star::form::<a href="../component/module-ix.html">component</a>::<a href="../component/CheckBox.html">CheckBox</a>::<a href="../component/CheckBox.html#RefValue">RefValue</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/DatabaseCheckBox.html">DatabaseCheckBox</a></td> <td class="imsum_right"><dl> <dt>(referenced entity's summary:)</dt> <dd>This service specifies a check box which is data-aware, and can be bound to a database field. </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="PropertiesSummary"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Properties' Summary</td> </tr> <tr> <td class="imsum_left">string<br> <a href="#SecondaryRefValue">SecondaryRefValue</a></td> <td class="imsum_right">specifies a value which is to be associated with the control when it's <em>not</em> checked. </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="DatabaseCheckBox" class="membertitle">::com::sun::star::form::<a href="../component/module-ix.html">component</a>::<a href="../component/DatabaseCheckBox.html">DatabaseCheckBox</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 check box which is data-aware, and can be bound to a database field. </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> <a name="PropertiesDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle">Properties' Details</td> </tr> <tr> <td class="imdetail"><a name="SecondaryRefValue" class="membertitle">SecondaryRefValue</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>string <b>SecondaryRefValue</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>specifies a value which is to be associated with the control when it's <em>not</em> checked. </dd> <dd><p>::com::sun::star::form::<a href="../component/module-ix.html">component</a>::<a href="../component/CheckBox.html">CheckBox</a>::<a href="../component/CheckBox.html#RefValue">RefValue</a> is transferred to possible external value bindings as soon as the check box is checked. With the member <a href="#SecondaryRefValue">SecondaryRefValue</a>, clients of the check box can also associate a value with the <em>not checked</em> state of the control.</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>