diff options
author | Robert Jaros <rjaros@finn.pl> | 2018-02-09 13:40:35 +0100 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2018-02-09 13:40:35 +0100 |
commit | d8cd67062b8de6e8398dc6dfd00d201200c82414 (patch) | |
tree | 601082ec1eec73bc7a7d6ce8b51352e5345ffe81 /docs/api/pl.treksoft.kvision.form.spinner/-spinner | |
parent | 955304789ea83aceacbdf4c8a9eb742f6c2518f6 (diff) | |
download | kvision-d8cd67062b8de6e8398dc6dfd00d201200c82414.tar.gz kvision-d8cd67062b8de6e8398dc6dfd00d201200c82414.tar.bz2 kvision-d8cd67062b8de6e8398dc6dfd00d201200c82414.zip |
API doc and readme
Diffstat (limited to 'docs/api/pl.treksoft.kvision.form.spinner/-spinner')
28 files changed, 861 insertions, 0 deletions
diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner/-init-.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/-init-.html new file mode 100644 index 00000000..d3167048 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/-init-.html @@ -0,0 +1,35 @@ +<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> diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner/autofocus.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/autofocus.html new file mode 100644 index 00000000..1aeba366 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/autofocus.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Spinner.autofocus - 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="./autofocus.html">autofocus</a><br/> +<br/> +<h1>autofocus</h1> +<a name="pl.treksoft.kvision.form.spinner.Spinner$autofocus"></a> +<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> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner/buttons-type.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/buttons-type.html new file mode 100644 index 00000000..24b812a0 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/buttons-type.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Spinner.buttonsType - 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="./buttons-type.html">buttonsType</a><br/> +<br/> +<h1>buttonsType</h1> +<a name="pl.treksoft.kvision.form.spinner.Spinner$buttonsType"></a> +<code><span class="keyword">var </span><span class="identifier">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></code> +<p>Spinner buttons type.</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner/decimals.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/decimals.html new file mode 100644 index 00000000..7a5a1514 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/decimals.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Spinner.decimals - 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="./decimals.html">decimals</a><br/> +<br/> +<h1>decimals</h1> +<a name="pl.treksoft.kvision.form.spinner.Spinner$decimals"></a> +<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> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner/disabled.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/disabled.html new file mode 100644 index 00000000..7207261e --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/disabled.html @@ -0,0 +1,22 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Spinner.disabled - 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="./disabled.html">disabled</a><br/> +<br/> +<h1>disabled</h1> +<a name="pl.treksoft.kvision.form.spinner.Spinner$disabled"></a> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">disabled</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>Overrides <a href="../../pl.treksoft.kvision.form/-form-control/disabled.html">FormControl.disabled</a></p> +<p>Determines if the field is disabled.</p> +<p><strong>Getter</strong><br/> +<p>Determines if the field is disabled.</p> +</p> +<p><strong>Setter</strong><br/> +<p>Determines if the field is disabled.</p> +</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner/flabel.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/flabel.html new file mode 100644 index 00000000..737a1580 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/flabel.html @@ -0,0 +1,16 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Spinner.flabel - 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="./flabel.html">flabel</a><br/> +<br/> +<h1>flabel</h1> +<a name="pl.treksoft.kvision.form.spinner.Spinner$flabel"></a> +<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>Overrides <a href="../../pl.treksoft.kvision.form/-form-control/flabel.html">FormControl.flabel</a></p> +<p>Form field label.</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner/force-type.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/force-type.html new file mode 100644 index 00000000..bcf84a58 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/force-type.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Spinner.forceType - 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="./force-type.html">forceType</a><br/> +<br/> +<h1>forceType</h1> +<a name="pl.treksoft.kvision.form.spinner.Spinner$forceType"></a> +<code><span class="keyword">var </span><span class="identifier">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></code> +<p>Spinner force rounding type.</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner/get-sn-class.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/get-sn-class.html new file mode 100644 index 00000000..08e1ee5d --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/get-sn-class.html @@ -0,0 +1,18 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Spinner.getSnClass - 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="./get-sn-class.html">getSnClass</a><br/> +<br/> +<h1>getSnClass</h1> +<a name="pl.treksoft.kvision.form.spinner.Spinner$getSnClass()"></a> +<code><span class="keyword">protected</span> <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"><</span><a href="../../pl.treksoft.kvision.core/-string-bool-pair.html"><span class="identifier">StringBoolPair</span></a><span class="symbol">></span></code> +<p>Overrides <a href="../../pl.treksoft.kvision.core/-widget/get-sn-class.html">Widget.getSnClass</a></p> +<p>Returns list of CSS class names for current widget in the form of a List.</p> +<p><strong>Return</strong><br/> +list of CSS class names</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner/get-value-as-string.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/get-value-as-string.html new file mode 100644 index 00000000..15884cd9 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/get-value-as-string.html @@ -0,0 +1,16 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Spinner.getValueAsString - 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="./get-value-as-string.html">getValueAsString</a><br/> +<br/> +<h1>getValueAsString</h1> +<a name="pl.treksoft.kvision.form.spinner.Spinner$getValueAsString()"></a> +<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>Overrides <a href="../../pl.treksoft.kvision.form/-number-form-control/get-value-as-string.html">NumberFormControl.getValueAsString</a></p> +<p>Returns the value of the control as a String.</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner/idc.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/idc.html new file mode 100644 index 00000000..db68cb2d --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/idc.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Spinner.idc - 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="./idc.html">idc</a><br/> +<br/> +<h1>idc</h1> +<a name="pl.treksoft.kvision.form.spinner.Spinner$idc"></a> +<code><span class="keyword">protected</span> <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> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner/index.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/index.html new file mode 100644 index 00000000..4907a880 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/index.html @@ -0,0 +1,365 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>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><br/> +<br/> +<h1>Spinner</h1> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Spinner</span> <span class="symbol">:</span> <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"><init></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.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></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="../-b-u-t-t-o-n-s-t-y-p-e/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="disabled.html">disabled</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">disabled</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 the field is disabled.</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="../-f-o-r-c-e-t-y-p-e/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="name.html">name</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">name</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 name attribute of the generated HTML input element.</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="size.html">size</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">size</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.form/-i-n-p-u-t-s-i-z-e/index.html"><span class="identifier">INPUTSIZE</span></a><span class="symbol">?</span></code> +<p>Input control size.</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="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"><</span><a href="../../pl.treksoft.kvision.core/-string-bool-pair.html"><span class="identifier">StringBoolPair</span></a><span class="symbol">></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"><</span><span class="identifier">T</span> <span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">></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> <span class="identifier">SnOn</span><span class="symbol"><</span><a href="set-event-listener.html#T"><span class="identifier">T</span></a><span class="symbol">></span><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><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> <span class="identifier">SnOn</span><span class="symbol"><</span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">></span><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><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> <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> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="../../pl.treksoft.kvision.core/-component/index.html"><span class="identifier">Component</span></a><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>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> <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"><</span><span class="identifier">VNode</span><span class="symbol">></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"><</span><a href="../../pl.treksoft.kvision.core/-component/index.html"><span class="identifier">Component</span></a><span class="symbol">></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> <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> <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> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner/input.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/input.html new file mode 100644 index 00000000..d2a84521 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/input.html @@ -0,0 +1,16 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Spinner.input - 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="./input.html">input</a><br/> +<br/> +<h1>input</h1> +<a name="pl.treksoft.kvision.form.spinner.Spinner$input"></a> +<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>Overrides <a href="../../pl.treksoft.kvision.form/-form-control/input.html">FormControl.input</a></p> +<p>The actual input component.</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner/label.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/label.html new file mode 100644 index 00000000..83020699 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/label.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Spinner.label - 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="./label.html">label</a><br/> +<br/> +<h1>label</h1> +<a name="pl.treksoft.kvision.form.spinner.Spinner$label"></a> +<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> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner/max.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/max.html new file mode 100644 index 00000000..713b977d --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/max.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Spinner.max - 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="./max.html">max</a><br/> +<br/> +<h1>max</h1> +<a name="pl.treksoft.kvision.form.spinner.Spinner$max"></a> +<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> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner/min.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/min.html new file mode 100644 index 00000000..9cbca796 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/min.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Spinner.min - 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="./min.html">min</a><br/> +<br/> +<h1>min</h1> +<a name="pl.treksoft.kvision.form.spinner.Spinner$min"></a> +<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> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner/name.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/name.html new file mode 100644 index 00000000..06ffb6ab --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/name.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Spinner.name - 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="./name.html">name</a><br/> +<br/> +<h1>name</h1> +<a name="pl.treksoft.kvision.form.spinner.Spinner$name"></a> +<code><span class="keyword">var </span><span class="identifier">name</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 name attribute of the generated HTML input element.</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner/placeholder.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/placeholder.html new file mode 100644 index 00000000..a3637a80 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/placeholder.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Spinner.placeholder - 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="./placeholder.html">placeholder</a><br/> +<br/> +<h1>placeholder</h1> +<a name="pl.treksoft.kvision.form.spinner.Spinner$placeholder"></a> +<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> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner/readonly.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/readonly.html new file mode 100644 index 00000000..9ac92238 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/readonly.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Spinner.readonly - 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="./readonly.html">readonly</a><br/> +<br/> +<h1>readonly</h1> +<a name="pl.treksoft.kvision.form.spinner.Spinner$readonly"></a> +<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> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner/remove-event-listeners.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/remove-event-listeners.html new file mode 100644 index 00000000..2747fbdf --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/remove-event-listeners.html @@ -0,0 +1,18 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Spinner.removeEventListeners - 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="./remove-event-listeners.html">removeEventListeners</a><br/> +<br/> +<h1>removeEventListeners</h1> +<a name="pl.treksoft.kvision.form.spinner.Spinner$removeEventListeners()"></a> +<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>Overrides <a href="../../pl.treksoft.kvision.core/-widget/remove-event-listeners.html">Widget.removeEventListeners</a></p> +<p>Removes all event listeners from current widget.</p> +<p><strong>Return</strong><br/> +current widget</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner/rich.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/rich.html new file mode 100644 index 00000000..1db89286 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/rich.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Spinner.rich - 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="./rich.html">rich</a><br/> +<br/> +<h1>rich</h1> +<a name="pl.treksoft.kvision.form.spinner.Spinner$rich"></a> +<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> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner/set-event-listener.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/set-event-listener.html new file mode 100644 index 00000000..73f9bae5 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/set-event-listener.html @@ -0,0 +1,54 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Spinner.setEventListener - 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="./set-event-listener.html">setEventListener</a><br/> +<br/> +<h1>setEventListener</h1> +<a name="pl.treksoft.kvision.form.spinner.Spinner$setEventListener(kotlin.Function1((pl.treksoft.kvision.utils.SnOn((pl.treksoft.kvision.form.spinner.Spinner.setEventListener.T)), kotlin.Unit)))"></a> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span> <span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">></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> <span class="identifier">SnOn</span><span class="symbol"><</span><a href="set-event-listener.html#T"><span class="identifier">T</span></a><span class="symbol">></span><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><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Overrides <a href="../../pl.treksoft.kvision.core/-widget/set-event-listener.html">Widget.setEventListener</a></p> +<p>Sets an event listener for current widget, keeping the actual type of component.</p> +<h3>Parameters</h3> +<p><a name="T"></a> +<code>T</code> - widget type</p> +<p><a name="block"></a> +<code>block</code> - event handler</p> +<p><strong>Return</strong><br/> +<p>current widget</p> + + +<p>Example:</p> + + +<pre><code> button.setEventListener<Button> { + dblclick = { + Alert.show("Button double clicked!") + // self is of type Button here + } + }</code></pre></p> +<a name="pl.treksoft.kvision.form.spinner.Spinner$setEventListener(kotlin.Function1((pl.treksoft.kvision.utils.SnOn((pl.treksoft.kvision.core.Widget)), kotlin.Unit)))"></a> +<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> <span class="identifier">SnOn</span><span class="symbol"><</span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">></span><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><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Overrides <a href="../../pl.treksoft.kvision.core/-widget/set-event-listener.html">Widget.setEventListener</a></p> +<p>Sets an event listener for current widget.</p> +<h3>Parameters</h3> +<p><a name="block"></a> +<code>block</code> - event handler</p> +<p><strong>Return</strong><br/> +<p>current widget</p> + + +<p>Example:</p> + + +<pre><code> button.setEventListener { + dblclick = { + Alert.show("Button double clicked!") + // self is of type Widget here + } + }</code></pre></p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner/size.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/size.html new file mode 100644 index 00000000..bf59764f --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/size.html @@ -0,0 +1,22 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Spinner.size - 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="./size.html">size</a><br/> +<br/> +<h1>size</h1> +<a name="pl.treksoft.kvision.form.spinner.Spinner$size"></a> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">size</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.form/-i-n-p-u-t-s-i-z-e/index.html"><span class="identifier">INPUTSIZE</span></a><span class="symbol">?</span></code> +<p>Overrides <a href="../../pl.treksoft.kvision.form/-form-control/size.html">FormControl.size</a></p> +<p>Input control size.</p> +<p><strong>Getter</strong><br/> +<p>Input control size.</p> +</p> +<p><strong>Setter</strong><br/> +<p>Input control size.</p> +</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner/spin-down.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/spin-down.html new file mode 100644 index 00000000..426cfb31 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/spin-down.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Spinner.spinDown - 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="./spin-down.html">spinDown</a><br/> +<br/> +<h1>spinDown</h1> +<a name="pl.treksoft.kvision.form.spinner.Spinner$spinDown()"></a> +<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> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner/spin-up.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/spin-up.html new file mode 100644 index 00000000..59c21418 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/spin-up.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Spinner.spinUp - 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="./spin-up.html">spinUp</a><br/> +<br/> +<h1>spinUp</h1> +<a name="pl.treksoft.kvision.form.spinner.Spinner$spinUp()"></a> +<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> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner/start-value.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/start-value.html new file mode 100644 index 00000000..84bcba6e --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/start-value.html @@ -0,0 +1,17 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Spinner.startValue - 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="./start-value.html">startValue</a><br/> +<br/> +<h1>startValue</h1> +<a name="pl.treksoft.kvision.form.spinner.Spinner$startValue"></a> +<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> +<p>This value is placed directly in generated HTML code, while the <a href="value.html">value</a> property is dynamically +bound to the spinner input value.</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner/step.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/step.html new file mode 100644 index 00000000..3b7cd74c --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/step.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Spinner.step - 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="./step.html">step</a><br/> +<br/> +<h1>step</h1> +<a name="pl.treksoft.kvision.form.spinner.Spinner$step"></a> +<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> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner/validation-info.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/validation-info.html new file mode 100644 index 00000000..7e247ef5 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/validation-info.html @@ -0,0 +1,16 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Spinner.validationInfo - 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="./validation-info.html">validationInfo</a><br/> +<br/> +<h1>validationInfo</h1> +<a name="pl.treksoft.kvision.form.spinner.Spinner$validationInfo"></a> +<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>Overrides <a href="../../pl.treksoft.kvision.form/-form-control/validation-info.html">FormControl.validationInfo</a></p> +<p>Validation info component.</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner/value.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/value.html new file mode 100644 index 00000000..621616ad --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/value.html @@ -0,0 +1,22 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Spinner.value - 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="./value.html">value</a><br/> +<br/> +<h1>value</h1> +<a name="pl.treksoft.kvision.form.spinner.Spinner$value"></a> +<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>Overrides <a href="../../pl.treksoft.kvision.form/-number-form-control/value.html">NumberFormControl.value</a></p> +<p>Spinner value.</p> +<p><strong>Getter</strong><br/> +<p>Numeric value.</p> +</p> +<p><strong>Setter</strong><br/> +<p>Numeric value.</p> +</p> +</BODY> +</HTML> |