summaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.form.spinner/index.html
blob: 26904bde773826341c64da6a336808f277457bb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>pl.treksoft.kvision.form.spinner - kvision</title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">kvision</a>&nbsp;/&nbsp;<a href="./index.html">pl.treksoft.kvision.form.spinner</a><br/>
<br/>
<h2>Package pl.treksoft.kvision.form.spinner</h2>
<p>Spinner input component.</p>
<h3>Types</h3>
<table>
<tbody>
<tr>
<td>
<p><a href="-buttons-type/index.html">ButtonsType</a></p>
</td>
<td>
<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">ButtonsType</span></code>
<p>Spinner buttons layout types.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-force-type/index.html">ForceType</a></p>
</td>
<td>
<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">ForceType</span></code>
<p>Spinner force rounding types.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-spinner/index.html">Spinner</a></p>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Spinner</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../pl.treksoft.kvision.panel/-simple-panel/index.html"><span class="identifier">SimplePanel</span></a><span class="symbol">, </span><a href="../pl.treksoft.kvision.form/-number-form-control/index.html"><span class="identifier">NumberFormControl</span></a></code>
<p>The form field component for spinner control.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-spinner-input/index.html">SpinnerInput</a></p>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">SpinnerInput</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">, </span><a href="../pl.treksoft.kvision.form/-form-input/index.html"><span class="identifier">FormInput</span></a></code>
<p>The basic component for spinner control.</p>
</td>
</tr>
</tbody>
</table>
<h3>Functions</h3>
<table>
<tbody>
<tr>
<td>
<p><a href="spinner.html">spinner</a></p>
</td>
<td>
<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(pl.treksoft.kvision.core.Container, kotlin.Number, kotlin.String, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.ButtonsType, pl.treksoft.kvision.form.spinner.ForceType, pl.treksoft.kvision.html.ButtonStyle, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.spinner.Spinner, kotlin.Unit)))/value">value</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html"><span class="identifier">Number</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.spinner$spinner(pl.treksoft.kvision.core.Container, kotlin.Number, kotlin.String, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.ButtonsType, pl.treksoft.kvision.form.spinner.ForceType, pl.treksoft.kvision.html.ButtonStyle, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.spinner.Spinner, kotlin.Unit)))/name">name</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.spinner$spinner(pl.treksoft.kvision.core.Container, kotlin.Number, kotlin.String, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.ButtonsType, pl.treksoft.kvision.form.spinner.ForceType, pl.treksoft.kvision.html.ButtonStyle, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.spinner.Spinner, kotlin.Unit)))/min">min</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.spinner$spinner(pl.treksoft.kvision.core.Container, kotlin.Number, kotlin.String, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.ButtonsType, pl.treksoft.kvision.form.spinner.ForceType, pl.treksoft.kvision.html.ButtonStyle, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.spinner.Spinner, kotlin.Unit)))/max">max</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.spinner$spinner(pl.treksoft.kvision.core.Container, kotlin.Number, kotlin.String, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.ButtonsType, pl.treksoft.kvision.form.spinner.ForceType, pl.treksoft.kvision.html.ButtonStyle, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.spinner.Spinner, kotlin.Unit)))/step">step</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html"><span class="identifier">Double</span></a>&nbsp;<span class="symbol">=</span>&nbsp;DEFAULT_STEP<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.spinner$spinner(pl.treksoft.kvision.core.Container, kotlin.Number, kotlin.String, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.ButtonsType, pl.treksoft.kvision.form.spinner.ForceType, pl.treksoft.kvision.html.ButtonStyle, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.spinner.Spinner, kotlin.Unit)))/decimals">decimals</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a>&nbsp;<span class="symbol">=</span>&nbsp;0<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.spinner$spinner(pl.treksoft.kvision.core.Container, kotlin.Number, kotlin.String, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.ButtonsType, pl.treksoft.kvision.form.spinner.ForceType, pl.treksoft.kvision.html.ButtonStyle, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.spinner.Spinner, kotlin.Unit)))/buttonsType">buttonsType</span><span class="symbol">:</span>&nbsp;<a href="-buttons-type/index.html"><span class="identifier">ButtonsType</span></a>&nbsp;<span class="symbol">=</span>&nbsp;ButtonsType.VERTICAL<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.spinner$spinner(pl.treksoft.kvision.core.Container, kotlin.Number, kotlin.String, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.ButtonsType, pl.treksoft.kvision.form.spinner.ForceType, pl.treksoft.kvision.html.ButtonStyle, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.spinner.Spinner, kotlin.Unit)))/forceType">forceType</span><span class="symbol">:</span>&nbsp;<a href="-force-type/index.html"><span class="identifier">ForceType</span></a>&nbsp;<span class="symbol">=</span>&nbsp;ForceType.NONE<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.spinner$spinner(pl.treksoft.kvision.core.Container, kotlin.Number, kotlin.String, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.ButtonsType, pl.treksoft.kvision.form.spinner.ForceType, pl.treksoft.kvision.html.ButtonStyle, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.spinner.Spinner, kotlin.Unit)))/buttonStyle">buttonStyle</span><span class="symbol">:</span>&nbsp;<a href="../pl.treksoft.kvision.html/-button-style/index.html"><span class="identifier">ButtonStyle</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.spinner$spinner(pl.treksoft.kvision.core.Container, kotlin.Number, kotlin.String, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.ButtonsType, pl.treksoft.kvision.form.spinner.ForceType, pl.treksoft.kvision.html.ButtonStyle, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.spinner.Spinner, kotlin.Unit)))/label">label</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.spinner$spinner(pl.treksoft.kvision.core.Container, kotlin.Number, kotlin.String, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.ButtonsType, pl.treksoft.kvision.form.spinner.ForceType, pl.treksoft.kvision.html.ButtonStyle, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.spinner.Spinner, kotlin.Unit)))/rich">rich</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a>&nbsp;<span class="symbol">=</span>&nbsp;false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.spinner$spinner(pl.treksoft.kvision.core.Container, kotlin.Number, kotlin.String, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.ButtonsType, pl.treksoft.kvision.form.spinner.ForceType, pl.treksoft.kvision.html.ButtonStyle, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.spinner.Spinner, kotlin.Unit)))/init">init</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><a href="-spinner/index.html"><span class="identifier">Spinner</span></a><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span><span class="symbol">: </span><a href="-spinner/index.html"><span class="identifier">Spinner</span></a></code>
<p>DSL builder extension function.</p>
</td>
</tr>
<tr>
<td>
<p><a href="spinner-input.html">spinnerInput</a></p>
</td>
<td>
<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">spinnerInput</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.spinner$spinnerInput(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, pl.treksoft.kvision.html.ButtonStyle, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.spinner.SpinnerInput, kotlin.Unit)))/value">value</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html"><span class="identifier">Number</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.spinner$spinnerInput(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, pl.treksoft.kvision.html.ButtonStyle, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.spinner.SpinnerInput, kotlin.Unit)))/min">min</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.spinner$spinnerInput(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, pl.treksoft.kvision.html.ButtonStyle, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.spinner.SpinnerInput, kotlin.Unit)))/max">max</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.spinner$spinnerInput(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, pl.treksoft.kvision.html.ButtonStyle, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.spinner.SpinnerInput, kotlin.Unit)))/step">step</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html"><span class="identifier">Double</span></a>&nbsp;<span class="symbol">=</span>&nbsp;DEFAULT_STEP<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.spinner$spinnerInput(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, pl.treksoft.kvision.html.ButtonStyle, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.spinner.SpinnerInput, kotlin.Unit)))/decimals">decimals</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a>&nbsp;<span class="symbol">=</span>&nbsp;0<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.spinner$spinnerInput(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, pl.treksoft.kvision.html.ButtonStyle, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.spinner.SpinnerInput, kotlin.Unit)))/buttonsType">buttonsType</span><span class="symbol">:</span>&nbsp;<a href="-buttons-type/index.html"><span class="identifier">ButtonsType</span></a>&nbsp;<span class="symbol">=</span>&nbsp;ButtonsType.VERTICAL<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.spinner$spinnerInput(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, pl.treksoft.kvision.html.ButtonStyle, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.spinner.SpinnerInput, kotlin.Unit)))/forceType">forceType</span><span class="symbol">:</span>&nbsp;<a href="-force-type/index.html"><span class="identifier">ForceType</span></a>&nbsp;<span class="symbol">=</span>&nbsp;ForceType.NONE<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.spinner$spinnerInput(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, pl.treksoft.kvision.html.ButtonStyle, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.spinner.SpinnerInput, kotlin.Unit)))/buttonStyle">buttonStyle</span><span class="symbol">:</span>&nbsp;<a href="../pl.treksoft.kvision.html/-button-style/index.html"><span class="identifier">ButtonStyle</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.spinner$spinnerInput(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, pl.treksoft.kvision.html.ButtonStyle, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.spinner.SpinnerInput, kotlin.Unit)))/classes">classes</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-set/index.html"><span class="identifier">Set</span></a><span class="symbol">&lt;</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">&gt;</span>&nbsp;<span class="symbol">=</span>&nbsp;setOf()<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.spinner$spinnerInput(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, pl.treksoft.kvision.html.ButtonStyle, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.spinner.SpinnerInput, kotlin.Unit)))/init">init</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><a href="-spinner-input/index.html"><span class="identifier">SpinnerInput</span></a><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span><span class="symbol">: </span><a href="-spinner-input/index.html"><span class="identifier">SpinnerInput</span></a></code>
<p>DSL builder extension function.</p>
</td>
</tr>
</tbody>
</table>
</BODY>
</HTML>