<html> <head> <title>Interface XNumericControl</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="XNumericControl-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">Methods' Summary</td> <td class="navisub"><a href="#AttributesSummary" class="navisub">Attributes' Summary</a></td> <td class="navisub">Methods' Details</td> <td class="navisub"><a href="#AttributesDetails" class="navisub">Attributes' 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">inspection</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">interface XNumericControl</td> <td width="*"/></tr> </table> </td> </tr> <tr> <td><dl> <dt><b>Base Interfaces</b></dt> <dd><pre style="font-family:monospace;"><strong>XNumericControl</strong> ┗ <a href="XPropertyControl.html">XPropertyControl</a> </pre></dd> <dd><a name/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="crosstitle"> <tr> <td class="imsum_left"><a href="XPropertyControl.html">XPropertyControl</a></td> <td class="imsum_right"><dl> <dt>(referenced interface's summary:)</dt> <dd>defines the interface for a single control in an <a href="ObjectInspector.html">ObjectInspector</a> </dd> </dl> </td> </tr> </table> </dd> </dl> </td> </tr> <tr> <td><dl> <dt><b>Usage Restrictions</b></dt> <dd><i>not published</i></dd> <dt><b>Description</b></dt> <dd>defines the interface for an <a href="XPropertyControl.html">XPropertyControl</a> which supports displaying and entering numerical values. </dd> <dt><b>Since </b></dt> <dd>OpenOffice 2.0.3</dd> </dl> </td> </tr> </table> <hr> <a name="AttributesSummary"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Attributes' Summary</td> </tr> <tr> <td class="imsum_left"><a href="#DecimalDigits">DecimalDigits</a></td> <td class="imsum_right">describes the number of decimal digits to use for the value </td> </tr> <tr> <td class="imsum_left"><a href="#MinValue">MinValue</a></td> <td class="imsum_right">describes the minimum value which is allowed to be entered in the control </td> </tr> <tr> <td class="imsum_left"><a href="#MaxValue">MaxValue</a></td> <td class="imsum_right">describes the maximum value which is allowed to be entered in the control </td> </tr> <tr> <td class="imsum_left"><a href="#DisplayUnit">DisplayUnit</a></td> <td class="imsum_right">describes a ::com::sun::star::<a href="../util/module-ix.html">util</a>::<a href="../util/MeasureUnit.html">MeasureUnit</a> to be applied for displaying values. </td> </tr> <tr> <td class="imsum_left"><a href="#ValueUnit">ValueUnit</a></td> <td class="imsum_right">describes a ::com::sun::star::<a href="../util/module-ix.html">util</a>::<a href="../util/MeasureUnit.html">MeasureUnit</a> to be applied for transfering values. </td> </tr> </table> <a name="AttributesDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle">Attributes' Details</td> </tr> <tr> <td class="imdetail"><a name="DecimalDigits" class="membertitle">DecimalDigits</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>short <b>DecimalDigits</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>describes the number of decimal digits to use for the value </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="MinValue" class="membertitle">MinValue</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>::com::sun::star::<a href="../beans/module-ix.html">beans</a>::<a href="../beans/Optional.html">Optional</a>< double > <b>MinValue</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>describes the minimum value which is allowed to be entered in the control </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="MaxValue" class="membertitle">MaxValue</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>::com::sun::star::<a href="../beans/module-ix.html">beans</a>::<a href="../beans/Optional.html">Optional</a>< double > <b>MaxValue</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>describes the maximum value which is allowed to be entered in the control </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="DisplayUnit" class="membertitle">DisplayUnit</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>short <b>DisplayUnit</b><dl> <dd>set raises (::com::sun::star::<a href="../lang/module-ix.html">lang</a>::<a href="../lang/IllegalArgumentException.html">IllegalArgumentException</a>);</dd> </dl> <hr> <dl> <dt><b>Description</b></dt> <dd>describes a ::com::sun::star::<a href="../util/module-ix.html">util</a>::<a href="../util/MeasureUnit.html">MeasureUnit</a> to be applied for displaying values. </dd> <dd><p>Only a certain set of ::com::sun::star::<a href="../util/module-ix.html">util</a>::<a href="../util/MeasureUnit.html">MeasureUnit</a> values is supported. In particular, every value which denotes a fraction of another unit (like 100th millimiters) cannot be used as DisplayUnit.</p> </dd> <dt><b>Throws</b></dt> <dd>com::sun::star::lang::IllegalArgumentException if the caller attempts to set an unsupported ::com::sun::star::<a href="../util/module-ix.html">util</a>::<a href="../util/MeasureUnit.html">MeasureUnit</a> </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="ValueUnit" class="membertitle">ValueUnit</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>short <b>ValueUnit</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>describes a ::com::sun::star::<a href="../util/module-ix.html">util</a>::<a href="../util/MeasureUnit.html">MeasureUnit</a> to be applied for transfering values. </dd> <dd><p>The core measurement unit for a property value might differ from the unit which is used by the control to display it. For instance, your property value might require that your values denote 100th millimeters, but to the user, you want to present the value as, say, inches. In this case, a numeric control can automatically handle the value conversion for you, if you give it a ValueUnit different from the DisplayUnit.</p> </dd> <dt><b>See also</b></dt> <dd><a href="XPropertyControl.html">XPropertyControl</a>::<a href="XPropertyControl.html#Value">Value</a></dd> </dl> </td> </tr> </table> </td> </tr> </table> <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>