<html> <head> <title>Service ValidatableBindableControlModel</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="ValidatableBindableControlModel-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">validation</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 ValidatableBindableControlModel</td> <td width="*"/></tr> </table> </td> </tr> <tr> <td><dl> <dt><b>Description</b></dt> <dd>specifies a control model which supports both binding to an external value supplier, and to an external validator. </dd> <dd><p>There are two methods how the value which is represented by a control model can interact with other components (well, except the trivial ones accessible by using ::com::sun::star::<a href="../../beans/module-ix.html">beans</a>::<a href="../../beans/XPropertySet.html">XPropertySet</a>): <ul><li>binding the value to an external component via ::com::sun::star::form::<a href="../binding/module-ix.html">binding</a>::<a href="../binding/XBindableValue.html">XBindableValue</a></li> <li>validating the current value by an external component, via <a href="XValidatable.html">XValidatable</a> and <a href="XValidator.html">XValidator</a></li> </ul></p> <p>The <a href="ValidatableBindableControlModel.html">ValidatableBindableControlModel</a> services describes the interaction of these concepts for control models which support both of them.</p> </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"><a href="ValidatableControlModel.html">ValidatableControlModel</a></td> <td class="imsum_right"><p>specifies support for validating the current value of the control </p> </td> </tr> <tr> <td class="imsum_left">::com::sun::star::form::<a href="../binding/module-ix.html">binding</a>::<a href="../binding/BindableControlModel.html">BindableControlModel</a></td> <td class="imsum_right"><p>specifies support for binding the control value to an external component (<a href="#BindableControlModel">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="ValidatableControlModel" class="membertitle"><a href="ValidatableControlModel.html">ValidatableControlModel</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 validating the current value of the control </dd> </dl> </td> </tr> </table> </td> </tr> <tr/> <tr> <td class="imdetail"><a name="BindableControlModel" class="membertitle">::com::sun::star::form::<a href="../binding/module-ix.html">binding</a>::<a href="../binding/BindableControlModel.html">BindableControlModel</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 binding the control value to an external component </dd> <dd><p>If a value binding is established at the control model (by using ::com::sun::star::form::<a href="../binding/module-ix.html">binding</a>::<a href="../binding/XBindableValue.html">XBindableValue</a>::<a href="../binding/XBindableValue.html#setValueBinding">setValueBinding</a> with a non-<b>NULL</b> binding), this binding is analyzed for validation support. If it is present (read: if the binding also supports the <a href="XValidator.html">XValidator</a> interface), the binding is also established as validator, as if it has been passed to <a href="XValidatable.html">XValidatable</a>::<a href="XValidatable.html#setValidator">setValidator</a>.<br/> If, while this binding is active (in both its roles as value binding and validator), an attempt is made to establish another validator, this is blocked with raising a ::com::sun::star::<a href="../../util/module-ix.html">util</a>::<a href="../../util/VetoException.html">VetoException</a> upon calling <a href="XValidatable.html">XValidatable</a>::<a href="XValidatable.html#setValidator">setValidator</a>.</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 © 2009 Sun Microsystems, Inc.</p> </div> <!-- id="adc-idlref" --> </body> </html>