<HTML> <HEAD> <meta charset="UTF-8"> <title>Spinner.<init> - 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="./-init-.html"><init></a><br/> <br/> <h1><init></h1> <a name="pl.treksoft.kvision.form.spinner.Spinner$<init>(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)"></a> <code><span class="identifier">Spinner</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.spinner.Spinner$<init>(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)/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$<init>(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)/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$<init>(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)/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$<init>(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)/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$<init>(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)/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$<init>(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)/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$<init>(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)/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$<init>(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)/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$<init>(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)/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></code> <h3>Parameters</h3> <p><a name="value"></a> <code>value</code> - spinner value</p> <p><a name="min"></a> <code>min</code> - minimal value (default 0)</p> <p><a name="max"></a> <code>max</code> - maximal value (default 100)</p> <p><a name="step"></a> <code>step</code> - step value (default 1)</p> <p><a name="decimals"></a> <code>decimals</code> - number of decimal digits (default 0)</p> <p><a name="buttonsType"></a> <code>buttonsType</code> - spinner buttons type</p> <p><a name="forceType"></a> <code>forceType</code> - spinner force rounding type</p> <p><a name="label"></a> <code>label</code> - label text bound to the input element</p> <p><a name="rich"></a> <code>rich</code> - determines if <a href="-init-.html#pl.treksoft.kvision.form.spinner.Spinner$<init>(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)/label">label</a> can contain HTML code</p> <p><strong>Constructor</strong><br/> </p> </BODY> </HTML>