diff options
author | Robert Jaros <rjaros@finn.pl> | 2018-06-02 00:47:15 +0200 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2018-06-02 00:47:15 +0200 |
commit | 12d2bd198c9ff5cb197e50da2d024a2418b8ee36 (patch) | |
tree | e26bb718fdfac0b1c7745d9d9c2b2c93e6ce51f6 /api/pl.treksoft.kvision.modal | |
parent | 7ada58635fcbbbef5a5a3c466ae688a4319cde31 (diff) | |
download | kvision-12d2bd198c9ff5cb197e50da2d024a2418b8ee36.tar.gz kvision-12d2bd198c9ff5cb197e50da2d024a2418b8ee36.tar.bz2 kvision-12d2bd198c9ff5cb197e50da2d024a2418b8ee36.zip |
Upgrade to 0.0.13
Diffstat (limited to 'api/pl.treksoft.kvision.modal')
-rw-r--r-- | api/pl.treksoft.kvision.modal/-alert/-init-.html | 2 | ||||
-rw-r--r-- | api/pl.treksoft.kvision.modal/-confirm/-init-.html | 2 | ||||
-rw-r--r-- | api/pl.treksoft.kvision.modal/-dialog/-init-.html | 31 | ||||
-rw-r--r-- | api/pl.treksoft.kvision.modal/-dialog/get-result.html | 15 | ||||
-rw-r--r-- | api/pl.treksoft.kvision.modal/-dialog/hide.html | 18 | ||||
-rw-r--r-- | api/pl.treksoft.kvision.modal/-dialog/index.html | 212 | ||||
-rw-r--r-- | api/pl.treksoft.kvision.modal/-dialog/set-result.html | 15 | ||||
-rw-r--r-- | api/pl.treksoft.kvision.modal/-modal/index.html | 9 | ||||
-rw-r--r-- | api/pl.treksoft.kvision.modal/index.html | 9 |
9 files changed, 311 insertions, 2 deletions
diff --git a/api/pl.treksoft.kvision.modal/-alert/-init-.html b/api/pl.treksoft.kvision.modal/-alert/-init-.html index 28dffea4..ac6a287a 100644 --- a/api/pl.treksoft.kvision.modal/-alert/-init-.html +++ b/api/pl.treksoft.kvision.modal/-alert/-init-.html @@ -16,7 +16,7 @@ <p><a name="text"></a> <code>text</code> - window content text.</p> <p><a name="rich"></a> -<code>rich</code> - determines if <a href="-init-.html#pl.treksoft.kvision.modal.Alert$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, pl.treksoft.kvision.modal.ModalSize, kotlin.Boolean, kotlin.Function0((kotlin.Unit)))/text">text</a> can contain HTML code</p> +<code>rich</code> - determines if <a href="text.html">text</a> can contain HTML code</p> <p><a name="align"></a> <code>align</code> - text align</p> <p><a name="size"></a> diff --git a/api/pl.treksoft.kvision.modal/-confirm/-init-.html b/api/pl.treksoft.kvision.modal/-confirm/-init-.html index 9bbfd601..7bd88a52 100644 --- a/api/pl.treksoft.kvision.modal/-confirm/-init-.html +++ b/api/pl.treksoft.kvision.modal/-confirm/-init-.html @@ -16,7 +16,7 @@ <p><a name="text"></a> <code>text</code> - window content text.</p> <p><a name="rich"></a> -<code>rich</code> - determines if <a href="-init-.html#pl.treksoft.kvision.modal.Confirm$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, pl.treksoft.kvision.modal.ModalSize, kotlin.Boolean, kotlin.Boolean, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/text">text</a> can contain HTML code</p> +<code>rich</code> - determines if <a href="text.html">text</a> can contain HTML code</p> <p><a name="align"></a> <code>align</code> - text align</p> <p><a name="size"></a> diff --git a/api/pl.treksoft.kvision.modal/-dialog/-init-.html b/api/pl.treksoft.kvision.modal/-dialog/-init-.html new file mode 100644 index 00000000..e7ae6cae --- /dev/null +++ b/api/pl.treksoft.kvision.modal/-dialog/-init-.html @@ -0,0 +1,31 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Dialog.<init> - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.modal</a> / <a href="index.html">Dialog</a> / <a href="./-init-.html"><init></a><br/> +<br/> +<h1><init></h1> +<a name="pl.treksoft.kvision.modal.Dialog$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.modal.ModalSize, kotlin.Boolean, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.modal.Dialog((pl.treksoft.kvision.modal.Dialog.R)), kotlin.Unit)))"></a> +<code><span class="identifier">Dialog</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.modal.Dialog$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.modal.ModalSize, kotlin.Boolean, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.modal.Dialog((pl.treksoft.kvision.modal.Dialog.R)), kotlin.Unit)))/caption">caption</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.modal.Dialog$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.modal.ModalSize, kotlin.Boolean, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.modal.Dialog((pl.treksoft.kvision.modal.Dialog.R)), kotlin.Unit)))/closeButton">closeButton</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> true<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.modal.Dialog$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.modal.ModalSize, kotlin.Boolean, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.modal.Dialog((pl.treksoft.kvision.modal.Dialog.R)), kotlin.Unit)))/size">size</span><span class="symbol">:</span> <a href="../-modal-size/index.html"><span class="identifier">ModalSize</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.modal.Dialog$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.modal.ModalSize, kotlin.Boolean, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.modal.Dialog((pl.treksoft.kvision.modal.Dialog.R)), kotlin.Unit)))/animation">animation</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> true<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.modal.Dialog$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.modal.ModalSize, kotlin.Boolean, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.modal.Dialog((pl.treksoft.kvision.modal.Dialog.R)), kotlin.Unit)))/escape">escape</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> true<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.modal.Dialog$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.modal.ModalSize, kotlin.Boolean, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.modal.Dialog((pl.treksoft.kvision.modal.Dialog.R)), kotlin.Unit)))/classes">classes</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-set/index.html"><span class="identifier">Set</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">></span> <span class="symbol">=</span> setOf()<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.modal.Dialog$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.modal.ModalSize, kotlin.Boolean, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.modal.Dialog((pl.treksoft.kvision.modal.Dialog.R)), kotlin.Unit)))/init">init</span><span class="symbol">:</span> <a href="index.html"><span class="identifier">Dialog</span></a><span class="symbol"><</span><a href="index.html#R"><span class="identifier">R</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> null<span class="symbol">)</span></code> +<h3>Parameters</h3> +<p><a name="caption"></a> +<code>caption</code> - window title</p> +<p><a name="closeButton"></a> +<code>closeButton</code> - determines if Close button is visible</p> +<p><a name="size"></a> +<code>size</code> - modal window size</p> +<p><a name="animation"></a> +<code>animation</code> - determines if animations are used</p> +<p><a name="escape"></a> +<code>escape</code> - determines if dialog can be closed with Esc key</p> +<p><a name="classes"></a> +<code>classes</code> - a set of CSS class names</p> +<p><a name="init"></a> +<code>init</code> - an initializer extension function</p> +<p><strong>Constructor</strong><br/> +</p> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.modal/-dialog/get-result.html b/api/pl.treksoft.kvision.modal/-dialog/get-result.html new file mode 100644 index 00000000..0c28a36f --- /dev/null +++ b/api/pl.treksoft.kvision.modal/-dialog/get-result.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Dialog.getResult - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.modal</a> / <a href="index.html">Dialog</a> / <a href="./get-result.html">getResult</a><br/> +<br/> +<h1>getResult</h1> +<a name="pl.treksoft.kvision.modal.Dialog$getResult()"></a> +<code><span class="keyword">suspend</span> <span class="keyword">fun </span><span class="identifier">getResult</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="index.html#R"><span class="identifier">R</span></a><span class="symbol">?</span></code> +<p>A suspending function returning result value.</p> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.modal/-dialog/hide.html b/api/pl.treksoft.kvision.modal/-dialog/hide.html new file mode 100644 index 00000000..1fe643eb --- /dev/null +++ b/api/pl.treksoft.kvision.modal/-dialog/hide.html @@ -0,0 +1,18 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Dialog.hide - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.modal</a> / <a href="index.html">Dialog</a> / <a href="./hide.html">hide</a><br/> +<br/> +<h1>hide</h1> +<a name="pl.treksoft.kvision.modal.Dialog$hide()"></a> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">hide</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Overrides <a href="../-modal/hide.html">Modal.hide</a></p> +<p>Makes current widget invisible.</p> +<p><strong>Return</strong><br/> +current widget</p> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.modal/-dialog/index.html b/api/pl.treksoft.kvision.modal/-dialog/index.html new file mode 100644 index 00000000..0799f65e --- /dev/null +++ b/api/pl.treksoft.kvision.modal/-dialog/index.html @@ -0,0 +1,212 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Dialog - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.modal</a> / <a href="./index.html">Dialog</a><br/> +<br/> +<h1>Dialog</h1> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Dialog</span><span class="symbol"><</span><span class="identifier">R</span><span class="symbol">></span> <span class="symbol">:</span> <a href="../-modal/index.html"><span class="identifier">Modal</span></a></code> +<p>Modal window with a result.</p> +<h3>Constructors</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-init-.html"><init></a></p> +</td> +<td> +<code><span class="identifier">Dialog</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.modal.Dialog$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.modal.ModalSize, kotlin.Boolean, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.modal.Dialog((pl.treksoft.kvision.modal.Dialog.R)), kotlin.Unit)))/caption">caption</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.modal.Dialog$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.modal.ModalSize, kotlin.Boolean, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.modal.Dialog((pl.treksoft.kvision.modal.Dialog.R)), kotlin.Unit)))/closeButton">closeButton</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> true<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.modal.Dialog$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.modal.ModalSize, kotlin.Boolean, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.modal.Dialog((pl.treksoft.kvision.modal.Dialog.R)), kotlin.Unit)))/size">size</span><span class="symbol">:</span> <a href="../-modal-size/index.html"><span class="identifier">ModalSize</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.modal.Dialog$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.modal.ModalSize, kotlin.Boolean, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.modal.Dialog((pl.treksoft.kvision.modal.Dialog.R)), kotlin.Unit)))/animation">animation</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> true<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.modal.Dialog$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.modal.ModalSize, kotlin.Boolean, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.modal.Dialog((pl.treksoft.kvision.modal.Dialog.R)), kotlin.Unit)))/escape">escape</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> true<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.modal.Dialog$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.modal.ModalSize, kotlin.Boolean, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.modal.Dialog((pl.treksoft.kvision.modal.Dialog.R)), kotlin.Unit)))/classes">classes</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-set/index.html"><span class="identifier">Set</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">></span> <span class="symbol">=</span> setOf()<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.modal.Dialog$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.modal.ModalSize, kotlin.Boolean, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.modal.Dialog((pl.treksoft.kvision.modal.Dialog.R)), kotlin.Unit)))/init">init</span><span class="symbol">:</span> <a href="./index.html"><span class="identifier">Dialog</span></a><span class="symbol"><</span><a href="index.html#R"><span class="identifier">R</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> null<span class="symbol">)</span></code></td> +</tr> +</tbody> +</table> +<h3>Inherited Properties</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../-modal/animation.html">animation</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">animation</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 animations are used.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-modal/caption.html">caption</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">caption</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>Window caption text.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-modal/close-button.html">closeButton</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">closeButton</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 Close button is visible.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-modal/size.html">size</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">size</span><span class="symbol">: </span><a href="../-modal-size/index.html"><span class="identifier">ModalSize</span></a><span class="symbol">?</span></code> +<p>Window size.</p> +</td> +</tr> +</tbody> +</table> +<h3>Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="get-result.html">getResult</a></p> +</td> +<td> +<code><span class="keyword">suspend</span> <span class="keyword">fun </span><span class="identifier">getResult</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="index.html#R"><span class="identifier">R</span></a><span class="symbol">?</span></code> +<p>A suspending function returning result value.</p> +</td> +</tr> +<tr> +<td> +<p><a href="hide.html">hide</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">hide</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Makes current widget invisible.</p> +</td> +</tr> +<tr> +<td> +<p><a href="set-result.html">setResult</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">setResult</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.modal.Dialog$setResult(pl.treksoft.kvision.modal.Dialog.R)/result">result</span><span class="symbol">:</span> <a href="index.html#R"><span class="identifier">R</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>A function to be called with a result value.</p> +</td> +</tr> +</tbody> +</table> +<h3>Inherited Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../-modal/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.modal.Modal$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="../-modal/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.modal.Modal$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="../-modal/add-button.html">addButton</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">addButton</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.modal.Modal$addButton(pl.treksoft.kvision.html.Button)/button">button</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.html/-button/index.html"><span class="identifier">Button</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../-modal/index.html"><span class="identifier">Modal</span></a></code> +<p>Adds given button to the bottom section of dialog window.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-modal/after-insert.html">afterInsert</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">afterInsert</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.modal.Modal$afterInsert(com.github.snabbdom.VNode)/node">node</span><span class="symbol">:</span> <span class="identifier">VNode</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code> +<p>Method called after inserting Snabbdom vnode into the DOM.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-modal/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="../-modal/get-sn-attrs.html">getSnAttrs</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getSnAttrs</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="../../pl.treksoft.kvision.core/-string-pair.html"><span class="identifier">StringPair</span></a><span class="symbol">></span></code> +<p>Returns list of element attributes in the form of a List.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-modal/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="../-modal/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.modal.Modal$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="../-modal/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="../-modal/remove-all-buttons.html">removeAllButtons</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeAllButtons</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../-modal/index.html"><span class="identifier">Modal</span></a></code> +<p>Removes all buttons from the bottom section of dialog window.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-modal/remove-button.html">removeButton</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeButton</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.modal.Modal$removeButton(pl.treksoft.kvision.html.Button)/button">button</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.html/-button/index.html"><span class="identifier">Button</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../-modal/index.html"><span class="identifier">Modal</span></a></code> +<p>Removes given button from the bottom section of dialog window.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-modal/toggle.html">toggle</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">toggle</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>Toggle modal window visibility.</p> +</td> +</tr> +</tbody> +</table> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.modal/-dialog/set-result.html b/api/pl.treksoft.kvision.modal/-dialog/set-result.html new file mode 100644 index 00000000..d7d7f9b4 --- /dev/null +++ b/api/pl.treksoft.kvision.modal/-dialog/set-result.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Dialog.setResult - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.modal</a> / <a href="index.html">Dialog</a> / <a href="./set-result.html">setResult</a><br/> +<br/> +<h1>setResult</h1> +<a name="pl.treksoft.kvision.modal.Dialog$setResult(pl.treksoft.kvision.modal.Dialog.R)"></a> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">setResult</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.modal.Dialog$setResult(pl.treksoft.kvision.modal.Dialog.R)/result">result</span><span class="symbol">:</span> <a href="index.html#R"><span class="identifier">R</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>A function to be called with a result value.</p> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.modal/-modal/index.html b/api/pl.treksoft.kvision.modal/-modal/index.html index 4645b38f..ece4c8fb 100644 --- a/api/pl.treksoft.kvision.modal/-modal/index.html +++ b/api/pl.treksoft.kvision.modal/-modal/index.html @@ -238,6 +238,15 @@ <p>Confirm window based on Bootstrap modal.</p> </td> </tr> +<tr> +<td> +<p><a href="../-dialog/index.html">Dialog</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Dialog</span><span class="symbol"><</span><span class="identifier">R</span><span class="symbol">></span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">Modal</span></a></code> +<p>Modal window with a result.</p> +</td> +</tr> </tbody> </table> </BODY> diff --git a/api/pl.treksoft.kvision.modal/index.html b/api/pl.treksoft.kvision.modal/index.html index e2db9d36..1c66e42d 100644 --- a/api/pl.treksoft.kvision.modal/index.html +++ b/api/pl.treksoft.kvision.modal/index.html @@ -41,6 +41,15 @@ </tr> <tr> <td> +<p><a href="-dialog/index.html">Dialog</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Dialog</span><span class="symbol"><</span><span class="identifier">R</span><span class="symbol">></span> <span class="symbol">:</span> <a href="-modal/index.html"><span class="identifier">Modal</span></a></code> +<p>Modal window with a result.</p> +</td> +</tr> +<tr> +<td> <p><a href="-modal/index.html">Modal</a></p> </td> <td> |