diff options
author | Robert Jaros <rjaros@finn.pl> | 2018-03-05 08:45:25 +0100 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2018-03-05 08:45:26 +0100 |
commit | f3c9d405382dd81d426c7eab1f6390ec8e6dad00 (patch) | |
tree | 2913cb1e5818e91119221c93f9a997a3f10a52c0 /docs/api/pl.treksoft.kvision.form/-form-panel | |
parent | 726751c145b33f82e024787fa7aafcc861712712 (diff) | |
download | kvision-f3c9d405382dd81d426c7eab1f6390ec8e6dad00.tar.gz kvision-f3c9d405382dd81d426c7eab1f6390ec8e6dad00.tar.bz2 kvision-f3c9d405382dd81d426c7eab1f6390ec8e6dad00.zip |
Documentation update.
Diffstat (limited to 'docs/api/pl.treksoft.kvision.form/-form-panel')
17 files changed, 0 insertions, 532 deletions
diff --git a/docs/api/pl.treksoft.kvision.form/-form-panel/-init-.html b/docs/api/pl.treksoft.kvision.form/-form-panel/-init-.html deleted file mode 100644 index 754f2a51..00000000 --- a/docs/api/pl.treksoft.kvision.form/-form-panel/-init-.html +++ /dev/null @@ -1,25 +0,0 @@ -<HTML> -<HEAD> -<meta charset="UTF-8"> -<title>FormPanel.<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</a> / <a href="index.html">FormPanel</a> / <a href="./-init-.html"><init></a><br/> -<br/> -<h1><init></h1> -<a name="pl.treksoft.kvision.form.FormPanel$<init>(pl.treksoft.kvision.form.FormType, kotlin.collections.Set((kotlin.String)), kotlin.Function1((kotlin.collections.Map((kotlin.String, kotlin.Any)), pl.treksoft.kvision.form.FormPanel.K)))"></a> -<code><span class="identifier">FormPanel</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.FormPanel$<init>(pl.treksoft.kvision.form.FormType, kotlin.collections.Set((kotlin.String)), kotlin.Function1((kotlin.collections.Map((kotlin.String, kotlin.Any)), pl.treksoft.kvision.form.FormPanel.K)))/type">type</span><span class="symbol">:</span> <a href="../-form-type/index.html"><span class="identifier">FormType</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.FormPanel$<init>(pl.treksoft.kvision.form.FormType, kotlin.collections.Set((kotlin.String)), kotlin.Function1((kotlin.collections.Map((kotlin.String, kotlin.Any)), pl.treksoft.kvision.form.FormPanel.K)))/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.FormPanel$<init>(pl.treksoft.kvision.form.FormType, kotlin.collections.Set((kotlin.String)), kotlin.Function1((kotlin.collections.Map((kotlin.String, kotlin.Any)), pl.treksoft.kvision.form.FormPanel.K)))/modelFactory">modelFactory</span><span class="symbol">:</span> <span class="symbol">(</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html"><span class="identifier">Map</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> <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> <span class="symbol">-></span> <a href="index.html#K"><span class="identifier">K</span></a><span class="symbol">)</span></code> -<h3>Parameters</h3> -<p><a name="K"></a> -<code>K</code> - model class type</p> -<p><a name="type"></a> -<code>type</code> - form layout</p> -<p><a name="classes"></a> -<code>classes</code> - set of CSS class names</p> -<p><a name="modelFactory"></a> -<code>modelFactory</code> - function transforming a Map<String, Any?> to a data model of class K</p> -<p><strong>Constructor</strong><br/> -</p> -</BODY> -</HTML> diff --git a/docs/api/pl.treksoft.kvision.form/-form-panel/add.html b/docs/api/pl.treksoft.kvision.form/-form-panel/add.html deleted file mode 100644 index dabf16e2..00000000 --- a/docs/api/pl.treksoft.kvision.form/-form-panel/add.html +++ /dev/null @@ -1,28 +0,0 @@ -<HTML> -<HEAD> -<meta charset="UTF-8"> -<title>FormPanel.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</a> / <a href="index.html">FormPanel</a> / <a href="./add.html">add</a><br/> -<br/> -<h1>add</h1> -<a name="pl.treksoft.kvision.form.FormPanel$add(kotlin.String, pl.treksoft.kvision.form.FormPanel.add.C, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.FormPanel.add.C, kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.FormPanel.add.C, kotlin.Boolean)))"></a> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">C</span> <span class="symbol">:</span> <a href="../-form-control/index.html"><span class="identifier">FormControl</span></a><span class="symbol">></span> <span class="identifier">add</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.FormPanel$add(kotlin.String, pl.treksoft.kvision.form.FormPanel.add.C, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.FormPanel.add.C, kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.FormPanel.add.C, kotlin.Boolean)))/key">key</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.FormPanel$add(kotlin.String, pl.treksoft.kvision.form.FormPanel.add.C, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.FormPanel.add.C, kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.FormPanel.add.C, kotlin.Boolean)))/control">control</span><span class="symbol">:</span> <a href="add.html#C"><span class="identifier">C</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.FormPanel$add(kotlin.String, pl.treksoft.kvision.form.FormPanel.add.C, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.FormPanel.add.C, kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.FormPanel.add.C, kotlin.Boolean)))/required">required</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.FormPanel$add(kotlin.String, pl.treksoft.kvision.form.FormPanel.add.C, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.FormPanel.add.C, kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.FormPanel.add.C, kotlin.Boolean)))/validatorMessage">validatorMessage</span><span class="symbol">:</span> <span class="symbol">(</span><a href="add.html#C"><span class="identifier">C</span></a><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> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.FormPanel$add(kotlin.String, pl.treksoft.kvision.form.FormPanel.add.C, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.FormPanel.add.C, kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.FormPanel.add.C, kotlin.Boolean)))/validator">validator</span><span class="symbol">:</span> <span class="symbol">(</span><a href="add.html#C"><span class="identifier">C</span></a><span class="symbol">)</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> <span class="symbol">=</span> null<span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">FormPanel</span></a><span class="symbol"><</span><a href="index.html#K"><span class="identifier">K</span></a><span class="symbol">></span></code> -<p>Adds a control to the form panel.</p> -<h3>Parameters</h3> -<p><a name="key"></a> -<code>key</code> - key identifier of the control</p> -<p><a name="control"></a> -<code>control</code> - the form control</p> -<p><a name="required"></a> -<code>required</code> - determines if the control is required</p> -<p><a name="validatorMessage"></a> -<code>validatorMessage</code> - optional function returning validation message</p> -<p><a name="validator"></a> -<code>validator</code> - optional validation function</p> -<p><strong>Return</strong><br/> -current form panel</p> -</BODY> -</HTML> diff --git a/docs/api/pl.treksoft.kvision.form/-form-panel/clear-data.html b/docs/api/pl.treksoft.kvision.form/-form-panel/clear-data.html deleted file mode 100644 index 78194286..00000000 --- a/docs/api/pl.treksoft.kvision.form/-form-panel/clear-data.html +++ /dev/null @@ -1,15 +0,0 @@ -<HTML> -<HEAD> -<meta charset="UTF-8"> -<title>FormPanel.clearData - kvision</title> -<link rel="stylesheet" href="../../../style.css"> -</HEAD> -<BODY> -<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.form</a> / <a href="index.html">FormPanel</a> / <a href="./clear-data.html">clearData</a><br/> -<br/> -<h1>clearData</h1> -<a name="pl.treksoft.kvision.form.FormPanel$clearData()"></a> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">clearData</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>Sets the values of all controls to null.</p> -</BODY> -</HTML> diff --git a/docs/api/pl.treksoft.kvision.form/-form-panel/form-panel.html b/docs/api/pl.treksoft.kvision.form/-form-panel/form-panel.html deleted file mode 100644 index 6410911f..00000000 --- a/docs/api/pl.treksoft.kvision.form/-form-panel/form-panel.html +++ /dev/null @@ -1,16 +0,0 @@ -<HTML> -<HEAD> -<meta charset="UTF-8"> -<title>FormPanel.formPanel - kvision</title> -<link rel="stylesheet" href="../../../style.css"> -</HEAD> -<BODY> -<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.form</a> / <a href="index.html">FormPanel</a> / <a href="./form-panel.html">formPanel</a><br/> -<br/> -<h1>formPanel</h1> -<a name="pl.treksoft.kvision.form.FormPanel.Companion$formPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.form.FormType, kotlin.collections.Set((kotlin.String)), kotlin.Function1((kotlin.collections.Map((kotlin.String, kotlin.Any)), pl.treksoft.kvision.form.FormPanel.Companion.formPanel.K)))"></a> -<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">K</span><span class="symbol">></span> <a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">formPanel</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.FormPanel.Companion$formPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.form.FormType, kotlin.collections.Set((kotlin.String)), kotlin.Function1((kotlin.collections.Map((kotlin.String, kotlin.Any)), pl.treksoft.kvision.form.FormPanel.Companion.formPanel.K)))/type">type</span><span class="symbol">:</span> <a href="../-form-type/index.html"><span class="identifier">FormType</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.FormPanel.Companion$formPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.form.FormType, kotlin.collections.Set((kotlin.String)), kotlin.Function1((kotlin.collections.Map((kotlin.String, kotlin.Any)), pl.treksoft.kvision.form.FormPanel.Companion.formPanel.K)))/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.FormPanel.Companion$formPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.form.FormType, kotlin.collections.Set((kotlin.String)), kotlin.Function1((kotlin.collections.Map((kotlin.String, kotlin.Any)), pl.treksoft.kvision.form.FormPanel.Companion.formPanel.K)))/modelFactory">modelFactory</span><span class="symbol">:</span> <span class="symbol">(</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html"><span class="identifier">Map</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> <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> <span class="symbol">-></span> <a href="form-panel.html#K"><span class="identifier">K</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">FormPanel</span></a><span class="symbol"><</span><a href="form-panel.html#K"><span class="identifier">K</span></a><span class="symbol">></span></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/docs/api/pl.treksoft.kvision.form/-form-panel/get-control.html b/docs/api/pl.treksoft.kvision.form/-form-panel/get-control.html deleted file mode 100644 index e3e8b15c..00000000 --- a/docs/api/pl.treksoft.kvision.form/-form-panel/get-control.html +++ /dev/null @@ -1,20 +0,0 @@ -<HTML> -<HEAD> -<meta charset="UTF-8"> -<title>FormPanel.getControl - kvision</title> -<link rel="stylesheet" href="../../../style.css"> -</HEAD> -<BODY> -<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.form</a> / <a href="index.html">FormPanel</a> / <a href="./get-control.html">getControl</a><br/> -<br/> -<h1>getControl</h1> -<a name="pl.treksoft.kvision.form.FormPanel$getControl(kotlin.String)"></a> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getControl</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.FormPanel$getControl(kotlin.String)/key">key</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../-form-control/index.html"><span class="identifier">FormControl</span></a><span class="symbol">?</span></code> -<p>Returns a control of given key.</p> -<h3>Parameters</h3> -<p><a name="key"></a> -<code>key</code> - key identifier of the control</p> -<p><strong>Return</strong><br/> -selected control</p> -</BODY> -</HTML> diff --git a/docs/api/pl.treksoft.kvision.form/-form-panel/get-data-json.html b/docs/api/pl.treksoft.kvision.form/-form-panel/get-data-json.html deleted file mode 100644 index f472a575..00000000 --- a/docs/api/pl.treksoft.kvision.form/-form-panel/get-data-json.html +++ /dev/null @@ -1,17 +0,0 @@ -<HTML> -<HEAD> -<meta charset="UTF-8"> -<title>FormPanel.getDataJson - kvision</title> -<link rel="stylesheet" href="../../../style.css"> -</HEAD> -<BODY> -<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.form</a> / <a href="index.html">FormPanel</a> / <a href="./get-data-json.html">getDataJson</a><br/> -<br/> -<h1>getDataJson</h1> -<a name="pl.treksoft.kvision.form.FormPanel$getDataJson()"></a> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getDataJson</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.js/-json/index.html"><span class="identifier">Json</span></a></code> -<p>Returns current data model as JSON.</p> -<p><strong>Return</strong><br/> -data model as JSON</p> -</BODY> -</HTML> diff --git a/docs/api/pl.treksoft.kvision.form/-form-panel/get-data.html b/docs/api/pl.treksoft.kvision.form/-form-panel/get-data.html deleted file mode 100644 index c66e11c1..00000000 --- a/docs/api/pl.treksoft.kvision.form/-form-panel/get-data.html +++ /dev/null @@ -1,17 +0,0 @@ -<HTML> -<HEAD> -<meta charset="UTF-8"> -<title>FormPanel.getData - kvision</title> -<link rel="stylesheet" href="../../../style.css"> -</HEAD> -<BODY> -<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.form</a> / <a href="index.html">FormPanel</a> / <a href="./get-data.html">getData</a><br/> -<br/> -<h1>getData</h1> -<a name="pl.treksoft.kvision.form.FormPanel$getData()"></a> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getData</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="index.html#K"><span class="identifier">K</span></a></code> -<p>Returns current data model.</p> -<p><strong>Return</strong><br/> -data model</p> -</BODY> -</HTML> diff --git a/docs/api/pl.treksoft.kvision.form/-form-panel/get-sn-class.html b/docs/api/pl.treksoft.kvision.form/-form-panel/get-sn-class.html deleted file mode 100644 index dd839778..00000000 --- a/docs/api/pl.treksoft.kvision.form/-form-panel/get-sn-class.html +++ /dev/null @@ -1,18 +0,0 @@ -<HTML> -<HEAD> -<meta charset="UTF-8"> -<title>FormPanel.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</a> / <a href="index.html">FormPanel</a> / <a href="./get-sn-class.html">getSnClass</a><br/> -<br/> -<h1>getSnClass</h1> -<a name="pl.treksoft.kvision.form.FormPanel$getSnClass()"></a> -<code><span class="keyword">protected</span> <span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getSnClass</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="../../pl.treksoft.kvision.core/-string-bool-pair.html"><span class="identifier">StringBoolPair</span></a><span class="symbol">></span></code> -<p>Overrides <a href="../../pl.treksoft.kvision.core/-widget/get-sn-class.html">Widget.getSnClass</a></p> -<p>Returns list of CSS class names for current widget in the form of a List.</p> -<p><strong>Return</strong><br/> -list of CSS class names</p> -</BODY> -</HTML> diff --git a/docs/api/pl.treksoft.kvision.form/-form-panel/get.html b/docs/api/pl.treksoft.kvision.form/-form-panel/get.html deleted file mode 100644 index dd82feb1..00000000 --- a/docs/api/pl.treksoft.kvision.form/-form-panel/get.html +++ /dev/null @@ -1,20 +0,0 @@ -<HTML> -<HEAD> -<meta charset="UTF-8"> -<title>FormPanel.get - kvision</title> -<link rel="stylesheet" href="../../../style.css"> -</HEAD> -<BODY> -<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.form</a> / <a href="index.html">FormPanel</a> / <a href="./get.html">get</a><br/> -<br/> -<h1>get</h1> -<a name="pl.treksoft.kvision.form.FormPanel$get(kotlin.String)"></a> -<code><span class="keyword">operator</span> <span class="keyword">fun </span><span class="identifier">get</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.FormPanel$get(kotlin.String)/key">key</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">?</span></code> -<p>Returns a value of the control of given key.</p> -<h3>Parameters</h3> -<p><a name="key"></a> -<code>key</code> - key identifier of the control</p> -<p><strong>Return</strong><br/> -value of the control</p> -</BODY> -</HTML> diff --git a/docs/api/pl.treksoft.kvision.form/-form-panel/index.html b/docs/api/pl.treksoft.kvision.form/-form-panel/index.html deleted file mode 100644 index 99e379a8..00000000 --- a/docs/api/pl.treksoft.kvision.form/-form-panel/index.html +++ /dev/null @@ -1,235 +0,0 @@ -<HTML> -<HEAD> -<meta charset="UTF-8"> -<title>FormPanel - kvision</title> -<link rel="stylesheet" href="../../../style.css"> -</HEAD> -<BODY> -<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.form</a> / <a href="./index.html">FormPanel</a><br/> -<br/> -<h1>FormPanel</h1> -<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">FormPanel</span><span class="symbol"><</span><span class="identifier">K</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>Bootstrap form component.</p> -<h3>Constructors</h3> -<table> -<tbody> -<tr> -<td> -<p><a href="-init-.html"><init></a></p> -</td> -<td> -<code><span class="identifier">FormPanel</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.FormPanel$<init>(pl.treksoft.kvision.form.FormType, kotlin.collections.Set((kotlin.String)), kotlin.Function1((kotlin.collections.Map((kotlin.String, kotlin.Any)), pl.treksoft.kvision.form.FormPanel.K)))/type">type</span><span class="symbol">:</span> <a href="../-form-type/index.html"><span class="identifier">FormType</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.FormPanel$<init>(pl.treksoft.kvision.form.FormType, kotlin.collections.Set((kotlin.String)), kotlin.Function1((kotlin.collections.Map((kotlin.String, kotlin.Any)), pl.treksoft.kvision.form.FormPanel.K)))/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.FormPanel$<init>(pl.treksoft.kvision.form.FormType, kotlin.collections.Set((kotlin.String)), kotlin.Function1((kotlin.collections.Map((kotlin.String, kotlin.Any)), pl.treksoft.kvision.form.FormPanel.K)))/modelFactory">modelFactory</span><span class="symbol">:</span> <span class="symbol">(</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html"><span class="identifier">Map</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> <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> <span class="symbol">-></span> <a href="index.html#K"><span class="identifier">K</span></a><span class="symbol">)</span></code></td> -</tr> -</tbody> -</table> -<h3>Properties</h3> -<table> -<tbody> -<tr> -<td> -<p><a href="validator.html">validator</a></p> -</td> -<td> -<code><span class="keyword">var </span><span class="identifier">validator</span><span class="symbol">: </span><span class="symbol">(</span><a href="../-form/index.html"><span class="identifier">Form</span></a><span class="symbol"><</span><a href="index.html#K"><span class="identifier">K</span></a><span class="symbol">></span><span class="symbol">)</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>Validation function.</p> -</td> -</tr> -<tr> -<td> -<p><a href="validator-message.html">validatorMessage</a></p> -</td> -<td> -<code><span class="keyword">var </span><span class="identifier">validatorMessage</span><span class="symbol">: </span><span class="symbol">(</span><a href="../-form/index.html"><span class="identifier">Form</span></a><span class="symbol"><</span><a href="index.html#K"><span class="identifier">K</span></a><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>Function returning validation message.</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="symbol"><</span><span class="identifier">C</span> <span class="symbol">:</span> <a href="../-form-control/index.html"><span class="identifier">FormControl</span></a><span class="symbol">></span> <span class="identifier">add</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.FormPanel$add(kotlin.String, pl.treksoft.kvision.form.FormPanel.add.C, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.FormPanel.add.C, kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.FormPanel.add.C, kotlin.Boolean)))/key">key</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.FormPanel$add(kotlin.String, pl.treksoft.kvision.form.FormPanel.add.C, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.FormPanel.add.C, kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.FormPanel.add.C, kotlin.Boolean)))/control">control</span><span class="symbol">:</span> <a href="add.html#C"><span class="identifier">C</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.FormPanel$add(kotlin.String, pl.treksoft.kvision.form.FormPanel.add.C, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.FormPanel.add.C, kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.FormPanel.add.C, kotlin.Boolean)))/required">required</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.FormPanel$add(kotlin.String, pl.treksoft.kvision.form.FormPanel.add.C, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.FormPanel.add.C, kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.FormPanel.add.C, kotlin.Boolean)))/validatorMessage">validatorMessage</span><span class="symbol">:</span> <span class="symbol">(</span><a href="add.html#C"><span class="identifier">C</span></a><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> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.FormPanel$add(kotlin.String, pl.treksoft.kvision.form.FormPanel.add.C, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.FormPanel.add.C, kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.FormPanel.add.C, kotlin.Boolean)))/validator">validator</span><span class="symbol">:</span> <span class="symbol">(</span><a href="add.html#C"><span class="identifier">C</span></a><span class="symbol">)</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> <span class="symbol">=</span> null<span class="symbol">)</span><span class="symbol">: </span><a href="./index.html"><span class="identifier">FormPanel</span></a><span class="symbol"><</span><a href="index.html#K"><span class="identifier">K</span></a><span class="symbol">></span></code> -<p>Adds a control to the form panel.</p> -</td> -</tr> -<tr> -<td> -<p><a href="clear-data.html">clearData</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">clearData</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>Sets the values of all controls to null.</p> -</td> -</tr> -<tr> -<td> -<p><a href="get.html">get</a></p> -</td> -<td> -<code><span class="keyword">operator</span> <span class="keyword">fun </span><span class="identifier">get</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.FormPanel$get(kotlin.String)/key">key</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">?</span></code> -<p>Returns a value of the control of given key.</p> -</td> -</tr> -<tr> -<td> -<p><a href="get-control.html">getControl</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getControl</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.FormPanel$getControl(kotlin.String)/key">key</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../-form-control/index.html"><span class="identifier">FormControl</span></a><span class="symbol">?</span></code> -<p>Returns a control of given key.</p> -</td> -</tr> -<tr> -<td> -<p><a href="get-data.html">getData</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getData</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="index.html#K"><span class="identifier">K</span></a></code> -<p>Returns current data model.</p> -</td> -</tr> -<tr> -<td> -<p><a href="get-data-json.html">getDataJson</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getDataJson</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.js/-json/index.html"><span class="identifier">Json</span></a></code> -<p>Returns current data model as JSON.</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.FormPanel$remove(kotlin.String)/key">key</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="./index.html"><span class="identifier">FormPanel</span></a><span class="symbol"><</span><a href="index.html#K"><span class="identifier">K</span></a><span class="symbol">></span></code> -<p>Removes a control from the form panel.</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="./index.html"><span class="identifier">FormPanel</span></a><span class="symbol"><</span><a href="index.html#K"><span class="identifier">K</span></a><span class="symbol">></span></code> -<p>Removes all children from the current container.</p> -</td> -</tr> -<tr> -<td> -<p><a href="render.html">render</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">render</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">VNode</span></code> -<p>Renders current component as a Snabbdom vnode.</p> -</td> -</tr> -<tr> -<td> -<p><a href="set-data.html">setData</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">setData</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.FormPanel$setData(pl.treksoft.kvision.form.FormPanel.K)/model">model</span><span class="symbol">:</span> <a href="index.html#K"><span class="identifier">K</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></code> -<p>Sets the values of all the controls from the model.</p> -</td> -</tr> -<tr> -<td> -<p><a href="validate.html">validate</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">validate</span><span class="symbol">(</span><span class="symbol">)</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>Invokes validator function and validates the form.</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> -</tbody> -</table> -<h3>Companion Object Functions</h3> -<table> -<tbody> -<tr> -<td> -<p><a href="form-panel.html">formPanel</a></p> -</td> -<td> -<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">K</span><span class="symbol">></span> <a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">formPanel</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.FormPanel.Companion$formPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.form.FormType, kotlin.collections.Set((kotlin.String)), kotlin.Function1((kotlin.collections.Map((kotlin.String, kotlin.Any)), pl.treksoft.kvision.form.FormPanel.Companion.formPanel.K)))/type">type</span><span class="symbol">:</span> <a href="../-form-type/index.html"><span class="identifier">FormType</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.FormPanel.Companion$formPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.form.FormType, kotlin.collections.Set((kotlin.String)), kotlin.Function1((kotlin.collections.Map((kotlin.String, kotlin.Any)), pl.treksoft.kvision.form.FormPanel.Companion.formPanel.K)))/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.FormPanel.Companion$formPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.form.FormType, kotlin.collections.Set((kotlin.String)), kotlin.Function1((kotlin.collections.Map((kotlin.String, kotlin.Any)), pl.treksoft.kvision.form.FormPanel.Companion.formPanel.K)))/modelFactory">modelFactory</span><span class="symbol">:</span> <span class="symbol">(</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html"><span class="identifier">Map</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> <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> <span class="symbol">-></span> <a href="form-panel.html#K"><span class="identifier">K</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="./index.html"><span class="identifier">FormPanel</span></a><span class="symbol"><</span><a href="form-panel.html#K"><span class="identifier">K</span></a><span class="symbol">></span></code> -<p>DSL builder extension function.</p> -</td> -</tr> -</tbody> -</table> -</BODY> -</HTML> diff --git a/docs/api/pl.treksoft.kvision.form/-form-panel/remove-all.html b/docs/api/pl.treksoft.kvision.form/-form-panel/remove-all.html deleted file mode 100644 index 31ab388f..00000000 --- a/docs/api/pl.treksoft.kvision.form/-form-panel/remove-all.html +++ /dev/null @@ -1,18 +0,0 @@ -<HTML> -<HEAD> -<meta charset="UTF-8"> -<title>FormPanel.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</a> / <a href="index.html">FormPanel</a> / <a href="./remove-all.html">removeAll</a><br/> -<br/> -<h1>removeAll</h1> -<a name="pl.treksoft.kvision.form.FormPanel$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="index.html"><span class="identifier">FormPanel</span></a><span class="symbol"><</span><a href="index.html#K"><span class="identifier">K</span></a><span class="symbol">></span></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/docs/api/pl.treksoft.kvision.form/-form-panel/remove.html b/docs/api/pl.treksoft.kvision.form/-form-panel/remove.html deleted file mode 100644 index 0e9d4afd..00000000 --- a/docs/api/pl.treksoft.kvision.form/-form-panel/remove.html +++ /dev/null @@ -1,20 +0,0 @@ -<HTML> -<HEAD> -<meta charset="UTF-8"> -<title>FormPanel.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</a> / <a href="index.html">FormPanel</a> / <a href="./remove.html">remove</a><br/> -<br/> -<h1>remove</h1> -<a name="pl.treksoft.kvision.form.FormPanel$remove(kotlin.String)"></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.FormPanel$remove(kotlin.String)/key">key</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">FormPanel</span></a><span class="symbol"><</span><a href="index.html#K"><span class="identifier">K</span></a><span class="symbol">></span></code> -<p>Removes a control from the form panel.</p> -<h3>Parameters</h3> -<p><a name="key"></a> -<code>key</code> - key identifier of the control</p> -<p><strong>Return</strong><br/> -current form panel</p> -</BODY> -</HTML> diff --git a/docs/api/pl.treksoft.kvision.form/-form-panel/render.html b/docs/api/pl.treksoft.kvision.form/-form-panel/render.html deleted file mode 100644 index 625a9dfb..00000000 --- a/docs/api/pl.treksoft.kvision.form/-form-panel/render.html +++ /dev/null @@ -1,18 +0,0 @@ -<HTML> -<HEAD> -<meta charset="UTF-8"> -<title>FormPanel.render - kvision</title> -<link rel="stylesheet" href="../../../style.css"> -</HEAD> -<BODY> -<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.form</a> / <a href="index.html">FormPanel</a> / <a href="./render.html">render</a><br/> -<br/> -<h1>render</h1> -<a name="pl.treksoft.kvision.form.FormPanel$render()"></a> -<code><span class="keyword">protected</span> <span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">render</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">VNode</span></code> -<p>Overrides <a href="../../pl.treksoft.kvision.panel/-simple-panel/render.html">SimplePanel.render</a></p> -<p>Renders current component as a Snabbdom vnode.</p> -<p><strong>Return</strong><br/> -Snabbdom vnode</p> -</BODY> -</HTML> diff --git a/docs/api/pl.treksoft.kvision.form/-form-panel/set-data.html b/docs/api/pl.treksoft.kvision.form/-form-panel/set-data.html deleted file mode 100644 index 347f7cf1..00000000 --- a/docs/api/pl.treksoft.kvision.form/-form-panel/set-data.html +++ /dev/null @@ -1,18 +0,0 @@ -<HTML> -<HEAD> -<meta charset="UTF-8"> -<title>FormPanel.setData - kvision</title> -<link rel="stylesheet" href="../../../style.css"> -</HEAD> -<BODY> -<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.form</a> / <a href="index.html">FormPanel</a> / <a href="./set-data.html">setData</a><br/> -<br/> -<h1>setData</h1> -<a name="pl.treksoft.kvision.form.FormPanel$setData(pl.treksoft.kvision.form.FormPanel.K)"></a> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">setData</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.FormPanel$setData(pl.treksoft.kvision.form.FormPanel.K)/model">model</span><span class="symbol">:</span> <a href="index.html#K"><span class="identifier">K</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></code> -<p>Sets the values of all the controls from the model.</p> -<h3>Parameters</h3> -<p><a name="model"></a> -<code>model</code> - data model</p> -</BODY> -</HTML> diff --git a/docs/api/pl.treksoft.kvision.form/-form-panel/validate.html b/docs/api/pl.treksoft.kvision.form/-form-panel/validate.html deleted file mode 100644 index e1e1be05..00000000 --- a/docs/api/pl.treksoft.kvision.form/-form-panel/validate.html +++ /dev/null @@ -1,17 +0,0 @@ -<HTML> -<HEAD> -<meta charset="UTF-8"> -<title>FormPanel.validate - kvision</title> -<link rel="stylesheet" href="../../../style.css"> -</HEAD> -<BODY> -<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.form</a> / <a href="index.html">FormPanel</a> / <a href="./validate.html">validate</a><br/> -<br/> -<h1>validate</h1> -<a name="pl.treksoft.kvision.form.FormPanel$validate()"></a> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">validate</span><span class="symbol">(</span><span class="symbol">)</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>Invokes validator function and validates the form.</p> -<p><strong>Return</strong><br/> -validation result</p> -</BODY> -</HTML> diff --git a/docs/api/pl.treksoft.kvision.form/-form-panel/validator-message.html b/docs/api/pl.treksoft.kvision.form/-form-panel/validator-message.html deleted file mode 100644 index 09f629f9..00000000 --- a/docs/api/pl.treksoft.kvision.form/-form-panel/validator-message.html +++ /dev/null @@ -1,15 +0,0 @@ -<HTML> -<HEAD> -<meta charset="UTF-8"> -<title>FormPanel.validatorMessage - kvision</title> -<link rel="stylesheet" href="../../../style.css"> -</HEAD> -<BODY> -<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.form</a> / <a href="index.html">FormPanel</a> / <a href="./validator-message.html">validatorMessage</a><br/> -<br/> -<h1>validatorMessage</h1> -<a name="pl.treksoft.kvision.form.FormPanel$validatorMessage"></a> -<code><span class="keyword">var </span><span class="identifier">validatorMessage</span><span class="symbol">: </span><span class="symbol">(</span><a href="../-form/index.html"><span class="identifier">Form</span></a><span class="symbol"><</span><a href="index.html#K"><span class="identifier">K</span></a><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>Function returning validation message.</p> -</BODY> -</HTML> diff --git a/docs/api/pl.treksoft.kvision.form/-form-panel/validator.html b/docs/api/pl.treksoft.kvision.form/-form-panel/validator.html deleted file mode 100644 index 88081e7c..00000000 --- a/docs/api/pl.treksoft.kvision.form/-form-panel/validator.html +++ /dev/null @@ -1,15 +0,0 @@ -<HTML> -<HEAD> -<meta charset="UTF-8"> -<title>FormPanel.validator - kvision</title> -<link rel="stylesheet" href="../../../style.css"> -</HEAD> -<BODY> -<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.form</a> / <a href="index.html">FormPanel</a> / <a href="./validator.html">validator</a><br/> -<br/> -<h1>validator</h1> -<a name="pl.treksoft.kvision.form.FormPanel$validator"></a> -<code><span class="keyword">var </span><span class="identifier">validator</span><span class="symbol">: </span><span class="symbol">(</span><a href="../-form/index.html"><span class="identifier">Form</span></a><span class="symbol"><</span><a href="index.html#K"><span class="identifier">K</span></a><span class="symbol">></span><span class="symbol">)</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>Validation function.</p> -</BODY> -</HTML> |