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-input | |
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-input')
25 files changed, 844 insertions, 0 deletions
diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/-init-.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/-init-.html new file mode 100644 index 00000000..f4321be0 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/-init-.html @@ -0,0 +1,33 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>SpinnerInput.<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">SpinnerInput</a> / <a href="./-init-.html"><init></a><br/> +<br/> +<h1><init></h1> +<a name="pl.treksoft.kvision.form.spinner.SpinnerInput$<init>(kotlin.Number, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.BUTTONSTYPE, pl.treksoft.kvision.form.spinner.FORCETYPE, kotlin.collections.Set((kotlin.String)))"></a> +<code><span class="identifier">SpinnerInput</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.spinner.SpinnerInput$<init>(kotlin.Number, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.BUTTONSTYPE, pl.treksoft.kvision.form.spinner.FORCETYPE, kotlin.collections.Set((kotlin.String)))/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.SpinnerInput$<init>(kotlin.Number, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.BUTTONSTYPE, pl.treksoft.kvision.form.spinner.FORCETYPE, kotlin.collections.Set((kotlin.String)))/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.SpinnerInput$<init>(kotlin.Number, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.BUTTONSTYPE, pl.treksoft.kvision.form.spinner.FORCETYPE, kotlin.collections.Set((kotlin.String)))/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.SpinnerInput$<init>(kotlin.Number, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.BUTTONSTYPE, pl.treksoft.kvision.form.spinner.FORCETYPE, kotlin.collections.Set((kotlin.String)))/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.SpinnerInput$<init>(kotlin.Number, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.BUTTONSTYPE, pl.treksoft.kvision.form.spinner.FORCETYPE, kotlin.collections.Set((kotlin.String)))/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.SpinnerInput$<init>(kotlin.Number, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.BUTTONSTYPE, pl.treksoft.kvision.form.spinner.FORCETYPE, kotlin.collections.Set((kotlin.String)))/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.SpinnerInput$<init>(kotlin.Number, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.BUTTONSTYPE, pl.treksoft.kvision.form.spinner.FORCETYPE, kotlin.collections.Set((kotlin.String)))/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.SpinnerInput$<init>(kotlin.Number, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.BUTTONSTYPE, pl.treksoft.kvision.form.spinner.FORCETYPE, kotlin.collections.Set((kotlin.String)))/classes">classes</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-set/index.html"><span class="identifier">Set</span></a><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> setOf()<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="classes"></a> +<code>classes</code> - a set of CSS class names</p> +<p><strong>Constructor</strong><br/> +</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/after-destroy.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/after-destroy.html new file mode 100644 index 00000000..c3eee4ed --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/after-destroy.html @@ -0,0 +1,16 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>SpinnerInput.afterDestroy - 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">SpinnerInput</a> / <a href="./after-destroy.html">afterDestroy</a><br/> +<br/> +<h1>afterDestroy</h1> +<a name="pl.treksoft.kvision.form.spinner.SpinnerInput$afterDestroy()"></a> +<code><span class="keyword">protected</span> <span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">afterDestroy</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>Overrides <a href="../../pl.treksoft.kvision.core/-widget/after-destroy.html">Widget.afterDestroy</a></p> +<p>Method called after destroying Snabbdom vnode.</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/after-insert.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/after-insert.html new file mode 100644 index 00000000..433c0858 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/after-insert.html @@ -0,0 +1,16 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>SpinnerInput.afterInsert - 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">SpinnerInput</a> / <a href="./after-insert.html">afterInsert</a><br/> +<br/> +<h1>afterInsert</h1> +<a name="pl.treksoft.kvision.form.spinner.SpinnerInput$afterInsert(com.github.snabbdom.VNode)"></a> +<code><span class="keyword">protected</span> <span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">afterInsert</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.spinner.SpinnerInput$afterInsert(com.github.snabbdom.VNode)/node">node</span><span class="symbol">:</span> <span class="identifier">VNode</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>Overrides <a href="../../pl.treksoft.kvision.core/-widget/after-insert.html">Widget.afterInsert</a></p> +<p>Method called after inserting Snabbdom vnode into the DOM.</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/autofocus.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/autofocus.html new file mode 100644 index 00000000..aad1375d --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/autofocus.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>SpinnerInput.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">SpinnerInput</a> / <a href="./autofocus.html">autofocus</a><br/> +<br/> +<h1>autofocus</h1> +<a name="pl.treksoft.kvision.form.spinner.SpinnerInput$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-input/buttons-type.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/buttons-type.html new file mode 100644 index 00000000..1949c000 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/buttons-type.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>SpinnerInput.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">SpinnerInput</a> / <a href="./buttons-type.html">buttonsType</a><br/> +<br/> +<h1>buttonsType</h1> +<a name="pl.treksoft.kvision.form.spinner.SpinnerInput$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-input/change-value.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/change-value.html new file mode 100644 index 00000000..9c778406 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/change-value.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>SpinnerInput.changeValue - 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">SpinnerInput</a> / <a href="./change-value.html">changeValue</a><br/> +<br/> +<h1>changeValue</h1> +<a name="pl.treksoft.kvision.form.spinner.SpinnerInput$changeValue()"></a> +<code><span class="keyword">protected</span> <span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">changeValue</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> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/decimals.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/decimals.html new file mode 100644 index 00000000..8e2bee7e --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/decimals.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>SpinnerInput.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">SpinnerInput</a> / <a href="./decimals.html">decimals</a><br/> +<br/> +<h1>decimals</h1> +<a name="pl.treksoft.kvision.form.spinner.SpinnerInput$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-input/disabled.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/disabled.html new file mode 100644 index 00000000..f8643635 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/disabled.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>SpinnerInput.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">SpinnerInput</a> / <a href="./disabled.html">disabled</a><br/> +<br/> +<h1>disabled</h1> +<a name="pl.treksoft.kvision.form.spinner.SpinnerInput$disabled"></a> +<code><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> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/force-type.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/force-type.html new file mode 100644 index 00000000..632008e8 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/force-type.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>SpinnerInput.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">SpinnerInput</a> / <a href="./force-type.html">forceType</a><br/> +<br/> +<h1>forceType</h1> +<a name="pl.treksoft.kvision.form.spinner.SpinnerInput$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-input/get-sn-attrs.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/get-sn-attrs.html new file mode 100644 index 00000000..7cc57aff --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/get-sn-attrs.html @@ -0,0 +1,18 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>SpinnerInput.getSnAttrs - 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">SpinnerInput</a> / <a href="./get-sn-attrs.html">getSnAttrs</a><br/> +<br/> +<h1>getSnAttrs</h1> +<a name="pl.treksoft.kvision.form.spinner.SpinnerInput$getSnAttrs()"></a> +<code><span class="keyword">protected</span> <span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getSnAttrs</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-pair.html"><span class="identifier">StringPair</span></a><span class="symbol">></span></code> +<p>Overrides <a href="../../pl.treksoft.kvision.core/-widget/get-sn-attrs.html">Widget.getSnAttrs</a></p> +<p>Returns list of element attributes in the form of a List.</p> +<p><strong>Return</strong><br/> +list of element attributes</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/get-sn-class.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/get-sn-class.html new file mode 100644 index 00000000..a16c4e8e --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/get-sn-class.html @@ -0,0 +1,18 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>SpinnerInput.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">SpinnerInput</a> / <a href="./get-sn-class.html">getSnClass</a><br/> +<br/> +<h1>getSnClass</h1> +<a name="pl.treksoft.kvision.form.spinner.SpinnerInput$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-input/get-value-as-string.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/get-value-as-string.html new file mode 100644 index 00000000..7dbe23c7 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/get-value-as-string.html @@ -0,0 +1,17 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>SpinnerInput.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">SpinnerInput</a> / <a href="./get-value-as-string.html">getValueAsString</a><br/> +<br/> +<h1>getValueAsString</h1> +<a name="pl.treksoft.kvision.form.spinner.SpinnerInput$getValueAsString()"></a> +<code><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 spinner as a String.</p> +<p><strong>Return</strong><br/> +value as a String</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/index.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/index.html new file mode 100644 index 00000000..0c718c6c --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/index.html @@ -0,0 +1,452 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>SpinnerInput - 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">SpinnerInput</a><br/> +<br/> +<h1>SpinnerInput</h1> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">SpinnerInput</span> <span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>The basic 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">SpinnerInput</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.spinner.SpinnerInput$<init>(kotlin.Number, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.BUTTONSTYPE, pl.treksoft.kvision.form.spinner.FORCETYPE, kotlin.collections.Set((kotlin.String)))/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.SpinnerInput$<init>(kotlin.Number, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.BUTTONSTYPE, pl.treksoft.kvision.form.spinner.FORCETYPE, kotlin.collections.Set((kotlin.String)))/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.SpinnerInput$<init>(kotlin.Number, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.BUTTONSTYPE, pl.treksoft.kvision.form.spinner.FORCETYPE, kotlin.collections.Set((kotlin.String)))/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.SpinnerInput$<init>(kotlin.Number, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.BUTTONSTYPE, pl.treksoft.kvision.form.spinner.FORCETYPE, kotlin.collections.Set((kotlin.String)))/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.SpinnerInput$<init>(kotlin.Number, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.BUTTONSTYPE, pl.treksoft.kvision.form.spinner.FORCETYPE, kotlin.collections.Set((kotlin.String)))/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.SpinnerInput$<init>(kotlin.Number, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.BUTTONSTYPE, pl.treksoft.kvision.form.spinner.FORCETYPE, kotlin.collections.Set((kotlin.String)))/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.SpinnerInput$<init>(kotlin.Number, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.BUTTONSTYPE, pl.treksoft.kvision.form.spinner.FORCETYPE, kotlin.collections.Set((kotlin.String)))/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.SpinnerInput$<init>(kotlin.Number, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.BUTTONSTYPE, pl.treksoft.kvision.form.spinner.FORCETYPE, kotlin.collections.Set((kotlin.String)))/classes">classes</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-set/index.html"><span class="identifier">Set</span></a><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> setOf()<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">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="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="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="size.html">size</a></p> +</td> +<td> +<code><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>The size of the input.</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="value.html">value</a></p> +</td> +<td> +<code><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>Inherited Properties</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.core/-widget/id.html">id</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">id</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>An ID attribute of generated HTML element.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.core/-widget/parent.html">parent</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">parent</span><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>Parent of the current component.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.core/-widget/role.html">role</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">role</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>A role attribute of generated HTML element.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.core/-widget/title.html">title</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">title</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>A title attribute of generated HTML element.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.core/-widget/visible.html">visible</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">visible</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>Visibility state of the current component.</p> +</td> +</tr> +</tbody> +</table> +<h3>Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="after-destroy.html">afterDestroy</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">afterDestroy</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>Method called after destroying Snabbdom vnode.</p> +</td> +</tr> +<tr> +<td> +<p><a href="after-insert.html">afterInsert</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">afterInsert</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.spinner.SpinnerInput$afterInsert(com.github.snabbdom.VNode)/node">node</span><span class="symbol">:</span> <span class="identifier">VNode</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>Method called after inserting Snabbdom vnode into the DOM.</p> +</td> +</tr> +<tr> +<td> +<p><a href="change-value.html">changeValue</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">changeValue</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></td> +</tr> +<tr> +<td> +<p><a href="get-sn-attrs.html">getSnAttrs</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getSnAttrs</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-pair.html"><span class="identifier">StringPair</span></a><span class="symbol">></span></code> +<p>Returns list of element attributes in the form of a List.</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"><</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">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 spinner as a String.</p> +</td> +</tr> +<tr> +<td> +<p><a href="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="spin-down.html">spinDown</a></p> +</td> +<td> +<code><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">SpinnerInput</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">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">SpinnerInput</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.core/-widget/add-css-class.html">addCssClass</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">addCssClass</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$addCssClass(kotlin.String)/css">css</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><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Adds given value to the set of CSS classes generated in html code of current component.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.core/-widget/add-surrounding-css-class.html">addSurroundingCssClass</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">addSurroundingCssClass</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$addSurroundingCssClass(kotlin.String)/css">css</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><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Adds given value to the set of CSS classes generated in html code of parent component.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.core/-widget/after-create.html">afterCreate</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">afterCreate</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$afterCreate(com.github.snabbdom.VNode)/node">node</span><span class="symbol">:</span> <span class="identifier">VNode</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>Method called after creating Snabbdom vnode.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.core/-widget/after-postpatch.html">afterPostpatch</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">afterPostpatch</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$afterPostpatch(com.github.snabbdom.VNode)/node">node</span><span class="symbol">:</span> <span class="identifier">VNode</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>Method called after updating Snabbdom vnode.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.core/-widget/get-element.html">getElement</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getElement</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/org.w3c.dom/-node/index.html"><span class="identifier">Node</span></a><span class="symbol">?</span></code> +<p>Returns DOM element bound to the current component.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.core/-widget/get-element-j-query.html">getElementJQuery</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getElementJQuery</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">JQuery</span><span class="symbol">?</span></code> +<p>Returns JQuery element bound to the current component.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.core/-widget/get-element-j-query-d.html">getElementJQueryD</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getElementJQueryD</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="keyword">dynamic</span></code> +<p>Returns JQuery element bound to the current component as a <em>dynamic</em> type.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.core/-widget/get-sn-hooks.html">getSnHooks</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getSnHooks</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Hooks</span><span class="symbol">?</span></code> +<p>Returns list of hooks in the form of a Snabbdom <em>Hooks</em> object.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.core/-widget/get-sn-on.html">getSnOn</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getSnOn</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">On</span><span class="symbol">?</span></code> +<p>Returns list of event handlers in the form of a Snabbdom <em>On</em> object.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.core/-widget/hide.html">hide</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">hide</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>Makes current widget invisible.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.core/-widget/remove-css-class.html">removeCssClass</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeCssClass</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$removeCssClass(kotlin.String)/css">css</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><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Removes given value from the set of CSS classes generated in html code of current component.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.core/-widget/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="../../pl.treksoft.kvision.core/-widget/remove-surrounding-css-class.html">removeSurroundingCssClass</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeSurroundingCssClass</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$removeSurroundingCssClass(kotlin.String)/css">css</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><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Removes given value from the set of CSS classes generated in html code of parent component.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.core/-widget/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="identifier" id="pl.treksoft.kvision.core.Widget$render(kotlin.String)/elementName">elementName</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><span class="identifier">VNode</span></code><br/> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">render</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$render(kotlin.String, kotlin.Array((kotlin.Any)))/elementName">elementName</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="identifier" id="pl.treksoft.kvision.core.Widget$render(kotlin.String, kotlin.Array((kotlin.Any)))/children">children</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="keyword">dynamic</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.core/-widget/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.core.Widget$setEventListener(kotlin.Function1((pl.treksoft.kvision.utils.SnOn((pl.treksoft.kvision.core.Widget.setEventListener.T)), 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/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.core.Widget$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="../../pl.treksoft.kvision.core/-widget/show.html">show</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">show</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>Makes current widget visible.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.core/-widget/toggle-visible.html">toggleVisible</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">toggleVisible</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>Toggles visibility of current widget.</p> +</td> +</tr> +</tbody> +</table> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/max.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/max.html new file mode 100644 index 00000000..7751e8c6 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/max.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>SpinnerInput.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">SpinnerInput</a> / <a href="./max.html">max</a><br/> +<br/> +<h1>max</h1> +<a name="pl.treksoft.kvision.form.spinner.SpinnerInput$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-input/min.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/min.html new file mode 100644 index 00000000..09d53e74 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/min.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>SpinnerInput.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">SpinnerInput</a> / <a href="./min.html">min</a><br/> +<br/> +<h1>min</h1> +<a name="pl.treksoft.kvision.form.spinner.SpinnerInput$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-input/name.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/name.html new file mode 100644 index 00000000..fc053059 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/name.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>SpinnerInput.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">SpinnerInput</a> / <a href="./name.html">name</a><br/> +<br/> +<h1>name</h1> +<a name="pl.treksoft.kvision.form.spinner.SpinnerInput$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-input/placeholder.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/placeholder.html new file mode 100644 index 00000000..1791b5f7 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/placeholder.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>SpinnerInput.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">SpinnerInput</a> / <a href="./placeholder.html">placeholder</a><br/> +<br/> +<h1>placeholder</h1> +<a name="pl.treksoft.kvision.form.spinner.SpinnerInput$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-input/readonly.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/readonly.html new file mode 100644 index 00000000..b5a58455 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/readonly.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>SpinnerInput.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">SpinnerInput</a> / <a href="./readonly.html">readonly</a><br/> +<br/> +<h1>readonly</h1> +<a name="pl.treksoft.kvision.form.spinner.SpinnerInput$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-input/render.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/render.html new file mode 100644 index 00000000..ac189127 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/render.html @@ -0,0 +1,18 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>SpinnerInput.render - 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">SpinnerInput</a> / <a href="./render.html">render</a><br/> +<br/> +<h1>render</h1> +<a name="pl.treksoft.kvision.form.spinner.SpinnerInput$render()"></a> +<code><span class="keyword">protected</span> <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>Overrides <a href="../../pl.treksoft.kvision.core/-widget/render.html">Widget.render</a></p> +<p>Renders current component as a Snabbdom vnode.</p> +<p><strong>Return</strong><br/> +Snabbdom vnode</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/size.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/size.html new file mode 100644 index 00000000..ab110795 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/size.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>SpinnerInput.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">SpinnerInput</a> / <a href="./size.html">size</a><br/> +<br/> +<h1>size</h1> +<a name="pl.treksoft.kvision.form.spinner.SpinnerInput$size"></a> +<code><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>The size of the input.</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/spin-down.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/spin-down.html new file mode 100644 index 00000000..2fecab24 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/spin-down.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>SpinnerInput.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">SpinnerInput</a> / <a href="./spin-down.html">spinDown</a><br/> +<br/> +<h1>spinDown</h1> +<a name="pl.treksoft.kvision.form.spinner.SpinnerInput$spinDown()"></a> +<code><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">SpinnerInput</span></a></code> +<p>Change value in minus.</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/spin-up.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/spin-up.html new file mode 100644 index 00000000..f68a9048 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/spin-up.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>SpinnerInput.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">SpinnerInput</a> / <a href="./spin-up.html">spinUp</a><br/> +<br/> +<h1>spinUp</h1> +<a name="pl.treksoft.kvision.form.spinner.SpinnerInput$spinUp()"></a> +<code><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">SpinnerInput</span></a></code> +<p>Change value in plus.</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/start-value.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/start-value.html new file mode 100644 index 00000000..993bc14d --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/start-value.html @@ -0,0 +1,17 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>SpinnerInput.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">SpinnerInput</a> / <a href="./start-value.html">startValue</a><br/> +<br/> +<h1>startValue</h1> +<a name="pl.treksoft.kvision.form.spinner.SpinnerInput$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-input/step.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/step.html new file mode 100644 index 00000000..cd77355e --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/step.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>SpinnerInput.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">SpinnerInput</a> / <a href="./step.html">step</a><br/> +<br/> +<h1>step</h1> +<a name="pl.treksoft.kvision.form.spinner.SpinnerInput$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-input/value.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/value.html new file mode 100644 index 00000000..cef90828 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/value.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>SpinnerInput.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">SpinnerInput</a> / <a href="./value.html">value</a><br/> +<br/> +<h1>value</h1> +<a name="pl.treksoft.kvision.form.spinner.SpinnerInput$value"></a> +<code><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> +</BODY> +</HTML> |