summaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.form.spinner/-spinner/index.html
blob: f2d8bda606edf7e0cf74cecac1b1199c34256ecd (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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>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>&nbsp;/&nbsp;<a href="./index.html">Spinner</a><br/>
<br/>
<h1>Spinner</h1>
<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>
<h3>Constructors</h3>
<table>
<tbody>
<tr>
<td>
<p><a href="-init-.html">&lt;init&gt;</a></p>
</td>
<td>
<code><span class="identifier">Spinner</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.spinner.Spinner$<init>(kotlin.Number, kotlin.String, 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>&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$<init>(kotlin.Number, kotlin.String, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.ButtonsType, pl.treksoft.kvision.form.spinner.ForceType, kotlin.String, kotlin.Boolean)/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$<init>(kotlin.Number, kotlin.String, 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>&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$<init>(kotlin.Number, kotlin.String, 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>&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;DEFAULT_MAX<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.spinner.Spinner$<init>(kotlin.Number, kotlin.String, 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>&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$<init>(kotlin.Number, kotlin.String, 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>&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$<init>(kotlin.Number, kotlin.String, 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>&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$<init>(kotlin.Number, kotlin.String, 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>&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$<init>(kotlin.Number, kotlin.String, 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>&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$<init>(kotlin.Number, kotlin.String, 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>&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></code></td>
</tr>
</tbody>
</table>
<h3>Properties</h3>
<table>
<tbody>
<tr>
<td>
<p><a href="autofocus.html">autofocus</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">autofocus</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></code>
<p>Determines if the spinner is automatically focused.</p>
</td>
</tr>
<tr>
<td>
<p><a href="buttons-type.html">buttonsType</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">buttonsType</span><span class="symbol">: </span><a href="../-buttons-type/index.html"><span class="identifier">ButtonsType</span></a></code>
<p>Spinner buttons type.</p>
</td>
</tr>
<tr>
<td>
<p><a href="decimals.html">decimals</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">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></code>
<p>Number of decimal digits value.</p>
</td>
</tr>
<tr>
<td>
<p><a href="flabel.html">flabel</a></p>
</td>
<td>
<code><span class="keyword">val </span><span class="identifier">flabel</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.form/-field-label/index.html"><span class="identifier">FieldLabel</span></a></code>
<p>Form field label.</p>
</td>
</tr>
<tr>
<td>
<p><a href="force-type.html">forceType</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">forceType</span><span class="symbol">: </span><a href="../-force-type/index.html"><span class="identifier">ForceType</span></a></code>
<p>Spinner force rounding type.</p>
</td>
</tr>
<tr>
<td>
<p><a href="idc.html">idc</a></p>
</td>
<td>
<code><span class="keyword">val </span><span class="identifier">idc</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a></code></td>
</tr>
<tr>
<td>
<p><a href="input.html">input</a></p>
</td>
<td>
<code><span class="keyword">val </span><span class="identifier">input</span><span class="symbol">: </span><a href="../-spinner-input/index.html"><span class="identifier">SpinnerInput</span></a></code>
<p>The actual input component.</p>
</td>
</tr>
<tr>
<td>
<p><a href="label.html">label</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">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></code>
<p>The label text bound to the spinner input element.</p>
</td>
</tr>
<tr>
<td>
<p><a href="max.html">max</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">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></code>
<p>Maximal value.</p>
</td>
</tr>
<tr>
<td>
<p><a href="min.html">min</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">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></code>
<p>Minimal value.</p>
</td>
</tr>
<tr>
<td>
<p><a href="placeholder.html">placeholder</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">placeholder</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></code>
<p>The placeholder for the spinner input.</p>
</td>
</tr>
<tr>
<td>
<p><a href="readonly.html">readonly</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">readonly</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></code>
<p>Determines if the spinner is read-only.</p>
</td>
</tr>
<tr>
<td>
<p><a href="rich.html">rich</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">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></code>
<p>Determines if <a href="label.html">label</a> can contain HTML code.</p>
</td>
</tr>
<tr>
<td>
<p><a href="start-value.html">startValue</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">startValue</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></code>
<p>The value attribute of the generated HTML input element.</p>
</td>
</tr>
<tr>
<td>
<p><a href="step.html">step</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">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></code>
<p>Step value.</p>
</td>
</tr>
<tr>
<td>
<p><a href="validation-info.html">validationInfo</a></p>
</td>
<td>
<code><span class="keyword">val </span><span class="identifier">validationInfo</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.form/-help-block/index.html"><span class="identifier">HelpBlock</span></a></code>
<p>Validation info component.</p>
</td>
</tr>
<tr>
<td>
<p><a href="value.html">value</a></p>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">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></code>
<p>Spinner value.</p>
</td>
</tr>
</tbody>
</table>
<h3>Functions</h3>
<table>
<tbody>
<tr>
<td>
<p><a href="blur.html">blur</a></p>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">blur</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></code>
<p>Makes the input element blur.</p>
</td>
</tr>
<tr>
<td>
<p><a href="focus.html">focus</a></p>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">focus</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></code>
<p>Makes the input element focused.</p>
</td>
</tr>
<tr>
<td>
<p><a href="get-sn-class.html">getSnClass</a></p>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getSnClass</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol">&lt;</span><a href="../../pl.treksoft.kvision.core/-string-bool-pair.html"><span class="identifier">StringBoolPair</span></a><span class="symbol">&gt;</span></code>
<p>Returns list of CSS class names for current widget in the form of a List.</p>
</td>
</tr>
<tr>
<td>
<p><a href="get-value-as-string.html">getValueAsString</a></p>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getValueAsString</span><span class="symbol">(</span><span class="symbol">)</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></code>
<p>Returns the value of the control as a String.</p>
</td>
</tr>
<tr>
<td>
<p><a href="remove-event-listeners.html">removeEventListeners</a></p>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeEventListeners</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code>
<p>Removes all event listeners from current widget.</p>
</td>
</tr>
<tr>
<td>
<p><a href="set-event-listener.html">setEventListener</a></p>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">T</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">&gt;</span> <span class="identifier">setEventListener</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.spinner.Spinner$setEventListener(kotlin.Function1((pl.treksoft.kvision.utils.SnOn((pl.treksoft.kvision.form.spinner.Spinner.setEventListener.T)), kotlin.Unit)))/block">block</span><span class="symbol">:</span>&nbsp;<span class="identifier">SnOn</span><span class="symbol">&lt;</span><a href="set-event-listener.html#T"><span class="identifier">T</span></a><span class="symbol">&gt;</span><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><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code>
<p>Sets an event listener for current widget, keeping the actual type of component.</p>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">setEventListener</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.spinner.Spinner$setEventListener(kotlin.Function1((pl.treksoft.kvision.utils.SnOn((pl.treksoft.kvision.core.Widget)), kotlin.Unit)))/block">block</span><span class="symbol">:</span>&nbsp;<span class="identifier">SnOn</span><span class="symbol">&lt;</span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">&gt;</span><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><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code>
<p>Sets an event listener for current widget.</p>
</td>
</tr>
<tr>
<td>
<p><a href="spin-down.html">spinDown</a></p>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">spinDown</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="./index.html"><span class="identifier">Spinner</span></a></code>
<p>Change value in minus.</p>
</td>
</tr>
<tr>
<td>
<p><a href="spin-up.html">spinUp</a></p>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">spinUp</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="./index.html"><span class="identifier">Spinner</span></a></code>
<p>Change value in plus.</p>
</td>
</tr>
</tbody>
</table>
<h3>Inherited Functions</h3>
<table>
<tbody>
<tr>
<td>
<p><a href="../../pl.treksoft.kvision.panel/-simple-panel/add.html">add</a></p>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">add</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.panel.SimplePanel$add(pl.treksoft.kvision.core.Component)/child">child</span><span class="symbol">:</span>&nbsp;<a href="../../pl.treksoft.kvision.core/-component/index.html"><span class="identifier">Component</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.panel/-simple-panel/index.html"><span class="identifier">SimplePanel</span></a></code>
<p>Adds given component to the current container.</p>
</td>
</tr>
<tr>
<td>
<p><a href="../../pl.treksoft.kvision.panel/-simple-panel/add-all.html">addAll</a></p>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">addAll</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.panel.SimplePanel$addAll(kotlin.collections.List((pl.treksoft.kvision.core.Component)))/children">children</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol">&lt;</span><a href="../../pl.treksoft.kvision.core/-component/index.html"><span class="identifier">Component</span></a><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.panel/-simple-panel/index.html"><span class="identifier">SimplePanel</span></a></code>
<p>Adds a list of components to the current container.</p>
</td>
</tr>
<tr>
<td>
<p><a href="../../pl.treksoft.kvision.panel/-simple-panel/add-internal.html">addInternal</a></p>
</td>
<td>
<code><span class="keyword">fun </span><span class="identifier">addInternal</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.panel.SimplePanel$addInternal(pl.treksoft.kvision.core.Component)/child">child</span><span class="symbol">:</span>&nbsp;<a href="../../pl.treksoft.kvision.core/-component/index.html"><span class="identifier">Component</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.panel/-simple-panel/index.html"><span class="identifier">SimplePanel</span></a></code>
<p>Protected and final method to add given component to the current container.</p>
</td>
</tr>
<tr>
<td>
<p><a href="../../pl.treksoft.kvision.panel/-simple-panel/children-v-nodes.html">childrenVNodes</a></p>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">childrenVNodes</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html"><span class="identifier">Array</span></a><span class="symbol">&lt;</span><span class="identifier">VNode</span><span class="symbol">&gt;</span></code>
<p>Returns the array of the children Snabbdom vnodes.</p>
</td>
</tr>
<tr>
<td>
<p><a href="../../pl.treksoft.kvision.panel/-simple-panel/get-children.html">getChildren</a></p>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getChildren</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol">&lt;</span><a href="../../pl.treksoft.kvision.core/-component/index.html"><span class="identifier">Component</span></a><span class="symbol">&gt;</span></code>
<p>Returns a list of children of the current container.</p>
</td>
</tr>
<tr>
<td>
<p><a href="../../pl.treksoft.kvision.form/-number-form-control/get-value.html">getValue</a></p>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getValue</span><span class="symbol">(</span><span class="symbol">)</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></code>
<p>Returns the value of the control.</p>
</td>
</tr>
<tr>
<td>
<p><a href="../../pl.treksoft.kvision.panel/-simple-panel/remove.html">remove</a></p>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">remove</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.panel.SimplePanel$remove(pl.treksoft.kvision.core.Component)/child">child</span><span class="symbol">:</span>&nbsp;<a href="../../pl.treksoft.kvision.core/-component/index.html"><span class="identifier">Component</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.panel/-simple-panel/index.html"><span class="identifier">SimplePanel</span></a></code>
<p>Removes given component from the current container.</p>
</td>
</tr>
<tr>
<td>
<p><a href="../../pl.treksoft.kvision.panel/-simple-panel/remove-all.html">removeAll</a></p>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeAll</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.panel/-simple-panel/index.html"><span class="identifier">SimplePanel</span></a></code>
<p>Removes all children from the current container.</p>
</td>
</tr>
<tr>
<td>
<p><a href="../../pl.treksoft.kvision.panel/-simple-panel/render.html">render</a></p>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">render</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">VNode</span></code>
<p>Renders current component as a Snabbdom vnode.</p>
</td>
</tr>
<tr>
<td>
<p><a href="../../pl.treksoft.kvision.form/-number-form-control/set-value.html">setValue</a></p>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">setValue</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.NumberFormControl$setValue(kotlin.Any)/v">v</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><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></code>
<p>Sets the value of the control.</p>
</td>
</tr>
</tbody>
</table>
<h3>Companion Object 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.Companion$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, 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.Companion$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, 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.Companion$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, 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>&nbsp;<span class="symbol">=</span>&nbsp;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.String, 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>&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;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.String, 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>&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.Companion$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, 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.Companion$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, 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.Companion$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, 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.Companion$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, 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.Companion$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, 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.Companion$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, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.spinner.Spinner, kotlin.Unit)))/init">init</span><span class="symbol">:</span>&nbsp;<a href="./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>&nbsp;<span class="symbol">=</span>&nbsp;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>
</td>
</tr>
</tbody>
</table>
</BODY>
</HTML>