Sophie

Sophie

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

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

<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="#IncludedServices" class="navisub">Included Services</a></td>
<td class="navisub">Exported Interfaces</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">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="IncludedServices"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle">
<tr>
<td class="subtitle" colspan="2">Included Services</td>
</tr>
<tr>
<td class="imsum_left"><a href="ValidatableControlModel.html">ValidatableControlModel</a></td>
<td class="imsum_right"><dl>
<dt><b>Description</b></dt>
<dd>specifies support for validating the current value of the control
 </dd>
</dl>
</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"><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>
<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>