diff options
Diffstat (limited to 'api/pl.treksoft.kvision.form.check')
27 files changed, 896 insertions, 28 deletions
diff --git a/api/pl.treksoft.kvision.form.check/-check-box-input/-init-.html b/api/pl.treksoft.kvision.form.check/-check-box-input/-init-.html new file mode 100644 index 00000000..91dd6807 --- /dev/null +++ b/api/pl.treksoft.kvision.form.check/-check-box-input/-init-.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>CheckBoxInput.<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.check</a> / <a href="index.html">CheckBoxInput</a> / <a href="./-init-.html"><init></a><br/> +<br/> +<h1><init></h1> +<a name="pl.treksoft.kvision.form.check.CheckBoxInput$<init>(kotlin.Boolean, kotlin.collections.Set((kotlin.String)))"></a> +<code><span class="identifier">CheckBoxInput</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.check.CheckBoxInput$<init>(kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/value">value</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><span class="identifier" id="pl.treksoft.kvision.form.check.CheckBoxInput$<init>(kotlin.Boolean, 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> - selection state</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/api/pl.treksoft.kvision.form.check/-check-box-input/check-box-input.html b/api/pl.treksoft.kvision.form.check/-check-box-input/check-box-input.html new file mode 100644 index 00000000..6a12e3b0 --- /dev/null +++ b/api/pl.treksoft.kvision.form.check/-check-box-input/check-box-input.html @@ -0,0 +1,16 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>CheckBoxInput.checkBoxInput - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.form.check</a> / <a href="index.html">CheckBoxInput</a> / <a href="./check-box-input.html">checkBoxInput</a><br/> +<br/> +<h1>checkBoxInput</h1> +<a name="pl.treksoft.kvision.form.check.CheckBoxInput.Companion$checkBoxInput(pl.treksoft.kvision.core.Container, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.check.CheckInput, kotlin.Unit)))"></a> +<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">checkBoxInput</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.check.CheckBoxInput.Companion$checkBoxInput(pl.treksoft.kvision.core.Container, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.check.CheckInput, kotlin.Unit)))/value">value</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><span class="identifier" id="pl.treksoft.kvision.form.check.CheckBoxInput.Companion$checkBoxInput(pl.treksoft.kvision.core.Container, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.check.CheckInput, kotlin.Unit)))/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><span class="identifier" id="pl.treksoft.kvision.form.check.CheckBoxInput.Companion$checkBoxInput(pl.treksoft.kvision.core.Container, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.check.CheckInput, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <a href="../-check-input/index.html"><span class="identifier">CheckInput</span></a><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> null<span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">CheckBoxInput</span></a></code> +<p>DSL builder extension function.</p> +<p>It takes the same parameters as the constructor of the built component.</p> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.form.check/-check-box-input/index.html b/api/pl.treksoft.kvision.form.check/-check-box-input/index.html new file mode 100644 index 00000000..4e1ba876 --- /dev/null +++ b/api/pl.treksoft.kvision.form.check/-check-box-input/index.html @@ -0,0 +1,185 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>CheckBoxInput - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.form.check</a> / <a href="./index.html">CheckBoxInput</a><br/> +<br/> +<h1>CheckBoxInput</h1> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">CheckBoxInput</span> <span class="symbol">:</span> <a href="../-check-input/index.html"><span class="identifier">CheckInput</span></a></code> +<p>The basic input component rendered as HTML <em>input type="checkbox"</em>.</p> +<h3>Constructors</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-init-.html"><init></a></p> +</td> +<td> +<code><span class="identifier">CheckBoxInput</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.check.CheckBoxInput$<init>(kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/value">value</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><span class="identifier" id="pl.treksoft.kvision.form.check.CheckBoxInput$<init>(kotlin.Boolean, 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>Inherited Properties</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../-check-input/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="../-check-input/extra-value.html">extraValue</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">extraValue</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 additional String value used for the radio button group.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-check-input/name.html">name</a></p> +</td> +<td> +<code><span class="keyword">open</span> <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="../-check-input/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/-input-size/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="../-check-input/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/-boolean/index.html"><span class="identifier">Boolean</span></a></code> +<p>The value attribute of the generated HTML input element.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-check-input/type.html">type</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">type</span><span class="symbol">: </span><a href="../-check-input-type/index.html"><span class="identifier">CheckInputType</span></a></code> +<p>The type of the generated HTML input element.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-check-input/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/-boolean/index.html"><span class="identifier">Boolean</span></a></code> +<p>The selection state of the input.</p> +</td> +</tr> +</tbody> +</table> +<h3>Inherited Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../-check-input/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.check.CheckInput$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="../-check-input/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.form.check.CheckInput$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="../-check-input/blur.html">blur</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">blur</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code> +<p>Makes the input element blur.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-check-input/focus.html">focus</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">focus</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code> +<p>Makes the input element focused.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-check-input/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="../-check-input/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="../-check-input/on-click.html">onClick</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">onClick</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.check.CheckInput$onClick(kotlin.Function2((pl.treksoft.kvision.form.check.CheckInput, org.w3c.dom.events.MouseEvent, kotlin.Unit)))/handler">handler</span><span class="symbol">:</span> <a href="../-check-input/index.html"><span class="identifier">CheckInput</span></a><span class="symbol">.</span><span class="symbol">(</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/org.w3c.dom.events/-mouse-event/index.html"><span class="identifier">MouseEvent</span></a><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="../-check-input/index.html"><span class="identifier">CheckInput</span></a></code> +<p>A convenient helper for easy setting onClick event handler.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-check-input/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> +</tbody> +</table> +<h3>Companion Object Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="check-box-input.html">checkBoxInput</a></p> +</td> +<td> +<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">checkBoxInput</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.check.CheckBoxInput.Companion$checkBoxInput(pl.treksoft.kvision.core.Container, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.check.CheckInput, kotlin.Unit)))/value">value</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><span class="identifier" id="pl.treksoft.kvision.form.check.CheckBoxInput.Companion$checkBoxInput(pl.treksoft.kvision.core.Container, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.check.CheckInput, kotlin.Unit)))/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><span class="identifier" id="pl.treksoft.kvision.form.check.CheckBoxInput.Companion$checkBoxInput(pl.treksoft.kvision.core.Container, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.check.CheckInput, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <a href="../-check-input/index.html"><span class="identifier">CheckInput</span></a><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> null<span class="symbol">)</span><span class="symbol">: </span><a href="./index.html"><span class="identifier">CheckBoxInput</span></a></code> +<p>DSL builder extension function.</p> +</td> +</tr> +</tbody> +</table> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.form.check/-check-box/index.html b/api/pl.treksoft.kvision.form.check/-check-box/index.html index dbcc8daa..f25c0be0 100644 --- a/api/pl.treksoft.kvision.form.check/-check-box/index.html +++ b/api/pl.treksoft.kvision.form.check/-check-box/index.html @@ -57,7 +57,7 @@ <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="../-check-input/index.html"><span class="identifier">CheckInput</span></a></code> +<code><span class="keyword">val </span><span class="identifier">input</span><span class="symbol">: </span><a href="../-check-box-input/index.html"><span class="identifier">CheckBoxInput</span></a></code> <p>The actual input component.</p> </td> </tr> diff --git a/api/pl.treksoft.kvision.form.check/-check-box/input.html b/api/pl.treksoft.kvision.form.check/-check-box/input.html index 95850692..57533da8 100644 --- a/api/pl.treksoft.kvision.form.check/-check-box/input.html +++ b/api/pl.treksoft.kvision.form.check/-check-box/input.html @@ -9,7 +9,7 @@ <br/> <h1>input</h1> <a name="pl.treksoft.kvision.form.check.CheckBox$input"></a> -<code><span class="keyword">val </span><span class="identifier">input</span><span class="symbol">: </span><a href="../-check-input/index.html"><span class="identifier">CheckInput</span></a></code> +<code><span class="keyword">val </span><span class="identifier">input</span><span class="symbol">: </span><a href="../-check-box-input/index.html"><span class="identifier">CheckBoxInput</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> diff --git a/api/pl.treksoft.kvision.form.check/-check-input/check-input.html b/api/pl.treksoft.kvision.form.check/-check-input/check-input.html deleted file mode 100644 index 9ac1b396..00000000 --- a/api/pl.treksoft.kvision.form.check/-check-input/check-input.html +++ /dev/null @@ -1,16 +0,0 @@ -<HTML> -<HEAD> -<meta charset="UTF-8"> -<title>CheckInput.checkInput - kvision</title> -<link rel="stylesheet" href="../../../style.css"> -</HEAD> -<BODY> -<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.form.check</a> / <a href="index.html">CheckInput</a> / <a href="./check-input.html">checkInput</a><br/> -<br/> -<h1>checkInput</h1> -<a name="pl.treksoft.kvision.form.check.CheckInput.Companion$checkInput(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.form.check.CheckInputType, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.check.CheckInput, kotlin.Unit)))"></a> -<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">checkInput</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.check.CheckInput.Companion$checkInput(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.form.check.CheckInputType, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.check.CheckInput, kotlin.Unit)))/type">type</span><span class="symbol">:</span> <a href="../-check-input-type/index.html"><span class="identifier">CheckInputType</span></a> <span class="symbol">=</span> CheckInputType.CHECKBOX<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.check.CheckInput.Companion$checkInput(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.form.check.CheckInputType, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.check.CheckInput, kotlin.Unit)))/value">value</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><span class="identifier" id="pl.treksoft.kvision.form.check.CheckInput.Companion$checkInput(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.form.check.CheckInputType, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.check.CheckInput, kotlin.Unit)))/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><span class="identifier" id="pl.treksoft.kvision.form.check.CheckInput.Companion$checkInput(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.form.check.CheckInputType, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.check.CheckInput, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <a href="index.html"><span class="identifier">CheckInput</span></a><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> null<span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">CheckInput</span></a></code> -<p>DSL builder extension function.</p> -<p>It takes the same parameters as the constructor of the built component.</p> -</BODY> -</HTML> diff --git a/api/pl.treksoft.kvision.form.check/-check-input/index.html b/api/pl.treksoft.kvision.form.check/-check-input/index.html index be8a7947..b6c4d287 100644 --- a/api/pl.treksoft.kvision.form.check/-check-input/index.html +++ b/api/pl.treksoft.kvision.form.check/-check-input/index.html @@ -8,7 +8,7 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.form.check</a> / <a href="./index.html">CheckInput</a><br/> <br/> <h1>CheckInput</h1> -<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">CheckInput</span> <span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">, </span><a href="../../pl.treksoft.kvision.form/-form-input/index.html"><span class="identifier">FormInput</span></a></code> +<code><span class="keyword">abstract</span> <span class="keyword">class </span><span class="identifier">CheckInput</span> <span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">, </span><a href="../../pl.treksoft.kvision.form/-form-input/index.html"><span class="identifier">FormInput</span></a></code> <p>The basic input component rendered as HTML <em>input type="checkbox"</em> or <em>input type="radio"</em>.</p> <h3>Constructors</h3> <table> @@ -468,16 +468,25 @@ </tr> </tbody> </table> -<h3>Companion Object Functions</h3> +<h3>Inheritors</h3> <table> <tbody> <tr> <td> -<p><a href="check-input.html">checkInput</a></p> +<p><a href="../-check-box-input/index.html">CheckBoxInput</a></p> </td> <td> -<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">checkInput</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.check.CheckInput.Companion$checkInput(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.form.check.CheckInputType, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.check.CheckInput, kotlin.Unit)))/type">type</span><span class="symbol">:</span> <a href="../-check-input-type/index.html"><span class="identifier">CheckInputType</span></a> <span class="symbol">=</span> CheckInputType.CHECKBOX<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.check.CheckInput.Companion$checkInput(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.form.check.CheckInputType, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.check.CheckInput, kotlin.Unit)))/value">value</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><span class="identifier" id="pl.treksoft.kvision.form.check.CheckInput.Companion$checkInput(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.form.check.CheckInputType, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.check.CheckInput, kotlin.Unit)))/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><span class="identifier" id="pl.treksoft.kvision.form.check.CheckInput.Companion$checkInput(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.form.check.CheckInputType, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.check.CheckInput, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <a href="./index.html"><span class="identifier">CheckInput</span></a><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> null<span class="symbol">)</span><span class="symbol">: </span><a href="./index.html"><span class="identifier">CheckInput</span></a></code> -<p>DSL builder extension function.</p> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">CheckBoxInput</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">CheckInput</span></a></code> +<p>The basic input component rendered as HTML <em>input type="checkbox"</em>.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-radio-input/index.html">RadioInput</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">RadioInput</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">CheckInput</span></a></code> +<p>The basic input component rendered as HTML <em>input type="radio"</em>.</p> </td> </tr> </tbody> diff --git a/api/pl.treksoft.kvision.form.check/-radio-group-input/-init-.html b/api/pl.treksoft.kvision.form.check/-radio-group-input/-init-.html new file mode 100644 index 00000000..9fe38137 --- /dev/null +++ b/api/pl.treksoft.kvision.form.check/-radio-group-input/-init-.html @@ -0,0 +1,25 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>RadioGroupInput.<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.check</a> / <a href="index.html">RadioGroupInput</a> / <a href="./-init-.html"><init></a><br/> +<br/> +<h1><init></h1> +<a name="pl.treksoft.kvision.form.check.RadioGroupInput$<init>(kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, kotlin.String, kotlin.Boolean)"></a> +<code><span class="identifier">RadioGroupInput</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.check.RadioGroupInput$<init>(kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, kotlin.String, kotlin.Boolean)/options">options</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><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.check.RadioGroupInput$<init>(kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, kotlin.String, kotlin.Boolean)/value">value</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.check.RadioGroupInput$<init>(kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, kotlin.String, kotlin.Boolean)/name">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> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.check.RadioGroupInput$<init>(kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, kotlin.String, kotlin.Boolean)/inline">inline</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="options"></a> +<code>options</code> - an optional list of options (label to value pairs) for the group</p> +<p><a name="value"></a> +<code>value</code> - selected option</p> +<p><a name="name"></a> +<code>name</code> - the name attribute of the generated HTML input element</p> +<p><a name="inline"></a> +<code>inline</code> - determines if the options are rendered inline</p> +<p><strong>Constructor</strong><br/> +</p> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.form.check/-radio-group-input/blur.html b/api/pl.treksoft.kvision.form.check/-radio-group-input/blur.html new file mode 100644 index 00000000..cdfaed41 --- /dev/null +++ b/api/pl.treksoft.kvision.form.check/-radio-group-input/blur.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>RadioGroupInput.blur - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.form.check</a> / <a href="index.html">RadioGroupInput</a> / <a href="./blur.html">blur</a><br/> +<br/> +<h1>blur</h1> +<a name="pl.treksoft.kvision.form.check.RadioGroupInput$blur()"></a> +<code><span class="keyword">fun </span><span class="identifier">blur</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.form.check/-radio-group-input/disabled.html b/api/pl.treksoft.kvision.form.check/-radio-group-input/disabled.html new file mode 100644 index 00000000..d84a2325 --- /dev/null +++ b/api/pl.treksoft.kvision.form.check/-radio-group-input/disabled.html @@ -0,0 +1,16 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>RadioGroupInput.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.check</a> / <a href="index.html">RadioGroupInput</a> / <a href="./disabled.html">disabled</a><br/> +<br/> +<h1>disabled</h1> +<a name="pl.treksoft.kvision.form.check.RadioGroupInput$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-input/disabled.html">FormInput.disabled</a></p> +<p>Determines if the field is disabled.</p> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.form.check/-radio-group-input/focus.html b/api/pl.treksoft.kvision.form.check/-radio-group-input/focus.html new file mode 100644 index 00000000..798e048d --- /dev/null +++ b/api/pl.treksoft.kvision.form.check/-radio-group-input/focus.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>RadioGroupInput.focus - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.form.check</a> / <a href="index.html">RadioGroupInput</a> / <a href="./focus.html">focus</a><br/> +<br/> +<h1>focus</h1> +<a name="pl.treksoft.kvision.form.check.RadioGroupInput$focus()"></a> +<code><span class="keyword">fun </span><span class="identifier">focus</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.form.check/-radio-group-input/get-sn-class.html b/api/pl.treksoft.kvision.form.check/-radio-group-input/get-sn-class.html new file mode 100644 index 00000000..c2922ecd --- /dev/null +++ b/api/pl.treksoft.kvision.form.check/-radio-group-input/get-sn-class.html @@ -0,0 +1,18 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>RadioGroupInput.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.check</a> / <a href="index.html">RadioGroupInput</a> / <a href="./get-sn-class.html">getSnClass</a><br/> +<br/> +<h1>getSnClass</h1> +<a name="pl.treksoft.kvision.form.check.RadioGroupInput$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/api/pl.treksoft.kvision.form.check/-radio-group-input/index.html b/api/pl.treksoft.kvision.form.check/-radio-group-input/index.html new file mode 100644 index 00000000..e70ea8bf --- /dev/null +++ b/api/pl.treksoft.kvision.form.check/-radio-group-input/index.html @@ -0,0 +1,206 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>RadioGroupInput - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.form.check</a> / <a href="./index.html">RadioGroupInput</a><br/> +<br/> +<h1>RadioGroupInput</h1> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">RadioGroupInput</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/-form-input/index.html"><span class="identifier">FormInput</span></a></code> +<p>The input component rendered as a group of HTML <em>input type="radio"</em> elements with the same name attribute.</p> +<p>The radio group can be populated directly from <em>options</em> parameter or manually by adding +<a href="../-radio/index.html">Radio</a> components to the container.</p> +<h3>Constructors</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-init-.html"><init></a></p> +</td> +<td> +<code><span class="identifier">RadioGroupInput</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.check.RadioGroupInput$<init>(kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, kotlin.String, kotlin.Boolean)/options">options</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><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.check.RadioGroupInput$<init>(kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, kotlin.String, kotlin.Boolean)/value">value</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.check.RadioGroupInput$<init>(kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, kotlin.String, kotlin.Boolean)/name">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> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.check.RadioGroupInput$<init>(kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, kotlin.String, kotlin.Boolean)/inline">inline</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="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="inline.html">inline</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">inline</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 options are rendered inline.</p> +</td> +</tr> +<tr> +<td> +<p><a href="name.html">name</a></p> +</td> +<td> +<code><span class="keyword">open</span> <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="options.html">options</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">options</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><span class="symbol">?</span></code> +<p>A list of options (label to value pairs) for the group.</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/-input-size/index.html"><span class="identifier">InputSize</span></a><span class="symbol">?</span></code> +<p>Input control field size.</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/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span></code> +<p>A value of the selected option.</p> +</td> +</tr> +</tbody> +</table> +<h3>Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="blur.html">blur</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="identifier">blur</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code></td> +</tr> +<tr> +<td> +<p><a href="focus.html">focus</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="identifier">focus</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code></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> +</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.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> +</tbody> +</table> +<h3>Companion Object Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="radio-group-input.html">radioGroupInput</a></p> +</td> +<td> +<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">radioGroupInput</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.check.RadioGroupInput.Companion$radioGroupInput(pl.treksoft.kvision.core.Container, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.check.RadioGroupInput, kotlin.Unit)))/options">options</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><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.check.RadioGroupInput.Companion$radioGroupInput(pl.treksoft.kvision.core.Container, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.check.RadioGroupInput, kotlin.Unit)))/value">value</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.check.RadioGroupInput.Companion$radioGroupInput(pl.treksoft.kvision.core.Container, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.check.RadioGroupInput, kotlin.Unit)))/name">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> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.check.RadioGroupInput.Companion$radioGroupInput(pl.treksoft.kvision.core.Container, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.check.RadioGroupInput, kotlin.Unit)))/inline">inline</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><span class="identifier" id="pl.treksoft.kvision.form.check.RadioGroupInput.Companion$radioGroupInput(pl.treksoft.kvision.core.Container, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.check.RadioGroupInput, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <a href="./index.html"><span class="identifier">RadioGroupInput</span></a><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> null<span class="symbol">)</span><span class="symbol">: </span><a href="./index.html"><span class="identifier">RadioGroupInput</span></a></code> +<p>DSL builder extension function.</p> +</td> +</tr> +</tbody> +</table> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.form.check/-radio-group-input/inline.html b/api/pl.treksoft.kvision.form.check/-radio-group-input/inline.html new file mode 100644 index 00000000..56b90f63 --- /dev/null +++ b/api/pl.treksoft.kvision.form.check/-radio-group-input/inline.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>RadioGroupInput.inline - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.form.check</a> / <a href="index.html">RadioGroupInput</a> / <a href="./inline.html">inline</a><br/> +<br/> +<h1>inline</h1> +<a name="pl.treksoft.kvision.form.check.RadioGroupInput$inline"></a> +<code><span class="keyword">var </span><span class="identifier">inline</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 options are rendered inline.</p> +<p><strong>Getter</strong><br/> +<p>Determines if the options are rendered inline.</p> +</p> +<p><strong>Setter</strong><br/> +<p>Determines if the options are rendered inline.</p> +</p> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.form.check/-radio-group-input/name.html b/api/pl.treksoft.kvision.form.check/-radio-group-input/name.html new file mode 100644 index 00000000..eebd6161 --- /dev/null +++ b/api/pl.treksoft.kvision.form.check/-radio-group-input/name.html @@ -0,0 +1,16 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>RadioGroupInput.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.check</a> / <a href="index.html">RadioGroupInput</a> / <a href="./name.html">name</a><br/> +<br/> +<h1>name</h1> +<a name="pl.treksoft.kvision.form.check.RadioGroupInput$name"></a> +<code><span class="keyword">open</span> <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>Overrides <a href="../../pl.treksoft.kvision.form/-form-input/name.html">FormInput.name</a></p> +<p>The name attribute of the generated HTML input element.</p> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.form.check/-radio-group-input/options.html b/api/pl.treksoft.kvision.form.check/-radio-group-input/options.html new file mode 100644 index 00000000..e2234e8c --- /dev/null +++ b/api/pl.treksoft.kvision.form.check/-radio-group-input/options.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>RadioGroupInput.options - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.form.check</a> / <a href="index.html">RadioGroupInput</a> / <a href="./options.html">options</a><br/> +<br/> +<h1>options</h1> +<a name="pl.treksoft.kvision.form.check.RadioGroupInput$options"></a> +<code><span class="keyword">var </span><span class="identifier">options</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><span class="symbol">?</span></code> +<p>A list of options (label to value pairs) for the group.</p> +<p><strong>Getter</strong><br/> +<p>A list of options (label to value pairs) for the group.</p> +</p> +<p><strong>Setter</strong><br/> +<p>A list of options (label to value pairs) for the group.</p> +</p> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.form.check/-radio-group-input/radio-group-input.html b/api/pl.treksoft.kvision.form.check/-radio-group-input/radio-group-input.html new file mode 100644 index 00000000..4d9c367f --- /dev/null +++ b/api/pl.treksoft.kvision.form.check/-radio-group-input/radio-group-input.html @@ -0,0 +1,16 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>RadioGroupInput.radioGroupInput - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.form.check</a> / <a href="index.html">RadioGroupInput</a> / <a href="./radio-group-input.html">radioGroupInput</a><br/> +<br/> +<h1>radioGroupInput</h1> +<a name="pl.treksoft.kvision.form.check.RadioGroupInput.Companion$radioGroupInput(pl.treksoft.kvision.core.Container, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.check.RadioGroupInput, kotlin.Unit)))"></a> +<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">radioGroupInput</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.check.RadioGroupInput.Companion$radioGroupInput(pl.treksoft.kvision.core.Container, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.check.RadioGroupInput, kotlin.Unit)))/options">options</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><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.check.RadioGroupInput.Companion$radioGroupInput(pl.treksoft.kvision.core.Container, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.check.RadioGroupInput, kotlin.Unit)))/value">value</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.check.RadioGroupInput.Companion$radioGroupInput(pl.treksoft.kvision.core.Container, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.check.RadioGroupInput, kotlin.Unit)))/name">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> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.check.RadioGroupInput.Companion$radioGroupInput(pl.treksoft.kvision.core.Container, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.check.RadioGroupInput, kotlin.Unit)))/inline">inline</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><span class="identifier" id="pl.treksoft.kvision.form.check.RadioGroupInput.Companion$radioGroupInput(pl.treksoft.kvision.core.Container, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.check.RadioGroupInput, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <a href="index.html"><span class="identifier">RadioGroupInput</span></a><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> null<span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">RadioGroupInput</span></a></code> +<p>DSL builder extension function.</p> +<p>It takes the same parameters as the constructor of the built component.</p> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.form.check/-radio-group-input/size.html b/api/pl.treksoft.kvision.form.check/-radio-group-input/size.html new file mode 100644 index 00000000..740e8ff0 --- /dev/null +++ b/api/pl.treksoft.kvision.form.check/-radio-group-input/size.html @@ -0,0 +1,16 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>RadioGroupInput.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.check</a> / <a href="index.html">RadioGroupInput</a> / <a href="./size.html">size</a><br/> +<br/> +<h1>size</h1> +<a name="pl.treksoft.kvision.form.check.RadioGroupInput$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/-input-size/index.html"><span class="identifier">InputSize</span></a><span class="symbol">?</span></code> +<p>Overrides <a href="../../pl.treksoft.kvision.form/-form-input/size.html">FormInput.size</a></p> +<p>Input control field size.</p> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.form.check/-radio-group-input/value.html b/api/pl.treksoft.kvision.form.check/-radio-group-input/value.html new file mode 100644 index 00000000..b5622ae7 --- /dev/null +++ b/api/pl.treksoft.kvision.form.check/-radio-group-input/value.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>RadioGroupInput.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.check</a> / <a href="index.html">RadioGroupInput</a> / <a href="./value.html">value</a><br/> +<br/> +<h1>value</h1> +<a name="pl.treksoft.kvision.form.check.RadioGroupInput$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/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span></code> +<p>A value of the selected option.</p> +<p><strong>Getter</strong><br/> +<p>A value of the selected option.</p> +</p> +<p><strong>Setter</strong><br/> +<p>A value of the selected option.</p> +</p> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.form.check/-radio-group/index.html b/api/pl.treksoft.kvision.form.check/-radio-group/index.html index d1775942..00e95496 100644 --- a/api/pl.treksoft.kvision.form.check/-radio-group/index.html +++ b/api/pl.treksoft.kvision.form.check/-radio-group/index.html @@ -59,7 +59,7 @@ <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="../-check-input/index.html"><span class="identifier">CheckInput</span></a></code> +<code><span class="keyword">val </span><span class="identifier">input</span><span class="symbol">: </span><a href="../-radio-input/index.html"><span class="identifier">RadioInput</span></a></code> <p>The actual input component.</p> </td> </tr> diff --git a/api/pl.treksoft.kvision.form.check/-radio-group/input.html b/api/pl.treksoft.kvision.form.check/-radio-group/input.html index 3b1eccae..2c2d9070 100644 --- a/api/pl.treksoft.kvision.form.check/-radio-group/input.html +++ b/api/pl.treksoft.kvision.form.check/-radio-group/input.html @@ -9,7 +9,7 @@ <br/> <h1>input</h1> <a name="pl.treksoft.kvision.form.check.RadioGroup$input"></a> -<code><span class="keyword">val </span><span class="identifier">input</span><span class="symbol">: </span><a href="../-check-input/index.html"><span class="identifier">CheckInput</span></a></code> +<code><span class="keyword">val </span><span class="identifier">input</span><span class="symbol">: </span><a href="../-radio-input/index.html"><span class="identifier">RadioInput</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> diff --git a/api/pl.treksoft.kvision.form.check/-radio-input/-init-.html b/api/pl.treksoft.kvision.form.check/-radio-input/-init-.html new file mode 100644 index 00000000..b5bda4e0 --- /dev/null +++ b/api/pl.treksoft.kvision.form.check/-radio-input/-init-.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>RadioInput.<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.check</a> / <a href="index.html">RadioInput</a> / <a href="./-init-.html"><init></a><br/> +<br/> +<h1><init></h1> +<a name="pl.treksoft.kvision.form.check.RadioInput$<init>(kotlin.Boolean, kotlin.collections.Set((kotlin.String)))"></a> +<code><span class="identifier">RadioInput</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.check.RadioInput$<init>(kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/value">value</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><span class="identifier" id="pl.treksoft.kvision.form.check.RadioInput$<init>(kotlin.Boolean, 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> - selection state</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/api/pl.treksoft.kvision.form.check/-radio-input/index.html b/api/pl.treksoft.kvision.form.check/-radio-input/index.html new file mode 100644 index 00000000..b506399a --- /dev/null +++ b/api/pl.treksoft.kvision.form.check/-radio-input/index.html @@ -0,0 +1,185 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>RadioInput - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.form.check</a> / <a href="./index.html">RadioInput</a><br/> +<br/> +<h1>RadioInput</h1> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">RadioInput</span> <span class="symbol">:</span> <a href="../-check-input/index.html"><span class="identifier">CheckInput</span></a></code> +<p>The basic input component rendered as HTML <em>input type="radio"</em>.</p> +<h3>Constructors</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-init-.html"><init></a></p> +</td> +<td> +<code><span class="identifier">RadioInput</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.check.RadioInput$<init>(kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/value">value</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><span class="identifier" id="pl.treksoft.kvision.form.check.RadioInput$<init>(kotlin.Boolean, 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>Inherited Properties</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../-check-input/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="../-check-input/extra-value.html">extraValue</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">extraValue</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 additional String value used for the radio button group.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-check-input/name.html">name</a></p> +</td> +<td> +<code><span class="keyword">open</span> <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="../-check-input/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/-input-size/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="../-check-input/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/-boolean/index.html"><span class="identifier">Boolean</span></a></code> +<p>The value attribute of the generated HTML input element.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-check-input/type.html">type</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">type</span><span class="symbol">: </span><a href="../-check-input-type/index.html"><span class="identifier">CheckInputType</span></a></code> +<p>The type of the generated HTML input element.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-check-input/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/-boolean/index.html"><span class="identifier">Boolean</span></a></code> +<p>The selection state of the input.</p> +</td> +</tr> +</tbody> +</table> +<h3>Inherited Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../-check-input/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.check.CheckInput$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="../-check-input/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.form.check.CheckInput$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="../-check-input/blur.html">blur</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">blur</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code> +<p>Makes the input element blur.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-check-input/focus.html">focus</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">focus</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code> +<p>Makes the input element focused.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-check-input/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="../-check-input/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="../-check-input/on-click.html">onClick</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">onClick</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.check.CheckInput$onClick(kotlin.Function2((pl.treksoft.kvision.form.check.CheckInput, org.w3c.dom.events.MouseEvent, kotlin.Unit)))/handler">handler</span><span class="symbol">:</span> <a href="../-check-input/index.html"><span class="identifier">CheckInput</span></a><span class="symbol">.</span><span class="symbol">(</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/org.w3c.dom.events/-mouse-event/index.html"><span class="identifier">MouseEvent</span></a><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="../-check-input/index.html"><span class="identifier">CheckInput</span></a></code> +<p>A convenient helper for easy setting onClick event handler.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-check-input/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> +</tbody> +</table> +<h3>Companion Object Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="radio-input.html">radioInput</a></p> +</td> +<td> +<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">radioInput</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.check.RadioInput.Companion$radioInput(pl.treksoft.kvision.core.Container, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.check.CheckInput, kotlin.Unit)))/value">value</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><span class="identifier" id="pl.treksoft.kvision.form.check.RadioInput.Companion$radioInput(pl.treksoft.kvision.core.Container, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.check.CheckInput, kotlin.Unit)))/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><span class="identifier" id="pl.treksoft.kvision.form.check.RadioInput.Companion$radioInput(pl.treksoft.kvision.core.Container, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.check.CheckInput, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <a href="../-check-input/index.html"><span class="identifier">CheckInput</span></a><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> null<span class="symbol">)</span><span class="symbol">: </span><a href="./index.html"><span class="identifier">RadioInput</span></a></code> +<p>DSL builder extension function.</p> +</td> +</tr> +</tbody> +</table> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.form.check/-radio-input/radio-input.html b/api/pl.treksoft.kvision.form.check/-radio-input/radio-input.html new file mode 100644 index 00000000..47a73daf --- /dev/null +++ b/api/pl.treksoft.kvision.form.check/-radio-input/radio-input.html @@ -0,0 +1,16 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>RadioInput.radioInput - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.form.check</a> / <a href="index.html">RadioInput</a> / <a href="./radio-input.html">radioInput</a><br/> +<br/> +<h1>radioInput</h1> +<a name="pl.treksoft.kvision.form.check.RadioInput.Companion$radioInput(pl.treksoft.kvision.core.Container, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.check.CheckInput, kotlin.Unit)))"></a> +<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">radioInput</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.check.RadioInput.Companion$radioInput(pl.treksoft.kvision.core.Container, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.check.CheckInput, kotlin.Unit)))/value">value</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><span class="identifier" id="pl.treksoft.kvision.form.check.RadioInput.Companion$radioInput(pl.treksoft.kvision.core.Container, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.check.CheckInput, kotlin.Unit)))/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><span class="identifier" id="pl.treksoft.kvision.form.check.RadioInput.Companion$radioInput(pl.treksoft.kvision.core.Container, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.check.CheckInput, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <a href="../-check-input/index.html"><span class="identifier">CheckInput</span></a><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> null<span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">RadioInput</span></a></code> +<p>DSL builder extension function.</p> +<p>It takes the same parameters as the constructor of the built component.</p> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.form.check/-radio/index.html b/api/pl.treksoft.kvision.form.check/-radio/index.html index e7d9d2f4..e9d7ab74 100644 --- a/api/pl.treksoft.kvision.form.check/-radio/index.html +++ b/api/pl.treksoft.kvision.form.check/-radio/index.html @@ -57,7 +57,7 @@ <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="../-check-input/index.html"><span class="identifier">CheckInput</span></a></code> +<code><span class="keyword">val </span><span class="identifier">input</span><span class="symbol">: </span><a href="../-radio-input/index.html"><span class="identifier">RadioInput</span></a></code> <p>The actual input component.</p> </td> </tr> diff --git a/api/pl.treksoft.kvision.form.check/-radio/input.html b/api/pl.treksoft.kvision.form.check/-radio/input.html index d7c2a1d9..e69f00cc 100644 --- a/api/pl.treksoft.kvision.form.check/-radio/input.html +++ b/api/pl.treksoft.kvision.form.check/-radio/input.html @@ -9,7 +9,7 @@ <br/> <h1>input</h1> <a name="pl.treksoft.kvision.form.check.Radio$input"></a> -<code><span class="keyword">val </span><span class="identifier">input</span><span class="symbol">: </span><a href="../-check-input/index.html"><span class="identifier">CheckInput</span></a></code> +<code><span class="keyword">val </span><span class="identifier">input</span><span class="symbol">: </span><a href="../-radio-input/index.html"><span class="identifier">RadioInput</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> diff --git a/api/pl.treksoft.kvision.form.check/index.html b/api/pl.treksoft.kvision.form.check/index.html index d61b4b2a..3f550ef8 100644 --- a/api/pl.treksoft.kvision.form.check/index.html +++ b/api/pl.treksoft.kvision.form.check/index.html @@ -23,6 +23,15 @@ </tr> <tr> <td> +<p><a href="-check-box-input/index.html">CheckBoxInput</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">CheckBoxInput</span> <span class="symbol">:</span> <a href="-check-input/index.html"><span class="identifier">CheckInput</span></a></code> +<p>The basic input component rendered as HTML <em>input type="checkbox"</em>.</p> +</td> +</tr> +<tr> +<td> <p><a href="-check-box-style/index.html">CheckBoxStyle</a></p> </td> <td> @@ -35,7 +44,7 @@ <p><a href="-check-input/index.html">CheckInput</a></p> </td> <td> -<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">CheckInput</span> <span class="symbol">:</span> <a href="../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">, </span><a href="../pl.treksoft.kvision.form/-form-input/index.html"><span class="identifier">FormInput</span></a></code> +<code><span class="keyword">abstract</span> <span class="keyword">class </span><span class="identifier">CheckInput</span> <span class="symbol">:</span> <a href="../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">, </span><a href="../pl.treksoft.kvision.form/-form-input/index.html"><span class="identifier">FormInput</span></a></code> <p>The basic input component rendered as HTML <em>input type="checkbox"</em> or <em>input type="radio"</em>.</p> </td> </tr> @@ -68,6 +77,24 @@ </tr> <tr> <td> +<p><a href="-radio-group-input/index.html">RadioGroupInput</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">RadioGroupInput</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/-form-input/index.html"><span class="identifier">FormInput</span></a></code> +<p>The input component rendered as a group of HTML <em>input type="radio"</em> elements with the same name attribute.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-radio-input/index.html">RadioInput</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">RadioInput</span> <span class="symbol">:</span> <a href="-check-input/index.html"><span class="identifier">CheckInput</span></a></code> +<p>The basic input component rendered as HTML <em>input type="radio"</em>.</p> +</td> +</tr> +<tr> +<td> <p><a href="-radio-style/index.html">RadioStyle</a></p> </td> <td> |