diff options
author | Robert Jaros <rjaros@finn.pl> | 2019-03-17 01:38:43 +0100 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2019-03-17 01:38:43 +0100 |
commit | 5c87c4a52e95c942c413324e21034a52fff0ccb3 (patch) | |
tree | f1428d11a37ea4504d8caa897c876e7650e2206d /api/pl.treksoft.kvision.form | |
parent | e992f3f13ec46cad15cc7d6982e64ffc7223eb9a (diff) | |
download | kvision-5c87c4a52e95c942c413324e21034a52fff0ccb3.tar.gz kvision-5c87c4a52e95c942c413324e21034a52fff0ccb3.tar.bz2 kvision-5c87c4a52e95c942c413324e21034a52fff0ccb3.zip |
API Documentation for KVision 0.0.30
Diffstat (limited to 'api/pl.treksoft.kvision.form')
8 files changed, 95 insertions, 52 deletions
diff --git a/api/pl.treksoft.kvision.form/-field-label/field-label.html b/api/pl.treksoft.kvision.form/-field-label/field-label.html new file mode 100644 index 00000000..4bdcb3f7 --- /dev/null +++ b/api/pl.treksoft.kvision.form/-field-label/field-label.html @@ -0,0 +1,16 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>FieldLabel.fieldLabel - 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">FieldLabel</a> / <a href="./field-label.html">fieldLabel</a><br/> +<br/> +<h1>fieldLabel</h1> +<a name="pl.treksoft.kvision.form.FieldLabel.Companion$fieldLabel(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.FieldLabel, 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">fieldLabel</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.FieldLabel.Companion$fieldLabel(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.FieldLabel, kotlin.Unit)))/forId">forId</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.FieldLabel.Companion$fieldLabel(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.FieldLabel, kotlin.Unit)))/content">content</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.FieldLabel.Companion$fieldLabel(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.FieldLabel, 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.FieldLabel.Companion$fieldLabel(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.FieldLabel, kotlin.Unit)))/classes">classes</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-set/index.html"><span class="identifier">Set</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">></span> <span class="symbol">=</span> setOf("control-label")<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.FieldLabel.Companion$fieldLabel(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.FieldLabel, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <a href="index.html"><span class="identifier">FieldLabel</span></a><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a> <span class="symbol">=</span> null<span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">FieldLabel</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/-field-label/index.html b/api/pl.treksoft.kvision.form/-field-label/index.html index b579bd1e..88717b91 100644 --- a/api/pl.treksoft.kvision.form/-field-label/index.html +++ b/api/pl.treksoft.kvision.form/-field-label/index.html @@ -125,6 +125,20 @@ </tr> </tbody> </table> +<h3>Companion Object Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="field-label.html">fieldLabel</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">fieldLabel</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.FieldLabel.Companion$fieldLabel(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.FieldLabel, kotlin.Unit)))/forId">forId</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.FieldLabel.Companion$fieldLabel(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.FieldLabel, kotlin.Unit)))/content">content</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.FieldLabel.Companion$fieldLabel(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.FieldLabel, 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.FieldLabel.Companion$fieldLabel(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.FieldLabel, kotlin.Unit)))/classes">classes</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-set/index.html"><span class="identifier">Set</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">></span> <span class="symbol">=</span> setOf("control-label")<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.FieldLabel.Companion$fieldLabel(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.FieldLabel, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <a href="./index.html"><span class="identifier">FieldLabel</span></a><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a> <span class="symbol">=</span> null<span class="symbol">)</span><span class="symbol">: </span><a href="./index.html"><span class="identifier">FieldLabel</span></a></code> +<p>DSL builder extension function.</p> +</td> +</tr> +</tbody> +</table> <h3>Extension Functions</h3> <table> <tbody> diff --git a/api/pl.treksoft.kvision.form/-form-panel/get-data-with-file-content.html b/api/pl.treksoft.kvision.form/-form-panel/get-data-with-file-content.html deleted file mode 100644 index 9afc0f15..00000000 --- a/api/pl.treksoft.kvision.form/-form-panel/get-data-with-file-content.html +++ /dev/null @@ -1,17 +0,0 @@ -<HTML> -<HEAD> -<meta charset="UTF-8"> -<title>FormPanel.getDataWithFileContent - 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-with-file-content.html">getDataWithFileContent</a><br/> -<br/> -<h1>getDataWithFileContent</h1> -<a name="pl.treksoft.kvision.form.FormPanel$getDataWithFileContent()"></a> -<code><span class="keyword">suspend</span> <span class="keyword">fun </span><span class="identifier">getDataWithFileContent</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 with file content read for all KFiles controls.</p> -<p><strong>Return</strong><br/> -data model</p> -</BODY> -</HTML> diff --git a/api/pl.treksoft.kvision.form/-form-panel/index.html b/api/pl.treksoft.kvision.form/-form-panel/index.html index 6484c136..b024a683 100644 --- a/api/pl.treksoft.kvision.form/-form-panel/index.html +++ b/api/pl.treksoft.kvision.form/-form-panel/index.html @@ -182,15 +182,6 @@ </tr> <tr> <td> -<p><a href="get-data-with-file-content.html">getDataWithFileContent</a></p> -</td> -<td> -<code><span class="keyword">suspend</span> <span class="keyword">fun </span><span class="identifier">getDataWithFileContent</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 with file content read for all KFiles controls.</p> -</td> -</tr> -<tr> -<td> <p><a href="get-sn-attrs.html">getSnAttrs</a></p> </td> <td> @@ -346,6 +337,15 @@ <p>Helper function for creating JavaScript objects from dynamic constructors.</p> </td> </tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.utils/get-data-with-file-content.html">getDataWithFileContent</a></p> +</td> +<td> +<code><span class="keyword">suspend</span> <span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">K</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> <a href="./index.html"><span class="identifier">FormPanel</span></a><span class="symbol"><</span><a href="../../pl.treksoft.kvision.utils/get-data-with-file-content.html#K"><span class="identifier">K</span></a><span class="symbol">></span><span class="symbol">.</span><span class="identifier">getDataWithFileContent</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.utils/get-data-with-file-content.html#K"><span class="identifier">K</span></a></code> +<p>Returns current data model with file content read for all KFiles controls.</p> +</td> +</tr> </tbody> </table> </BODY> diff --git a/api/pl.treksoft.kvision.form/-form/fields.html b/api/pl.treksoft.kvision.form/-form/fields.html new file mode 100644 index 00000000..8a5d51b8 --- /dev/null +++ b/api/pl.treksoft.kvision.form/-form/fields.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Form.fields - 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">Form</a> / <a href="./fields.html">fields</a><br/> +<br/> +<h1>fields</h1> +<a name="pl.treksoft.kvision.form.Form$fields"></a> +<code><span class="keyword">val </span><span class="identifier">fields</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-map/index.html"><span class="identifier">MutableMap</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="../-form-control/index.html"><span class="identifier">FormControl</span></a><span class="symbol">></span></code> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.form/-form/get-data-with-file-content.html b/api/pl.treksoft.kvision.form/-form/get-data-with-file-content.html deleted file mode 100644 index c3384ce8..00000000 --- a/api/pl.treksoft.kvision.form/-form/get-data-with-file-content.html +++ /dev/null @@ -1,17 +0,0 @@ -<HTML> -<HEAD> -<meta charset="UTF-8"> -<title>Form.getDataWithFileContent - 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">Form</a> / <a href="./get-data-with-file-content.html">getDataWithFileContent</a><br/> -<br/> -<h1>getDataWithFileContent</h1> -<a name="pl.treksoft.kvision.form.Form$getDataWithFileContent()"></a> -<code><span class="keyword">suspend</span> <span class="keyword">fun </span><span class="identifier">getDataWithFileContent</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 with file content read for all KFiles controls.</p> -<p><strong>Return</strong><br/> -data model</p> -</BODY> -</HTML> diff --git a/api/pl.treksoft.kvision.form/-form/index.html b/api/pl.treksoft.kvision.form/-form/index.html index 87d25335..1412e3d6 100644 --- a/api/pl.treksoft.kvision.form/-form/index.html +++ b/api/pl.treksoft.kvision.form/-form/index.html @@ -24,6 +24,25 @@ </tr> </tbody> </table> +<h3>Properties</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="fields.html">fields</a></p> +</td> +<td> +<code><span class="keyword">val </span><span class="identifier">fields</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-map/index.html"><span class="identifier">MutableMap</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="../-form-control/index.html"><span class="identifier">FormControl</span></a><span class="symbol">></span></code></td> +</tr> +<tr> +<td> +<p><a href="model-factory.html">modelFactory</a></p> +</td> +<td> +<code><span class="keyword">val </span><span class="identifier">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></code></td> +</tr> +</tbody> +</table> <h3>Functions</h3> <table> <tbody> @@ -91,15 +110,6 @@ </tr> <tr> <td> -<p><a href="get-data-with-file-content.html">getDataWithFileContent</a></p> -</td> -<td> -<code><span class="keyword">suspend</span> <span class="keyword">fun </span><span class="identifier">getDataWithFileContent</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 with file content read for all KFiles controls.</p> -</td> -</tr> -<tr> -<td> <p><a href="remove.html">remove</a></p> </td> <td> @@ -160,6 +170,15 @@ <p>Helper function for creating JavaScript objects from dynamic constructors.</p> </td> </tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.utils/get-data-with-file-content.html">getDataWithFileContent</a></p> +</td> +<td> +<code><span class="keyword">suspend</span> <span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">K</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> <a href="./index.html"><span class="identifier">Form</span></a><span class="symbol"><</span><a href="../../pl.treksoft.kvision.utils/get-data-with-file-content.html#K"><span class="identifier">K</span></a><span class="symbol">></span><span class="symbol">.</span><span class="identifier">getDataWithFileContent</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.utils/get-data-with-file-content.html#K"><span class="identifier">K</span></a></code> +<p>Returns current data model with file content read for all KFiles controls.</p> +</td> +</tr> </tbody> </table> </BODY> diff --git a/api/pl.treksoft.kvision.form/-form/model-factory.html b/api/pl.treksoft.kvision.form/-form/model-factory.html new file mode 100644 index 00000000..db981f14 --- /dev/null +++ b/api/pl.treksoft.kvision.form/-form/model-factory.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Form.modelFactory - 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">Form</a> / <a href="./model-factory.html">modelFactory</a><br/> +<br/> +<h1>modelFactory</h1> +<a name="pl.treksoft.kvision.form.Form$modelFactory"></a> +<code><span class="keyword">val </span><span class="identifier">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></code> +</BODY> +</HTML> |