diff options
Diffstat (limited to 'api/pl.treksoft.kvision.form.select/-simple-select')
23 files changed, 727 insertions, 0 deletions
diff --git a/api/pl.treksoft.kvision.form.select/-simple-select/-init-.html b/api/pl.treksoft.kvision.form.select/-simple-select/-init-.html new file mode 100644 index 00000000..2d31d4bb --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-simple-select/-init-.html @@ -0,0 +1,29 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>SimpleSelect.<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.select</a> / <a href="index.html">SimpleSelect</a> / <a href="./-init-.html"><init></a><br/> +<br/> +<h1><init></h1> +<a name="pl.treksoft.kvision.form.select.SimpleSelect$<init>(kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, kotlin.Boolean, kotlin.String, kotlin.String, kotlin.Boolean)"></a> +<code><span class="identifier">SimpleSelect</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.select.SimpleSelect$<init>(kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, kotlin.Boolean, 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.select.SimpleSelect$<init>(kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, kotlin.Boolean, 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.select.SimpleSelect$<init>(kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, kotlin.Boolean, kotlin.String, kotlin.String, kotlin.Boolean)/emptyOption">emptyOption</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.select.SimpleSelect$<init>(kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, kotlin.Boolean, 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.select.SimpleSelect$<init>(kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, kotlin.Boolean, kotlin.String, kotlin.String, kotlin.Boolean)/label">label</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.select.SimpleSelect$<init>(kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, kotlin.Boolean, kotlin.String, kotlin.String, kotlin.Boolean)/rich">rich</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<span class="symbol">)</span></code> +<h3>Parameters</h3> +<p><a name="options"></a> +<code>options</code> - an optional list of options (value to label pairs) for the select control</p> +<p><a name="value"></a> +<code>value</code> - selected value</p> +<p><a name="emptyOption"></a> +<code>emptyOption</code> - determines if an empty option is automatically generated</p> +<p><a name="name"></a> +<code>name</code> - the name attribute of the generated HTML input element</p> +<p><a name="label"></a> +<code>label</code> - label text bound to the input element</p> +<p><a name="rich"></a> +<code>rich</code> - determines if <a href="label.html">label</a> can contain HTML code</p> +<p><strong>Constructor</strong><br/> +</p> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.form.select/-simple-select/add-all.html b/api/pl.treksoft.kvision.form.select/-simple-select/add-all.html new file mode 100644 index 00000000..54b52223 --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-simple-select/add-all.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>SimpleSelect.addAll - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.form.select</a> / <a href="index.html">SimpleSelect</a> / <a href="./add-all.html">addAll</a><br/> +<br/> +<h1>addAll</h1> +<a name="pl.treksoft.kvision.form.select.SimpleSelect$addAll(kotlin.collections.List((pl.treksoft.kvision.core.Component)))"></a> +<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.form.select.SimpleSelect$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>Overrides <a href="../../pl.treksoft.kvision.panel/-simple-panel/add-all.html">SimplePanel.addAll</a></p> +<p>Adds a list of components to the current container.</p> +<h3>Parameters</h3> +<p><a name="children"></a> +<code>children</code> - list of child components</p> +<p><strong>Return</strong><br/> +current container</p> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.form.select/-simple-select/add.html b/api/pl.treksoft.kvision.form.select/-simple-select/add.html new file mode 100644 index 00000000..554ad8de --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-simple-select/add.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>SimpleSelect.add - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.form.select</a> / <a href="index.html">SimpleSelect</a> / <a href="./add.html">add</a><br/> +<br/> +<h1>add</h1> +<a name="pl.treksoft.kvision.form.select.SimpleSelect$add(pl.treksoft.kvision.core.Component)"></a> +<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.form.select.SimpleSelect$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>Overrides <a href="../../pl.treksoft.kvision.panel/-simple-panel/add.html">SimplePanel.add</a></p> +<p>Adds given component to the current container.</p> +<h3>Parameters</h3> +<p><a name="child"></a> +<code>child</code> - child component</p> +<p><strong>Return</strong><br/> +current container</p> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.form.select/-simple-select/autofocus.html b/api/pl.treksoft.kvision.form.select/-simple-select/autofocus.html new file mode 100644 index 00000000..8999ec7a --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-simple-select/autofocus.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>SimpleSelect.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.select</a> / <a href="index.html">SimpleSelect</a> / <a href="./autofocus.html">autofocus</a><br/> +<br/> +<h1>autofocus</h1> +<a name="pl.treksoft.kvision.form.select.SimpleSelect$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 select is automatically focused.</p> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.form.select/-simple-select/blur.html b/api/pl.treksoft.kvision.form.select/-simple-select/blur.html new file mode 100644 index 00000000..b8dc4b27 --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-simple-select/blur.html @@ -0,0 +1,16 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>SimpleSelect.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.select</a> / <a href="index.html">SimpleSelect</a> / <a href="./blur.html">blur</a><br/> +<br/> +<h1>blur</h1> +<a name="pl.treksoft.kvision.form.select.SimpleSelect$blur()"></a> +<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>Overrides <a href="../../pl.treksoft.kvision.form/-form-control/blur.html">FormControl.blur</a></p> +<p>Makes the input element blur.</p> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.form.select/-simple-select/empty-option.html b/api/pl.treksoft.kvision.form.select/-simple-select/empty-option.html new file mode 100644 index 00000000..3b0937ab --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-simple-select/empty-option.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>SimpleSelect.emptyOption - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.form.select</a> / <a href="index.html">SimpleSelect</a> / <a href="./empty-option.html">emptyOption</a><br/> +<br/> +<h1>emptyOption</h1> +<a name="pl.treksoft.kvision.form.select.SimpleSelect$emptyOption"></a> +<code><span class="keyword">var </span><span class="identifier">emptyOption</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 an empty option is automatically generated.</p> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.form.select/-simple-select/flabel.html b/api/pl.treksoft.kvision.form.select/-simple-select/flabel.html new file mode 100644 index 00000000..5f7f26d4 --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-simple-select/flabel.html @@ -0,0 +1,16 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>SimpleSelect.flabel - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.form.select</a> / <a href="index.html">SimpleSelect</a> / <a href="./flabel.html">flabel</a><br/> +<br/> +<h1>flabel</h1> +<a name="pl.treksoft.kvision.form.select.SimpleSelect$flabel"></a> +<code><span class="keyword">val </span><span class="identifier">flabel</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.form/-field-label/index.html"><span class="identifier">FieldLabel</span></a></code> +<p>Overrides <a href="../../pl.treksoft.kvision.form/-form-control/flabel.html">FormControl.flabel</a></p> +<p>Form field label.</p> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.form.select/-simple-select/focus.html b/api/pl.treksoft.kvision.form.select/-simple-select/focus.html new file mode 100644 index 00000000..a6d46141 --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-simple-select/focus.html @@ -0,0 +1,16 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>SimpleSelect.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.select</a> / <a href="index.html">SimpleSelect</a> / <a href="./focus.html">focus</a><br/> +<br/> +<h1>focus</h1> +<a name="pl.treksoft.kvision.form.select.SimpleSelect$focus()"></a> +<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>Overrides <a href="../../pl.treksoft.kvision.form/-form-control/focus.html">FormControl.focus</a></p> +<p>Makes the input element focused.</p> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.form.select/-simple-select/get-children.html b/api/pl.treksoft.kvision.form.select/-simple-select/get-children.html new file mode 100644 index 00000000..114f4013 --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-simple-select/get-children.html @@ -0,0 +1,18 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>SimpleSelect.getChildren - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.form.select</a> / <a href="index.html">SimpleSelect</a> / <a href="./get-children.html">getChildren</a><br/> +<br/> +<h1>getChildren</h1> +<a name="pl.treksoft.kvision.form.select.SimpleSelect$getChildren()"></a> +<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>Overrides <a href="../../pl.treksoft.kvision.panel/-simple-panel/get-children.html">SimplePanel.getChildren</a></p> +<p>Returns a list of children of the current container.</p> +<p><strong>Return</strong><br/> +list of children</p> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.form.select/-simple-select/get-sn-class.html b/api/pl.treksoft.kvision.form.select/-simple-select/get-sn-class.html new file mode 100644 index 00000000..e05e0edf --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-simple-select/get-sn-class.html @@ -0,0 +1,18 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>SimpleSelect.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.select</a> / <a href="index.html">SimpleSelect</a> / <a href="./get-sn-class.html">getSnClass</a><br/> +<br/> +<h1>getSnClass</h1> +<a name="pl.treksoft.kvision.form.select.SimpleSelect$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.select/-simple-select/index.html b/api/pl.treksoft.kvision.form.select/-simple-select/index.html new file mode 100644 index 00000000..4a4d80bd --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-simple-select/index.html @@ -0,0 +1,305 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>SimpleSelect - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.form.select</a> / <a href="./index.html">SimpleSelect</a><br/> +<br/> +<h1>SimpleSelect</h1> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">SimpleSelect</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/-string-form-control/index.html"><span class="identifier">StringFormControl</span></a></code> +<p>The form field component for SimpleSelect control.</p> +<h3>Constructors</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-init-.html"><init></a></p> +</td> +<td> +<code><span class="identifier">SimpleSelect</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.select.SimpleSelect$<init>(kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, kotlin.Boolean, 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.select.SimpleSelect$<init>(kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, kotlin.Boolean, 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.select.SimpleSelect$<init>(kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, kotlin.Boolean, kotlin.String, kotlin.String, kotlin.Boolean)/emptyOption">emptyOption</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.select.SimpleSelect$<init>(kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, kotlin.Boolean, 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.select.SimpleSelect$<init>(kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, kotlin.Boolean, kotlin.String, kotlin.String, kotlin.Boolean)/label">label</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.select.SimpleSelect$<init>(kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, kotlin.Boolean, kotlin.String, kotlin.String, kotlin.Boolean)/rich">rich</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<span class="symbol">)</span></code></td> +</tr> +</tbody> +</table> +<h3>Properties</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="autofocus.html">autofocus</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">autofocus</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">?</span></code> +<p>Determines if the select is automatically focused.</p> +</td> +</tr> +<tr> +<td> +<p><a href="empty-option.html">emptyOption</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">emptyOption</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 an empty option is automatically generated.</p> +</td> +</tr> +<tr> +<td> +<p><a href="flabel.html">flabel</a></p> +</td> +<td> +<code><span class="keyword">val </span><span class="identifier">flabel</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.form/-field-label/index.html"><span class="identifier">FieldLabel</span></a></code> +<p>Form field label.</p> +</td> +</tr> +<tr> +<td> +<p><a href="input.html">input</a></p> +</td> +<td> +<code><span class="keyword">val </span><span class="identifier">input</span><span class="symbol">: </span><a href="../-simple-select-input/index.html"><span class="identifier">SimpleSelectInput</span></a></code> +<p>The actual input component.</p> +</td> +</tr> +<tr> +<td> +<p><a href="label.html">label</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">label</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span></code> +<p>The label text bound to the select 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 (value to label pairs) for the select control.</p> +</td> +</tr> +<tr> +<td> +<p><a href="rich.html">rich</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">rich</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code> +<p>Determines if <a href="label.html">label</a> can contain HTML code.</p> +</td> +</tr> +<tr> +<td> +<p><a href="start-value.html">startValue</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">startValue</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span></code> +<p>The value of the selected child option.</p> +</td> +</tr> +<tr> +<td> +<p><a href="validation-info.html">validationInfo</a></p> +</td> +<td> +<code><span class="keyword">val </span><span class="identifier">validationInfo</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.form/-help-block/index.html"><span class="identifier">HelpBlock</span></a></code> +<p>Validation info component.</p> +</td> +</tr> +<tr> +<td> +<p><a href="value.html">value</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">value</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-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="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.form.select.SimpleSelect$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="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.form.select.SimpleSelect$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="blur.html">blur</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">blur</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code> +<p>Makes the input element blur.</p> +</td> +</tr> +<tr> +<td> +<p><a href="focus.html">focus</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">focus</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code> +<p>Makes the input element focused.</p> +</td> +</tr> +<tr> +<td> +<p><a href="get-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="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="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.form.select.SimpleSelect$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="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="remove-event-listeners.html">removeEventListeners</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeEventListeners</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Removes all event listeners from current widget.</p> +</td> +</tr> +<tr> +<td> +<p><a href="set-event-listener.html">setEventListener</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span> <span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">></span> <span class="identifier">setEventListener</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.select.SimpleSelect$setEventListener(kotlin.Function1((pl.treksoft.kvision.utils.SnOn((pl.treksoft.kvision.form.select.SimpleSelect.setEventListener.T)), kotlin.Unit)))/block">block</span><span class="symbol">:</span> <span class="identifier">SnOn</span><span class="symbol"><</span><a href="set-event-listener.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Sets an event listener for current widget, keeping the actual type of component.</p> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">setEventListener</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.select.SimpleSelect$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> +</tbody> +</table> +<h3>Inherited Functions</h3> +<table> +<tbody> +<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.form/-string-form-control/get-value.html">getValue</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getValue</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span></code> +<p>Returns the value of the control.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.form/-string-form-control/get-value-as-string.html">getValueAsString</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getValueAsString</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span></code> +<p>Returns the value of the control as a String.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.panel/-simple-panel/render.html">render</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">render</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">VNode</span></code> +<p>Renders current component as a Snabbdom vnode.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.form/-string-form-control/set-value.html">setValue</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">setValue</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.StringFormControl$setValue(kotlin.Any)/v">v</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">?</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code> +<p>Sets the value of the control.</p> +</td> +</tr> +</tbody> +</table> +<h3>Companion Object Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="simple-select.html">simpleSelect</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">simpleSelect</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.select.SimpleSelect.Companion$simpleSelect(pl.treksoft.kvision.core.Container, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, kotlin.Boolean, kotlin.String, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.select.SimpleSelect, 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.select.SimpleSelect.Companion$simpleSelect(pl.treksoft.kvision.core.Container, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, kotlin.Boolean, kotlin.String, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.select.SimpleSelect, 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.select.SimpleSelect.Companion$simpleSelect(pl.treksoft.kvision.core.Container, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, kotlin.Boolean, kotlin.String, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.select.SimpleSelect, kotlin.Unit)))/emptyOption">emptyOption</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.select.SimpleSelect.Companion$simpleSelect(pl.treksoft.kvision.core.Container, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, kotlin.Boolean, kotlin.String, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.select.SimpleSelect, 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.select.SimpleSelect.Companion$simpleSelect(pl.treksoft.kvision.core.Container, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, kotlin.Boolean, kotlin.String, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.select.SimpleSelect, kotlin.Unit)))/label">label</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.select.SimpleSelect.Companion$simpleSelect(pl.treksoft.kvision.core.Container, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, kotlin.Boolean, kotlin.String, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.select.SimpleSelect, kotlin.Unit)))/rich">rich</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.select.SimpleSelect.Companion$simpleSelect(pl.treksoft.kvision.core.Container, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, kotlin.Boolean, kotlin.String, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.select.SimpleSelect, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="./index.html"><span class="identifier">SimpleSelect</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><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">)</span><span class="symbol">: </span><a href="./index.html"><span class="identifier">SimpleSelect</span></a></code> +<p>DSL builder extension function.</p> +</td> +</tr> +</tbody> +</table> +<h3>Extension Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.utils/kotlin.-any/create-instance.html">createInstance</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">?</span><span class="symbol">.</span><span class="identifier">createInstance</span><span class="symbol">(</span><span class="keyword">vararg</span> <span class="identifier" id="pl.treksoft.kvision.utils$createInstance(kotlin.Any, kotlin.Array((kotlin.Any)))/args">args</span><span class="symbol">:</span> <span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.utils/kotlin.-any/create-instance.html#T"><span class="identifier">T</span></a></code> +<p>Helper function for creating JavaScript objects from dynamic constructors.</p> +</td> +</tr> +</tbody> +</table> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.form.select/-simple-select/input.html b/api/pl.treksoft.kvision.form.select/-simple-select/input.html new file mode 100644 index 00000000..cfabd4f7 --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-simple-select/input.html @@ -0,0 +1,16 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>SimpleSelect.input - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.form.select</a> / <a href="index.html">SimpleSelect</a> / <a href="./input.html">input</a><br/> +<br/> +<h1>input</h1> +<a name="pl.treksoft.kvision.form.select.SimpleSelect$input"></a> +<code><span class="keyword">val </span><span class="identifier">input</span><span class="symbol">: </span><a href="../-simple-select-input/index.html"><span class="identifier">SimpleSelectInput</span></a></code> +<p>Overrides <a href="../../pl.treksoft.kvision.form/-form-control/input.html">FormControl.input</a></p> +<p>The actual input component.</p> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.form.select/-simple-select/label.html b/api/pl.treksoft.kvision.form.select/-simple-select/label.html new file mode 100644 index 00000000..8f2ae01e --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-simple-select/label.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>SimpleSelect.label - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.form.select</a> / <a href="index.html">SimpleSelect</a> / <a href="./label.html">label</a><br/> +<br/> +<h1>label</h1> +<a name="pl.treksoft.kvision.form.select.SimpleSelect$label"></a> +<code><span class="keyword">var </span><span class="identifier">label</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span></code> +<p>The label text bound to the select element.</p> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.form.select/-simple-select/options.html b/api/pl.treksoft.kvision.form.select/-simple-select/options.html new file mode 100644 index 00000000..6b56e20e --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-simple-select/options.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>SimpleSelect.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.select</a> / <a href="index.html">SimpleSelect</a> / <a href="./options.html">options</a><br/> +<br/> +<h1>options</h1> +<a name="pl.treksoft.kvision.form.select.SimpleSelect$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 (value to label pairs) for the select control.</p> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.form.select/-simple-select/remove-all.html b/api/pl.treksoft.kvision.form.select/-simple-select/remove-all.html new file mode 100644 index 00000000..df6e12bd --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-simple-select/remove-all.html @@ -0,0 +1,18 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>SimpleSelect.removeAll - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.form.select</a> / <a href="index.html">SimpleSelect</a> / <a href="./remove-all.html">removeAll</a><br/> +<br/> +<h1>removeAll</h1> +<a name="pl.treksoft.kvision.form.select.SimpleSelect$removeAll()"></a> +<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>Overrides <a href="../../pl.treksoft.kvision.panel/-simple-panel/remove-all.html">SimplePanel.removeAll</a></p> +<p>Removes all children from the current container.</p> +<p><strong>Return</strong><br/> +current container</p> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.form.select/-simple-select/remove-event-listeners.html b/api/pl.treksoft.kvision.form.select/-simple-select/remove-event-listeners.html new file mode 100644 index 00000000..b5410b38 --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-simple-select/remove-event-listeners.html @@ -0,0 +1,18 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>SimpleSelect.removeEventListeners - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.form.select</a> / <a href="index.html">SimpleSelect</a> / <a href="./remove-event-listeners.html">removeEventListeners</a><br/> +<br/> +<h1>removeEventListeners</h1> +<a name="pl.treksoft.kvision.form.select.SimpleSelect$removeEventListeners()"></a> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeEventListeners</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Overrides <a href="../../pl.treksoft.kvision.core/-widget/remove-event-listeners.html">Widget.removeEventListeners</a></p> +<p>Removes all event listeners from current widget.</p> +<p><strong>Return</strong><br/> +current widget</p> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.form.select/-simple-select/remove.html b/api/pl.treksoft.kvision.form.select/-simple-select/remove.html new file mode 100644 index 00000000..7c8b5f91 --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-simple-select/remove.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>SimpleSelect.remove - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.form.select</a> / <a href="index.html">SimpleSelect</a> / <a href="./remove.html">remove</a><br/> +<br/> +<h1>remove</h1> +<a name="pl.treksoft.kvision.form.select.SimpleSelect$remove(pl.treksoft.kvision.core.Component)"></a> +<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.form.select.SimpleSelect$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>Overrides <a href="../../pl.treksoft.kvision.panel/-simple-panel/remove.html">SimplePanel.remove</a></p> +<p>Removes given component from the current container.</p> +<h3>Parameters</h3> +<p><a name="child"></a> +<code>child</code> - child component</p> +<p><strong>Return</strong><br/> +current container</p> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.form.select/-simple-select/rich.html b/api/pl.treksoft.kvision.form.select/-simple-select/rich.html new file mode 100644 index 00000000..76cadb21 --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-simple-select/rich.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>SimpleSelect.rich - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.form.select</a> / <a href="index.html">SimpleSelect</a> / <a href="./rich.html">rich</a><br/> +<br/> +<h1>rich</h1> +<a name="pl.treksoft.kvision.form.select.SimpleSelect$rich"></a> +<code><span class="keyword">var </span><span class="identifier">rich</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code> +<p>Determines if <a href="label.html">label</a> can contain HTML code.</p> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.form.select/-simple-select/set-event-listener.html b/api/pl.treksoft.kvision.form.select/-simple-select/set-event-listener.html new file mode 100644 index 00000000..9c01ab57 --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-simple-select/set-event-listener.html @@ -0,0 +1,54 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>SimpleSelect.setEventListener - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.form.select</a> / <a href="index.html">SimpleSelect</a> / <a href="./set-event-listener.html">setEventListener</a><br/> +<br/> +<h1>setEventListener</h1> +<a name="pl.treksoft.kvision.form.select.SimpleSelect$setEventListener(kotlin.Function1((pl.treksoft.kvision.utils.SnOn((pl.treksoft.kvision.form.select.SimpleSelect.setEventListener.T)), kotlin.Unit)))"></a> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span> <span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">></span> <span class="identifier">setEventListener</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.select.SimpleSelect$setEventListener(kotlin.Function1((pl.treksoft.kvision.utils.SnOn((pl.treksoft.kvision.form.select.SimpleSelect.setEventListener.T)), kotlin.Unit)))/block">block</span><span class="symbol">:</span> <span class="identifier">SnOn</span><span class="symbol"><</span><a href="set-event-listener.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Overrides <a href="../../pl.treksoft.kvision.core/-widget/set-event-listener.html">Widget.setEventListener</a></p> +<p>Sets an event listener for current widget, keeping the actual type of component.</p> +<h3>Parameters</h3> +<p><a name="T"></a> +<code>T</code> - widget type</p> +<p><a name="block"></a> +<code>block</code> - event handler</p> +<p><strong>Return</strong><br/> +<p>current widget</p> + + +<p>Example:</p> + + +<pre><code> button.setEventListener<Button> { + dblclick = { + Alert.show("Button double clicked!") + // self is of type Button here + } + }</code></pre></p> +<a name="pl.treksoft.kvision.form.select.SimpleSelect$setEventListener(kotlin.Function1((pl.treksoft.kvision.utils.SnOn((pl.treksoft.kvision.core.Widget)), kotlin.Unit)))"></a> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">setEventListener</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.select.SimpleSelect$setEventListener(kotlin.Function1((pl.treksoft.kvision.utils.SnOn((pl.treksoft.kvision.core.Widget)), kotlin.Unit)))/block">block</span><span class="symbol">:</span> <span class="identifier">SnOn</span><span class="symbol"><</span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">></span><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Overrides <a href="../../pl.treksoft.kvision.core/-widget/set-event-listener.html">Widget.setEventListener</a></p> +<p>Sets an event listener for current widget.</p> +<h3>Parameters</h3> +<p><a name="block"></a> +<code>block</code> - event handler</p> +<p><strong>Return</strong><br/> +<p>current widget</p> + + +<p>Example:</p> + + +<pre><code> button.setEventListener { + dblclick = { + Alert.show("Button double clicked!") + // self is of type Widget here + } + }</code></pre></p> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.form.select/-simple-select/simple-select.html b/api/pl.treksoft.kvision.form.select/-simple-select/simple-select.html new file mode 100644 index 00000000..8c49f2fb --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-simple-select/simple-select.html @@ -0,0 +1,16 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>SimpleSelect.simpleSelect - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.form.select</a> / <a href="index.html">SimpleSelect</a> / <a href="./simple-select.html">simpleSelect</a><br/> +<br/> +<h1>simpleSelect</h1> +<a name="pl.treksoft.kvision.form.select.SimpleSelect.Companion$simpleSelect(pl.treksoft.kvision.core.Container, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, kotlin.Boolean, kotlin.String, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.select.SimpleSelect, 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">simpleSelect</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.select.SimpleSelect.Companion$simpleSelect(pl.treksoft.kvision.core.Container, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, kotlin.Boolean, kotlin.String, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.select.SimpleSelect, 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.select.SimpleSelect.Companion$simpleSelect(pl.treksoft.kvision.core.Container, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, kotlin.Boolean, kotlin.String, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.select.SimpleSelect, 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.select.SimpleSelect.Companion$simpleSelect(pl.treksoft.kvision.core.Container, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, kotlin.Boolean, kotlin.String, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.select.SimpleSelect, kotlin.Unit)))/emptyOption">emptyOption</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.select.SimpleSelect.Companion$simpleSelect(pl.treksoft.kvision.core.Container, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, kotlin.Boolean, kotlin.String, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.select.SimpleSelect, 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.select.SimpleSelect.Companion$simpleSelect(pl.treksoft.kvision.core.Container, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, kotlin.Boolean, kotlin.String, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.select.SimpleSelect, kotlin.Unit)))/label">label</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.select.SimpleSelect.Companion$simpleSelect(pl.treksoft.kvision.core.Container, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, kotlin.Boolean, kotlin.String, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.select.SimpleSelect, kotlin.Unit)))/rich">rich</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.select.SimpleSelect.Companion$simpleSelect(pl.treksoft.kvision.core.Container, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, kotlin.Boolean, kotlin.String, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.select.SimpleSelect, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="index.html"><span class="identifier">SimpleSelect</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><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">SimpleSelect</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.select/-simple-select/start-value.html b/api/pl.treksoft.kvision.form.select/-simple-select/start-value.html new file mode 100644 index 00000000..56ce802a --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-simple-select/start-value.html @@ -0,0 +1,17 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>SimpleSelect.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.select</a> / <a href="index.html">SimpleSelect</a> / <a href="./start-value.html">startValue</a><br/> +<br/> +<h1>startValue</h1> +<a name="pl.treksoft.kvision.form.select.SimpleSelect$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/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span></code> +<p>The value of the selected child option.</p> +<p>This value is placed directly in the generated HTML code, while the <a href="value.html">value</a> property is dynamically +bound to the select component.</p> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.form.select/-simple-select/validation-info.html b/api/pl.treksoft.kvision.form.select/-simple-select/validation-info.html new file mode 100644 index 00000000..c47d4257 --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-simple-select/validation-info.html @@ -0,0 +1,16 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>SimpleSelect.validationInfo - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.form.select</a> / <a href="index.html">SimpleSelect</a> / <a href="./validation-info.html">validationInfo</a><br/> +<br/> +<h1>validationInfo</h1> +<a name="pl.treksoft.kvision.form.select.SimpleSelect$validationInfo"></a> +<code><span class="keyword">val </span><span class="identifier">validationInfo</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.form/-help-block/index.html"><span class="identifier">HelpBlock</span></a></code> +<p>Overrides <a href="../../pl.treksoft.kvision.form/-form-control/validation-info.html">FormControl.validationInfo</a></p> +<p>Validation info component.</p> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.form.select/-simple-select/value.html b/api/pl.treksoft.kvision.form.select/-simple-select/value.html new file mode 100644 index 00000000..c936678a --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-simple-select/value.html @@ -0,0 +1,16 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>SimpleSelect.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.select</a> / <a href="index.html">SimpleSelect</a> / <a href="./value.html">value</a><br/> +<br/> +<h1>value</h1> +<a name="pl.treksoft.kvision.form.select.SimpleSelect$value"></a> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">value</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span></code> +<p>Overrides <a href="../../pl.treksoft.kvision.form/-string-form-control/value.html">StringFormControl.value</a></p> +<p>A value of the selected option.</p> +</BODY> +</HTML> |