<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_77) on Fri Apr 22 13:46:40 UTC 2016 --> <title>SpinnerValueFactory (JavaFX 8)</title> <meta name="date" content="2016-04-22"> <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> <script type="text/javascript" src="../../../script.js"></script> </head> <body> <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="SpinnerValueFactory (JavaFX 8)"; } } catch(err) { } //--> var methods = {"i0":10,"i1":10,"i2":10}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; var tableTab = "tableTab"; var activeTableTab = "activeTableTab"; var methods = {"i0":10,"i1":6,"i2":10,"i3":10,"i4":6,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; var tableTab = "tableTab"; var activeTableTab = "activeTableTab"; </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <!-- ========= START OF TOP NAVBAR ======= --> <div class="topNav"><a name="navbar.top"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.top.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="class-use/SpinnerValueFactory.html">Use</a></li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../index-all.html">Index</a></li> <li><a href="../../../help-doc.html">Help</a></li> </ul> <div class="aboutLanguage">JavaFX 8</div> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../../javafx/scene/control/Spinner.html" title="class in javafx.scene.control"><span class="typeNameLink">Prev Class</span></a></li> <li><a href="../../../javafx/scene/control/SpinnerValueFactory.DoubleSpinnerValueFactory.html" title="class in javafx.scene.control"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../index.html?javafx/scene/control/SpinnerValueFactory.html" target="_top">Frames</a></li> <li><a href="SpinnerValueFactory.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_top"> <li><a href="../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_top"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>Summary: </li> <li><a href="#nested.class.summary">Nested</a> | </li> <li>Field | </li> <li><a href="#constructor.summary">Constr</a> | </li> <li><a href="#method.summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail: </li> <li>Field | </li> <li><a href="#constructor.detail">Constr</a> | </li> <li><a href="#method.detail">Method</a></li> </ul> </div> <a name="skip.navbar.top"> <!-- --> </a></div> <!-- ========= END OF TOP NAVBAR ========= --> <!-- ======== START OF CLASS DATA ======== --> <div class="header"> <div class="subTitle">javafx.scene.control</div> <h2 title="Class SpinnerValueFactory" class="title">Class SpinnerValueFactory<T></h2> </div> <div class="contentContainer"> <ul class="inheritance"> <li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> <li> <ul class="inheritance"> <li>javafx.scene.control.SpinnerValueFactory<T></li> </ul> </li> </ul> <div class="description"> <ul class="blockList"> <li class="blockList"> <dl> <dt><span class="paramLabel">Type Parameters:</span></dt> <dd><code>T</code> - The type of the data this value factory deals with, which must coincide with the type of the Spinner that the value factory is set on.</dd> </dl> <dl> <dt>Direct Known Subclasses:</dt> <dd><a href="../../../javafx/scene/control/SpinnerValueFactory.DoubleSpinnerValueFactory.html" title="class in javafx.scene.control">SpinnerValueFactory.DoubleSpinnerValueFactory</a>, <a href="../../../javafx/scene/control/SpinnerValueFactory.IntegerSpinnerValueFactory.html" title="class in javafx.scene.control">SpinnerValueFactory.IntegerSpinnerValueFactory</a>, <a href="../../../javafx/scene/control/SpinnerValueFactory.ListSpinnerValueFactory.html" title="class in javafx.scene.control">SpinnerValueFactory.ListSpinnerValueFactory</a></dd> </dl> <hr> <br> <pre>public abstract class <span class="typeNameLabel">SpinnerValueFactory<T></span> extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre> <div class="block">The SpinnerValueFactory is the model behind the JavaFX <a href="../../../javafx/scene/control/Spinner.html" title="class in javafx.scene.control"><code>Spinner control</code></a> - without a value factory installed a Spinner is unusable. It is the role of the value factory to handle almost all aspects of the Spinner, including: <ul> <li>Representing the current state of the <a href="../../../javafx/scene/control/SpinnerValueFactory.html#valueProperty--"><code>value</code></a>,</li> <li><a href="../../../javafx/scene/control/SpinnerValueFactory.html#increment-int-"><code>Incrementing</code></a> and <a href="../../../javafx/scene/control/SpinnerValueFactory.html#decrement-int-"><code>decrementing</code></a> the value, with one or more steps per call,</li> <li><a href="../../../javafx/scene/control/SpinnerValueFactory.html#converterProperty--"><code>Converting</code></a> text input from the user (via the Spinner <a href="../../../javafx/scene/control/Spinner.html#editorProperty--"><code>editor</code></a>,</li> <li>Converting <a href="../../../javafx/scene/control/SpinnerValueFactory.html#converterProperty--"><code>objects to user-readable strings</code></a> for display on screen</li> </ul> <p>SpinnerValueFactory classes for some common types are provided with JavaFX, including: <br/> <ul> <li><a href="../../../javafx/scene/control/SpinnerValueFactory.IntegerSpinnerValueFactory.html" title="class in javafx.scene.control"><code>SpinnerValueFactory.IntegerSpinnerValueFactory</code></a></li> <li><a href="../../../javafx/scene/control/SpinnerValueFactory.DoubleSpinnerValueFactory.html" title="class in javafx.scene.control"><code>SpinnerValueFactory.DoubleSpinnerValueFactory</code></a></li> <li><a href="../../../javafx/scene/control/SpinnerValueFactory.ListSpinnerValueFactory.html" title="class in javafx.scene.control"><code>SpinnerValueFactory.ListSpinnerValueFactory</code></a></li> </ul></div> <dl> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>JavaFX 8u40</dd> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/control/Spinner.html" title="class in javafx.scene.control"><code>Spinner</code></a>, <a href="../../../javafx/scene/control/SpinnerValueFactory.IntegerSpinnerValueFactory.html" title="class in javafx.scene.control"><code>SpinnerValueFactory.IntegerSpinnerValueFactory</code></a>, <a href="../../../javafx/scene/control/SpinnerValueFactory.DoubleSpinnerValueFactory.html" title="class in javafx.scene.control"><code>SpinnerValueFactory.DoubleSpinnerValueFactory</code></a>, <a href="../../../javafx/scene/control/SpinnerValueFactory.ListSpinnerValueFactory.html" title="class in javafx.scene.control"><code>SpinnerValueFactory.ListSpinnerValueFactory</code></a></dd> </dl> </li> </ul> </div> <div class="summary"> <ul class="blockList"> <li class="blockList"> <!-- =========== PROPERTY SUMMARY =========== --> <ul class="blockList"> <li class="blockList"><a name="property.summary"> <!-- --> </a> <h3>Property Summary</h3> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Property Summary table, listing properties, and an explanation"> <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> <tr> <th class="colFirst" scope="col">Type</th> <th class="colLast" scope="col">Property and Description</th> </tr> <tr id="i0" class="altColor"> <td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../../javafx/util/StringConverter.html" title="class in javafx.util">StringConverter</a><<a href="../../../javafx/scene/control/SpinnerValueFactory.html" title="type parameter in SpinnerValueFactory">T</a>>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/SpinnerValueFactory.html#converterProperty">converter</a></span></code> <div class="block">Converts the user-typed input (when the Spinner is <a href="../../../javafx/scene/control/Spinner.html#editableProperty--"><code>editable</code></a>) to an object of type T, such that the input may be retrieved via the <a href="../../../javafx/scene/control/SpinnerValueFactory.html#valueProperty--"><code>value</code></a> property.</div> </td> </tr> <tr id="i1" class="rowColor"> <td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../../javafx/scene/control/SpinnerValueFactory.html" title="type parameter in SpinnerValueFactory">T</a>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/SpinnerValueFactory.html#valueProperty">value</a></span></code> <div class="block">Represents the current value of the SpinnerValueFactory, or null if no value has been set.</div> </td> </tr> <tr id="i2" class="altColor"> <td class="colFirst"><code><a href="../../../javafx/beans/property/BooleanProperty.html" title="class in javafx.beans.property">BooleanProperty</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/SpinnerValueFactory.html#wrapAroundProperty">wrapAround</a></span></code> <div class="block">The wrapAround property is used to specify whether the value factory should be circular.</div> </td> </tr> </table> </li> </ul> <!-- ======== NESTED CLASS SUMMARY ======== --> <ul class="blockList"> <li class="blockList"><a name="nested.class.summary"> <!-- --> </a> <h3>Nested Class Summary</h3> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation"> <caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Class and Description</th> </tr> <tr class="altColor"> <td class="colFirst"><code>static class </code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/SpinnerValueFactory.DoubleSpinnerValueFactory.html" title="class in javafx.scene.control">SpinnerValueFactory.DoubleSpinnerValueFactory</a></span></code> <div class="block">A <a href="../../../javafx/scene/control/SpinnerValueFactory.html" title="class in javafx.scene.control"><code>SpinnerValueFactory</code></a> implementation designed to iterate through double values.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static class </code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/SpinnerValueFactory.IntegerSpinnerValueFactory.html" title="class in javafx.scene.control">SpinnerValueFactory.IntegerSpinnerValueFactory</a></span></code> <div class="block">A <a href="../../../javafx/scene/control/SpinnerValueFactory.html" title="class in javafx.scene.control"><code>SpinnerValueFactory</code></a> implementation designed to iterate through integer values.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static class </code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/SpinnerValueFactory.ListSpinnerValueFactory.html" title="class in javafx.scene.control">SpinnerValueFactory.ListSpinnerValueFactory</a><<a href="../../../javafx/scene/control/SpinnerValueFactory.ListSpinnerValueFactory.html" title="type parameter in SpinnerValueFactory.ListSpinnerValueFactory">T</a>></span></code> <div class="block">A <a href="../../../javafx/scene/control/SpinnerValueFactory.html" title="class in javafx.scene.control"><code>SpinnerValueFactory</code></a> implementation designed to iterate through a list of values.</div> </td> </tr> </table> </li> </ul> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <ul class="blockList"> <li class="blockList"><a name="constructor.summary"> <!-- --> </a> <h3>Constructor Summary</h3> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> <caption><span>Constructors</span><span class="tabEnd"> </span></caption> <tr> <th class="colOne" scope="col">Constructor and Description</th> </tr> <tr class="altColor"> <td class="colOne"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/SpinnerValueFactory.html#SpinnerValueFactory--">SpinnerValueFactory</a></span>()</code> </td> </tr> </table> </li> </ul> <!-- ========== METHOD SUMMARY =========== --> <ul class="blockList"> <li class="blockList"><a name="method.summary"> <!-- --> </a> <h3>Method Summary</h3> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tr id="i0" class="altColor"> <td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../../javafx/util/StringConverter.html" title="class in javafx.util">StringConverter</a><<a href="../../../javafx/scene/control/SpinnerValueFactory.html" title="type parameter in SpinnerValueFactory">T</a>>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/SpinnerValueFactory.html#converterProperty--">converterProperty</a></span>()</code> <div class="block">Converts the user-typed input (when the Spinner is <a href="../../../javafx/scene/control/Spinner.html#editableProperty--"><code>editable</code></a>) to an object of type T, such that the input may be retrieved via the <a href="../../../javafx/scene/control/SpinnerValueFactory.html#valueProperty--"><code>value</code></a> property.</div> </td> </tr> <tr id="i1" class="rowColor"> <td class="colFirst"><code>abstract void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/SpinnerValueFactory.html#decrement-int-">decrement</a></span>(int steps)</code> <div class="block">Attempts to decrement the <a href="../../../javafx/scene/control/SpinnerValueFactory.html#valueProperty--"><code>value</code></a> by the given number of steps.</div> </td> </tr> <tr id="i2" class="altColor"> <td class="colFirst"><code><a href="../../../javafx/util/StringConverter.html" title="class in javafx.util">StringConverter</a><<a href="../../../javafx/scene/control/SpinnerValueFactory.html" title="type parameter in SpinnerValueFactory">T</a>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/SpinnerValueFactory.html#getConverter--">getConverter</a></span>()</code> <div class="block">Gets the value of the property converter.</div> </td> </tr> <tr id="i3" class="rowColor"> <td class="colFirst"><code><a href="../../../javafx/scene/control/SpinnerValueFactory.html" title="type parameter in SpinnerValueFactory">T</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/SpinnerValueFactory.html#getValue--">getValue</a></span>()</code> <div class="block">Gets the value of the property value.</div> </td> </tr> <tr id="i4" class="altColor"> <td class="colFirst"><code>abstract void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/SpinnerValueFactory.html#increment-int-">increment</a></span>(int steps)</code> <div class="block">Attempts to omcrement the <a href="../../../javafx/scene/control/SpinnerValueFactory.html#valueProperty--"><code>value</code></a> by the given number of steps.</div> </td> </tr> <tr id="i5" class="rowColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/SpinnerValueFactory.html#isWrapAround--">isWrapAround</a></span>()</code> <div class="block">Gets the value of the property wrapAround.</div> </td> </tr> <tr id="i6" class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/SpinnerValueFactory.html#setConverter-javafx.util.StringConverter-">setConverter</a></span>(<a href="../../../javafx/util/StringConverter.html" title="class in javafx.util">StringConverter</a><<a href="../../../javafx/scene/control/SpinnerValueFactory.html" title="type parameter in SpinnerValueFactory">T</a>> newValue)</code> <div class="block">Sets the value of the property converter.</div> </td> </tr> <tr id="i7" class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/SpinnerValueFactory.html#setValue-T-">setValue</a></span>(<a href="../../../javafx/scene/control/SpinnerValueFactory.html" title="type parameter in SpinnerValueFactory">T</a> newValue)</code> <div class="block">Sets the value of the property value.</div> </td> </tr> <tr id="i8" class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/SpinnerValueFactory.html#setWrapAround-boolean-">setWrapAround</a></span>(boolean value)</code> <div class="block">Sets the value of the property wrapAround.</div> </td> </tr> <tr id="i9" class="rowColor"> <td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../../javafx/scene/control/SpinnerValueFactory.html" title="type parameter in SpinnerValueFactory">T</a>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/SpinnerValueFactory.html#valueProperty--">valueProperty</a></span>()</code> <div class="block">Represents the current value of the SpinnerValueFactory, or null if no value has been set.</div> </td> </tr> <tr id="i10" class="altColor"> <td class="colFirst"><code><a href="../../../javafx/beans/property/BooleanProperty.html" title="class in javafx.beans.property">BooleanProperty</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/SpinnerValueFactory.html#wrapAroundProperty--">wrapAroundProperty</a></span>()</code> <div class="block">The wrapAround property is used to specify whether the value factory should be circular.</div> </td> </tr> </table> <ul class="blockList"> <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> <!-- --> </a> <h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> </ul> </li> </ul> </li> </ul> </div> <div class="details"> <ul class="blockList"> <li class="blockList"> <!-- ============ PROPERTY DETAIL =========== --> <ul class="blockList"> <li class="blockList"><a name="property.detail"> <!-- --> </a> <h3>Property Detail</h3> <a name="valueProperty"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>value</h4> <pre>public final <a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../../javafx/scene/control/SpinnerValueFactory.html" title="type parameter in SpinnerValueFactory">T</a>> valueProperty</pre> <div class="block">Represents the current value of the SpinnerValueFactory, or null if no value has been set.</div> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/control/SpinnerValueFactory.html#getValue--"><code>getValue()</code></a>, <a href="../../../javafx/scene/control/SpinnerValueFactory.html#setValue-T-"><code>setValue(T)</code></a></dd> </dl> </li> </ul> <a name="converterProperty"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>converter</h4> <pre>public final <a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../../javafx/util/StringConverter.html" title="class in javafx.util">StringConverter</a><<a href="../../../javafx/scene/control/SpinnerValueFactory.html" title="type parameter in SpinnerValueFactory">T</a>>> converterProperty</pre> <div class="block">Converts the user-typed input (when the Spinner is <a href="../../../javafx/scene/control/Spinner.html#editableProperty--"><code>editable</code></a>) to an object of type T, such that the input may be retrieved via the <a href="../../../javafx/scene/control/SpinnerValueFactory.html#valueProperty--"><code>value</code></a> property.</div> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/control/SpinnerValueFactory.html#getConverter--"><code>getConverter()</code></a>, <a href="../../../javafx/scene/control/SpinnerValueFactory.html#setConverter-javafx.util.StringConverter-"><code>setConverter(StringConverter)</code></a></dd> </dl> </li> </ul> <a name="wrapAroundProperty"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>wrapAround</h4> <pre>public final <a href="../../../javafx/beans/property/BooleanProperty.html" title="class in javafx.beans.property">BooleanProperty</a> wrapAroundProperty</pre> <div class="block">The wrapAround property is used to specify whether the value factory should be circular. For example, should an integer-based value model increment from the maximum value back to the minimum value (and vice versa).</div> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/control/SpinnerValueFactory.html#isWrapAround--"><code>isWrapAround()</code></a>, <a href="../../../javafx/scene/control/SpinnerValueFactory.html#setWrapAround-boolean-"><code>setWrapAround(boolean)</code></a></dd> </dl> </li> </ul> </li> </ul> <!-- ========= CONSTRUCTOR DETAIL ======== --> <ul class="blockList"> <li class="blockList"><a name="constructor.detail"> <!-- --> </a> <h3>Constructor Detail</h3> <a name="SpinnerValueFactory--"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>SpinnerValueFactory</h4> <pre>public SpinnerValueFactory()</pre> </li> </ul> </li> </ul> <!-- ============ METHOD DETAIL ========== --> <ul class="blockList"> <li class="blockList"><a name="method.detail"> <!-- --> </a> <h3>Method Detail</h3> <a name="decrement-int-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>decrement</h4> <pre>public abstract void decrement(int steps)</pre> <div class="block">Attempts to decrement the <a href="../../../javafx/scene/control/SpinnerValueFactory.html#valueProperty--"><code>value</code></a> by the given number of steps.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>steps</code> - The number of decrements that should be performed on the value.</dd> </dl> </li> </ul> <a name="increment-int-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>increment</h4> <pre>public abstract void increment(int steps)</pre> <div class="block">Attempts to omcrement the <a href="../../../javafx/scene/control/SpinnerValueFactory.html#valueProperty--"><code>value</code></a> by the given number of steps.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>steps</code> - The number of increments that should be performed on the value.</dd> </dl> </li> </ul> <a name="getValue--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getValue</h4> <pre>public final <a href="../../../javafx/scene/control/SpinnerValueFactory.html" title="type parameter in SpinnerValueFactory">T</a> getValue()</pre> <div class="block">Gets the value of the property value.</div> <dl> <dt><span class="simpleTagLabel">Property description:</span></dt> <dd>Represents the current value of the SpinnerValueFactory, or null if no value has been set.</dd> </dl> </li> </ul> <a name="setValue-java.lang.Object-"> <!-- --> </a><a name="setValue-T-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setValue</h4> <pre>public final void setValue(<a href="../../../javafx/scene/control/SpinnerValueFactory.html" title="type parameter in SpinnerValueFactory">T</a> newValue)</pre> <div class="block">Sets the value of the property value.</div> <dl> <dt><span class="simpleTagLabel">Property description:</span></dt> <dd>Represents the current value of the SpinnerValueFactory, or null if no value has been set.</dd> </dl> </li> </ul> <a name="valueProperty--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>valueProperty</h4> <pre>public final <a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../../javafx/scene/control/SpinnerValueFactory.html" title="type parameter in SpinnerValueFactory">T</a>> valueProperty()</pre> <div class="block">Represents the current value of the SpinnerValueFactory, or null if no value has been set.</div> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/control/SpinnerValueFactory.html#getValue--"><code>getValue()</code></a>, <a href="../../../javafx/scene/control/SpinnerValueFactory.html#setValue-T-"><code>setValue(T)</code></a></dd> </dl> </li> </ul> <a name="getConverter--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getConverter</h4> <pre>public final <a href="../../../javafx/util/StringConverter.html" title="class in javafx.util">StringConverter</a><<a href="../../../javafx/scene/control/SpinnerValueFactory.html" title="type parameter in SpinnerValueFactory">T</a>> getConverter()</pre> <div class="block">Gets the value of the property converter.</div> <dl> <dt><span class="simpleTagLabel">Property description:</span></dt> <dd>Converts the user-typed input (when the Spinner is <a href="../../../javafx/scene/control/Spinner.html#editableProperty--"><code>editable</code></a>) to an object of type T, such that the input may be retrieved via the <a href="../../../javafx/scene/control/SpinnerValueFactory.html#valueProperty--"><code>value</code></a> property.</dd> </dl> </li> </ul> <a name="setConverter-javafx.util.StringConverter-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setConverter</h4> <pre>public final void setConverter(<a href="../../../javafx/util/StringConverter.html" title="class in javafx.util">StringConverter</a><<a href="../../../javafx/scene/control/SpinnerValueFactory.html" title="type parameter in SpinnerValueFactory">T</a>> newValue)</pre> <div class="block">Sets the value of the property converter.</div> <dl> <dt><span class="simpleTagLabel">Property description:</span></dt> <dd>Converts the user-typed input (when the Spinner is <a href="../../../javafx/scene/control/Spinner.html#editableProperty--"><code>editable</code></a>) to an object of type T, such that the input may be retrieved via the <a href="../../../javafx/scene/control/SpinnerValueFactory.html#valueProperty--"><code>value</code></a> property.</dd> </dl> </li> </ul> <a name="converterProperty--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>converterProperty</h4> <pre>public final <a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../../javafx/util/StringConverter.html" title="class in javafx.util">StringConverter</a><<a href="../../../javafx/scene/control/SpinnerValueFactory.html" title="type parameter in SpinnerValueFactory">T</a>>> converterProperty()</pre> <div class="block">Converts the user-typed input (when the Spinner is <a href="../../../javafx/scene/control/Spinner.html#editableProperty--"><code>editable</code></a>) to an object of type T, such that the input may be retrieved via the <a href="../../../javafx/scene/control/SpinnerValueFactory.html#valueProperty--"><code>value</code></a> property.</div> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/control/SpinnerValueFactory.html#getConverter--"><code>getConverter()</code></a>, <a href="../../../javafx/scene/control/SpinnerValueFactory.html#setConverter-javafx.util.StringConverter-"><code>setConverter(StringConverter)</code></a></dd> </dl> </li> </ul> <a name="setWrapAround-boolean-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setWrapAround</h4> <pre>public final void setWrapAround(boolean value)</pre> <div class="block">Sets the value of the property wrapAround.</div> <dl> <dt><span class="simpleTagLabel">Property description:</span></dt> <dd>The wrapAround property is used to specify whether the value factory should be circular. For example, should an integer-based value model increment from the maximum value back to the minimum value (and vice versa).</dd> </dl> </li> </ul> <a name="isWrapAround--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>isWrapAround</h4> <pre>public final boolean isWrapAround()</pre> <div class="block">Gets the value of the property wrapAround.</div> <dl> <dt><span class="simpleTagLabel">Property description:</span></dt> <dd>The wrapAround property is used to specify whether the value factory should be circular. For example, should an integer-based value model increment from the maximum value back to the minimum value (and vice versa).</dd> </dl> </li> </ul> <a name="wrapAroundProperty--"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>wrapAroundProperty</h4> <pre>public final <a href="../../../javafx/beans/property/BooleanProperty.html" title="class in javafx.beans.property">BooleanProperty</a> wrapAroundProperty()</pre> <div class="block">The wrapAround property is used to specify whether the value factory should be circular. For example, should an integer-based value model increment from the maximum value back to the minimum value (and vice versa).</div> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/control/SpinnerValueFactory.html#isWrapAround--"><code>isWrapAround()</code></a>, <a href="../../../javafx/scene/control/SpinnerValueFactory.html#setWrapAround-boolean-"><code>setWrapAround(boolean)</code></a></dd> </dl> </li> </ul> </li> </ul> </li> </ul> </div> </div> <!-- ========= END OF CLASS DATA ========= --> <!-- ======= START OF BOTTOM NAVBAR ====== --> <div class="bottomNav"><a name="navbar.bottom"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.bottom.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="class-use/SpinnerValueFactory.html">Use</a></li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../index-all.html">Index</a></li> <li><a href="../../../help-doc.html">Help</a></li> </ul> <div class="aboutLanguage">JavaFX 8</div> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../../javafx/scene/control/Spinner.html" title="class in javafx.scene.control"><span class="typeNameLink">Prev Class</span></a></li> <li><a href="../../../javafx/scene/control/SpinnerValueFactory.DoubleSpinnerValueFactory.html" title="class in javafx.scene.control"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../index.html?javafx/scene/control/SpinnerValueFactory.html" target="_top">Frames</a></li> <li><a href="SpinnerValueFactory.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_bottom"> <li><a href="../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_bottom"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>Summary: </li> <li><a href="#nested.class.summary">Nested</a> | </li> <li>Field | </li> <li><a href="#constructor.summary">Constr</a> | </li> <li><a href="#method.summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail: </li> <li>Field | </li> <li><a href="#constructor.detail">Constr</a> | </li> <li><a href="#method.detail">Method</a></li> </ul> </div> <a name="skip.navbar.bottom"> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> <p class="legalCopy"><small><small><a href="https://docs.oracle.com/javase/8/docs/legal/cpyr.html">Copyright</a> (c) 2008, 2016, Oracle and/or its affiliates. All rights reserved.</small></small></p> </body> </html>