<html> <head> <title>Interface XSpinValue</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="XSpinValue-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="#MethodsSummary" class="navisub">Methods' Summary</a></td> <td class="navisub">Attributes' Summary</td> <td class="navisub"><a href="#MethodsDetails" class="navisub">Methods' Details</a></td> <td class="navisub">Attributes' 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">awt</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 XSpinValue</td> <td width="*"/></tr> </table> </td> </tr> <tr> <td/></tr> <tr> <td><dl> <dt><b>Description</b></dt> <dd>gives access to the value and settings of a control which is associated with a spinnable value. </dd> </dl> </td> </tr> </table> <hr> <a name="MethodsSummary"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Methods' Summary</td> </tr> <tr> <td class="imsum_left"><a href="#addAdjustmentListener">addAdjustmentListener</a></td> <td class="imsum_right">registers an adjustment event listener. </td> </tr> <tr> <td class="imsum_left"><a href="#removeAdjustmentListener">removeAdjustmentListener</a></td> <td class="imsum_right">unregisters an adjustment event listener. </td> </tr> <tr> <td class="imsum_left"><a href="#setValue">setValue</a></td> <td class="imsum_right">sets the current value of the control </td> </tr> <tr> <td class="imsum_left"><a href="#setValues">setValues</a></td> <td class="imsum_right">sets the value and value range of the control </td> </tr> <tr> <td class="imsum_left"><a href="#getValue">getValue</a></td> <td class="imsum_right">returns the current value of the control. </td> </tr> <tr> <td class="imsum_left"><a href="#setMinimum">setMinimum</a></td> <td class="imsum_right">sets the minimum value which can be set on the control </td> </tr> <tr> <td class="imsum_left"><a href="#setMaximum">setMaximum</a></td> <td class="imsum_right">sets the maximum value which can be set on the control </td> </tr> <tr> <td class="imsum_left"><a href="#getMinimum">getMinimum</a></td> <td class="imsum_right">returns the currently set minimum value of the control </td> </tr> <tr> <td class="imsum_left"><a href="#getMaximum">getMaximum</a></td> <td class="imsum_right">returns the currently set maximum value of the control </td> </tr> <tr> <td class="imsum_left"><a href="#setSpinIncrement">setSpinIncrement</a></td> <td class="imsum_right">sets the value by which the current value of the control should be incremented or decremented upon spinning. </td> </tr> <tr> <td class="imsum_left"><a href="#getSpinIncrement">getSpinIncrement</a></td> <td class="imsum_right">returns the value by which the current value of the control should be incremented or decremented upon spinning. </td> </tr> <tr> <td class="imsum_left"><a href="#setOrientation">setOrientation</a></td> <td class="imsum_right">controls the orientation of the control </td> </tr> <tr> <td class="imsum_left"><a href="#getOrientation">getOrientation</a></td> <td class="imsum_right">returns the current orientation of the control </td> </tr> </table> <a name="MethodsDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle">Methods' Details</td> </tr> <tr> <td class="imdetail"><a name="addAdjustmentListener" class="membertitle">addAdjustmentListener</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">[oneway] void</td> </tr> <tr> <td valign="top"><b>addAdjustmentListener</b>(</td> <td valign="top">[in] <a href="XAdjustmentListener.html">XAdjustmentListener</a></td> <td valign="bottom"> listener );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>registers an adjustment event listener. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="removeAdjustmentListener" class="membertitle">removeAdjustmentListener</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">[oneway] void</td> </tr> <tr> <td valign="top"><b>removeAdjustmentListener</b>(</td> <td valign="top">[in] <a href="XAdjustmentListener.html">XAdjustmentListener</a></td> <td valign="bottom"> listener );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>unregisters an adjustment event listener. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="setValue" class="membertitle">setValue</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">[oneway] void</td> </tr> <tr> <td valign="top"><b>setValue</b>(</td> <td valign="top">[in] long</td> <td valign="bottom"> value );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>sets the current value of the control </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="setValues" class="membertitle">setValues</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">[oneway] void</td> </tr> <tr> <td valign="top"><b>setValues</b>(</td> <td valign="top">[in] long</td> <td valign="bottom"> minValue,</td> </tr> <tr> <td/><td valign="top">[in] long</td> <td valign="bottom"> maxValue,</td> </tr> <tr> <td/><td valign="top">[in] long</td> <td valign="bottom"> currentValue );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>sets the value and value range of the control </dd> <dt><b/></dt> <dd/><dt><b/></dt> <dd/><dt><b/></dt> <dd/></dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="getValue" class="membertitle">getValue</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">long</td> </tr> <tr> <td valign="top"><b>getValue</b>();</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>returns the current value of the control. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="setMinimum" class="membertitle">setMinimum</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">[oneway] void</td> </tr> <tr> <td valign="top"><b>setMinimum</b>(</td> <td valign="top">[in] long</td> <td valign="bottom"> minValue );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>sets the minimum value which can be set on the control </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="setMaximum" class="membertitle">setMaximum</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">[oneway] void</td> </tr> <tr> <td valign="top"><b>setMaximum</b>(</td> <td valign="top">[in] long</td> <td valign="bottom"> maxValue );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>sets the maximum value which can be set on the control </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="getMinimum" class="membertitle">getMinimum</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">long</td> </tr> <tr> <td valign="top"><b>getMinimum</b>();</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>returns the currently set minimum value of the control </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="getMaximum" class="membertitle">getMaximum</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">long</td> </tr> <tr> <td valign="top"><b>getMaximum</b>();</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>returns the currently set maximum value of the control </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="setSpinIncrement" class="membertitle">setSpinIncrement</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">[oneway] void</td> </tr> <tr> <td valign="top"><b>setSpinIncrement</b>(</td> <td valign="top">[in] long</td> <td valign="bottom"> spinIncrement );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>sets the value by which the current value of the control should be incremented or decremented upon spinning. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="getSpinIncrement" class="membertitle">getSpinIncrement</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">long</td> </tr> <tr> <td valign="top"><b>getSpinIncrement</b>();</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>returns the value by which the current value of the control should be incremented or decremented upon spinning. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="setOrientation" class="membertitle">setOrientation</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">void</td> </tr> <tr> <td valign="top"><b>setOrientation</b>(</td> <td valign="top">[in] long</td> <td valign="bottom"> orientation )</td> </tr> <tr> <td valign="top" align="right">raises( </td> <td valign="top" colspan="2">::com::sun::star::<a href="../lang/module-ix.html">lang</a>::<a href="../lang/NoSupportException.html">NoSupportException</a> );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>controls the orientation of the control </dd> <dt><b>Parameter orientation</b></dt> <dd>one of the <a href="ScrollBarOrientation.html">ScrollBarOrientation</a> values specifying the orientation </dd> <dt><b>Throws</b></dt> <dd>com::sun::star::lang::NoSupportException in case the given orientation is not supported </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="getOrientation" class="membertitle">getOrientation</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">long</td> </tr> <tr> <td valign="top"><b>getOrientation</b>();</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>returns the current orientation of the control </dd> </dl> </td> </tr> </table> </td> </tr> </table> <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>