<HTML> <HEAD> <meta charset="UTF-8"> <title>Spinner.spinner - kvision</title> <link rel="stylesheet" href="../../../style.css"> </HEAD> <BODY> <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.form.spinner</a> / <a href="index.html">Spinner</a> / <a href="./spinner.html">spinner</a><br/> <br/> <h1>spinner</h1> <a name="pl.treksoft.kvision.form.spinner.Spinner.Companion$spinner(pl.treksoft.kvision.core.Container, kotlin.Number, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.BUTTONSTYPE, pl.treksoft.kvision.form.spinner.FORCETYPE, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.spinner.Spinner, kotlin.Unit)))"></a> <code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">spinner</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.spinner.Spinner.Companion$spinner(pl.treksoft.kvision.core.Container, kotlin.Number, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.BUTTONSTYPE, pl.treksoft.kvision.form.spinner.FORCETYPE, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.spinner.Spinner, kotlin.Unit)))/value">value</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html"><span class="identifier">Number</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.spinner.Spinner.Companion$spinner(pl.treksoft.kvision.core.Container, kotlin.Number, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.BUTTONSTYPE, pl.treksoft.kvision.form.spinner.FORCETYPE, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.spinner.Spinner, kotlin.Unit)))/min">min</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a> <span class="symbol">=</span> 0<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.spinner.Spinner.Companion$spinner(pl.treksoft.kvision.core.Container, kotlin.Number, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.BUTTONSTYPE, pl.treksoft.kvision.form.spinner.FORCETYPE, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.spinner.Spinner, kotlin.Unit)))/max">max</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a> <span class="symbol">=</span> DEFAULT_MAX<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.spinner.Spinner.Companion$spinner(pl.treksoft.kvision.core.Container, kotlin.Number, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.BUTTONSTYPE, pl.treksoft.kvision.form.spinner.FORCETYPE, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.spinner.Spinner, kotlin.Unit)))/step">step</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html"><span class="identifier">Double</span></a> <span class="symbol">=</span> DEFAULT_STEP<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.spinner.Spinner.Companion$spinner(pl.treksoft.kvision.core.Container, kotlin.Number, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.BUTTONSTYPE, pl.treksoft.kvision.form.spinner.FORCETYPE, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.spinner.Spinner, kotlin.Unit)))/decimals">decimals</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a> <span class="symbol">=</span> 0<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.spinner.Spinner.Companion$spinner(pl.treksoft.kvision.core.Container, kotlin.Number, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.BUTTONSTYPE, pl.treksoft.kvision.form.spinner.FORCETYPE, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.spinner.Spinner, kotlin.Unit)))/buttonsType">buttonsType</span><span class="symbol">:</span> <a href="../-b-u-t-t-o-n-s-t-y-p-e/index.html"><span class="identifier">BUTTONSTYPE</span></a> <span class="symbol">=</span> BUTTONSTYPE.VERTICAL<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.spinner.Spinner.Companion$spinner(pl.treksoft.kvision.core.Container, kotlin.Number, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.BUTTONSTYPE, pl.treksoft.kvision.form.spinner.FORCETYPE, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.spinner.Spinner, kotlin.Unit)))/forceType">forceType</span><span class="symbol">:</span> <a href="../-f-o-r-c-e-t-y-p-e/index.html"><span class="identifier">FORCETYPE</span></a> <span class="symbol">=</span> FORCETYPE.NONE<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.spinner.Spinner.Companion$spinner(pl.treksoft.kvision.core.Container, kotlin.Number, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.BUTTONSTYPE, pl.treksoft.kvision.form.spinner.FORCETYPE, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.spinner.Spinner, kotlin.Unit)))/label">label</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.spinner.Spinner.Companion$spinner(pl.treksoft.kvision.core.Container, kotlin.Number, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.BUTTONSTYPE, pl.treksoft.kvision.form.spinner.FORCETYPE, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.spinner.Spinner, kotlin.Unit)))/rich">rich</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.spinner.Spinner.Companion$spinner(pl.treksoft.kvision.core.Container, kotlin.Number, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.BUTTONSTYPE, pl.treksoft.kvision.form.spinner.FORCETYPE, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.spinner.Spinner, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <a href="index.html"><span class="identifier">Spinner</span></a><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a> <span class="symbol">=</span> null<span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">Spinner</span></a></code> <p>DSL builder extension function.</p> <p>It takes the same parameters as the constructor of the built component.</p> </BODY> </HTML>