<html> <head> <title>Service BindableControlModel</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="BindableControlModel-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"><a href="#InterfacesSummary" class="navisub">Interfaces' Summary</a></td> <td class="navisub">Properties' Summary</td> <td class="navisub"><a href="#ServicesDetails" class="navisub">Services' Details</a></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">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 BindableControlModel</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>specifies the model of a form control which supports binding to an external value supplier. </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::<a href="../module-ix.html">form</a>::<a href="../FormControlModel.html">FormControlModel</a></td> <td class="imsum_right"><p>specifies the basic functionality for a form control model (<a href="#FormControlModel">details</a>)</p> </td> </tr> </table> <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="XBindableValue.html">XBindableValue</a></td> <td class="imsum_right"><p>specifies support for being bound to an external value (<a href="#XBindableValue">details</a>)</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="FormControlModel" class="membertitle">::com::sun::star::<a href="../module-ix.html">form</a>::<a href="../FormControlModel.html">FormControlModel</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 basic functionality for a form control model </dd> <dd><p>Via this service, bindable control models inherit the ::com::sun::star::<a href="../../util/module-ix.html">util</a>::<a href="../../util/XCloneable.html">XCloneable</a> interface.<br/> If an bindable control model, at which a binding has been established (via <a href="XBindableValue.html">XBindableValue</a>::<a href="XBindableValue.html#setValueBinding">setValueBinding</a>), is being cloned, then the binding is also established at the clone. Effectively, this means that both control model instances share the same binding instance.</p> </dd> </dl> </td> </tr> </table> </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="XBindableValue" class="membertitle"><a href="XBindableValue.html">XBindableValue</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 support for being bound to an external value </dd> <dd><p>When a <a href="BindableControlModel.html">BindableControlModel</a> is bound to an external value, then every change in the control model's value is <em>immediately</em> reflected in the external binding.</p> <p>If the binding set via this interface supports the <a href="ValueBinding.html">ValueBinding</a>::<a href="ValueBinding.html#ReadOnly">ReadOnly</a> and <a href="ValueBinding.html">ValueBinding</a>::<a href="ValueBinding.html#Relevant">Relevant</a> properties, they're respected by the control model: <ul><li>The control model's own <code>ReadOnly</code> property (if present) is kept in sync with the binding's <code>ReadOnly</code> property. That is, any control using the value binding is read-only as long as the binding is.</li> <li>The control model's own <code>Enabled</code> property (if present) is kept in sync with the binding's <code>Relevant</code> property. That is, any control using the value binding is disabled as long as the binding is not relevant.</li> </ul> </p> <p>In both cases, explicit changes of the model's property are ignored if they would relax the restriction imposed by the binding.<br/> For instance, if the binding declares it's value to be read-only (indicated by <a href="ValueBinding.html">ValueBinding</a>::<a href="ValueBinding.html#ReadOnly">ReadOnly</a> being <b>true</b>), then any attempt to set the <code>ReadOnly</code> property of the control model to <b>false</b> will fail. However, if the binding's value is not read-only, then the <code>ReadOnly</code> property at the control model can be freely set.<br/> The very same holds for the binding's <a href="ValueBinding.html">ValueBinding</a>::<a href="ValueBinding.html#Relevant">Relevant</a> and the control model's <code>Enabled</code> properties.</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 © 2000, 2012 LibreOffice contributors and/or their affiliates. All rights reserved.</p><p class="copyright" align="center">LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.</p><p class="copyright" align="center">The Document Foundation acknowledges all community members, please find more info <a href="http://www.libreoffice.org/about-us/credits/" target="_blank">at our website</a>.<p> </p><p class="copyright" align="center"><a href="http://www.libreoffice.org/privacy" target="_blank">Privacy Policy</a> | <a href="http://www.libreoffice.org/imprint" target="_blank">Impressum (Legal Info)</a> | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (<a href="http://www.libreoffice.org/download/license/" target="_blank">LGPLv3</a>). "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 <a href="http://wiki.documentfoundation.org/TradeMark_Policy" target="_blank">trademark policy</a>.</p> </div> <!-- id="adc-idlref" --> </body> </html>