aboutsummaryrefslogtreecommitdiff
path: root/docs/api/pl.treksoft.kvision.data/-data-container/index.html
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2018-02-12 10:51:45 +0100
committerRobert Jaros <rjaros@finn.pl>2018-02-12 10:51:45 +0100
commit4191287261b46b95908469c2ec3fa9d886681861 (patch)
treea7a63d27fed328f84fddc862ac56f7811631d557 /docs/api/pl.treksoft.kvision.data/-data-container/index.html
parentbafcdb6fc3f1d4ec4f1a0f4fcce776ba10d8136c (diff)
downloadkvision-4191287261b46b95908469c2ec3fa9d886681861.tar.gz
kvision-4191287261b46b95908469c2ec3fa9d886681861.tar.bz2
kvision-4191287261b46b95908469c2ec3fa9d886681861.zip
Updated API doc
Diffstat (limited to 'docs/api/pl.treksoft.kvision.data/-data-container/index.html')
-rw-r--r--docs/api/pl.treksoft.kvision.data/-data-container/index.html25
1 files changed, 24 insertions, 1 deletions
diff --git a/docs/api/pl.treksoft.kvision.data/-data-container/index.html b/docs/api/pl.treksoft.kvision.data/-data-container/index.html
index 99155d7d..6474e482 100644
--- a/docs/api/pl.treksoft.kvision.data/-data-container/index.html
+++ b/docs/api/pl.treksoft.kvision.data/-data-container/index.html
@@ -18,7 +18,7 @@
<p><a href="-init-.html">&lt;init&gt;</a></p>
</td>
<td>
-<code><span class="identifier">DataContainer</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.data.DataContainer$<init>(com.lightningkite.kotlin.observable.list.ObservableList((pl.treksoft.kvision.data.DataContainer.M)), kotlin.Function1((kotlin.Int, pl.treksoft.kvision.data.DataContainer.C)), pl.treksoft.kvision.core.Container)/model">model</span><span class="symbol">:</span>&nbsp;<span class="identifier">ObservableList</span><span class="symbol">&lt;</span><a href="index.html#M"><span class="identifier">M</span></a><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.data.DataContainer$<init>(com.lightningkite.kotlin.observable.list.ObservableList((pl.treksoft.kvision.data.DataContainer.M)), kotlin.Function1((kotlin.Int, pl.treksoft.kvision.data.DataContainer.C)), pl.treksoft.kvision.core.Container)/binding">binding</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="index.html#C"><span class="identifier">C</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.data.DataContainer$<init>(com.lightningkite.kotlin.observable.list.ObservableList((pl.treksoft.kvision.data.DataContainer.M)), kotlin.Function1((kotlin.Int, pl.treksoft.kvision.data.DataContainer.C)), pl.treksoft.kvision.core.Container)/child">child</span><span class="symbol">:</span>&nbsp;<a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a>&nbsp;<span class="symbol">=</span>&nbsp;VPanel()<span class="symbol">)</span></code>
+<code><span class="identifier">DataContainer</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.data.DataContainer$<init>(com.lightningkite.kotlin.observable.list.ObservableList((pl.treksoft.kvision.data.DataContainer.M)), kotlin.Function1((kotlin.Int, pl.treksoft.kvision.data.DataContainer.C)), pl.treksoft.kvision.core.Container, kotlin.Function1((pl.treksoft.kvision.data.DataContainer((pl.treksoft.kvision.data.DataContainer.M, pl.treksoft.kvision.data.DataContainer.C)), kotlin.Unit)))/model">model</span><span class="symbol">:</span>&nbsp;<span class="identifier">ObservableList</span><span class="symbol">&lt;</span><a href="index.html#M"><span class="identifier">M</span></a><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.data.DataContainer$<init>(com.lightningkite.kotlin.observable.list.ObservableList((pl.treksoft.kvision.data.DataContainer.M)), kotlin.Function1((kotlin.Int, pl.treksoft.kvision.data.DataContainer.C)), pl.treksoft.kvision.core.Container, kotlin.Function1((pl.treksoft.kvision.data.DataContainer((pl.treksoft.kvision.data.DataContainer.M, pl.treksoft.kvision.data.DataContainer.C)), kotlin.Unit)))/binding">binding</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="index.html#C"><span class="identifier">C</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.data.DataContainer$<init>(com.lightningkite.kotlin.observable.list.ObservableList((pl.treksoft.kvision.data.DataContainer.M)), kotlin.Function1((kotlin.Int, pl.treksoft.kvision.data.DataContainer.C)), pl.treksoft.kvision.core.Container, kotlin.Function1((pl.treksoft.kvision.data.DataContainer((pl.treksoft.kvision.data.DataContainer.M, pl.treksoft.kvision.data.DataContainer.C)), kotlin.Unit)))/child">child</span><span class="symbol">:</span>&nbsp;<a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a>&nbsp;<span class="symbol">=</span>&nbsp;VPanel()<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.data.DataContainer$<init>(com.lightningkite.kotlin.observable.list.ObservableList((pl.treksoft.kvision.data.DataContainer.M)), kotlin.Function1((kotlin.Int, pl.treksoft.kvision.data.DataContainer.C)), pl.treksoft.kvision.core.Container, kotlin.Function1((pl.treksoft.kvision.data.DataContainer((pl.treksoft.kvision.data.DataContainer.M, pl.treksoft.kvision.data.DataContainer.C)), kotlin.Unit)))/init">init</span><span class="symbol">:</span>&nbsp;<a href="./index.html"><span class="identifier">DataContainer</span></a><span class="symbol">&lt;</span><a href="index.html#M"><span class="identifier">M</span></a><span class="symbol">,</span>&nbsp;<a href="index.html#C"><span class="identifier">C</span></a><span class="symbol">&gt;</span><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span></code>
<p>Creates DataContainer bound to given data model.</p>
</td>
</tr>
@@ -287,6 +287,15 @@
</tr>
<tr>
<td>
+<p><a href="../../pl.treksoft.kvision.core/-container/invoke.html">invoke</a></p>
+</td>
+<td>
+<code><span class="keyword">open</span> <span class="keyword">operator</span> <span class="keyword">fun </span><span class="identifier">invoke</span><span class="symbol">(</span><span class="keyword">vararg</span> <span class="identifier" id="pl.treksoft.kvision.core.Container$invoke(kotlin.Array((pl.treksoft.kvision.core.Component)))/children">children</span><span class="symbol">:</span>&nbsp;<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.core/-container/index.html"><span class="identifier">Container</span></a></code>
+<p>Operator function for adding children in a DSL style.</p>
+</td>
+</tr>
+<tr>
+<td>
<p><a href="../../pl.treksoft.kvision.core/-widget/remove-css-class.html">removeCssClass</a></p>
</td>
<td>
@@ -354,5 +363,19 @@
</tr>
</tbody>
</table>
+<h3>Companion Object Functions</h3>
+<table>
+<tbody>
+<tr>
+<td>
+<p><a href="data-container.html">dataContainer</a></p>
+</td>
+<td>
+<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">M</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../-data-component.html"><span class="identifier">DataComponent</span></a><span class="symbol">, </span><span class="identifier">C</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../../pl.treksoft.kvision.core/-component/index.html"><span class="identifier">Component</span></a><span class="symbol">&gt;</span> <a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">dataContainer</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.data.DataContainer.Companion$dataContainer(pl.treksoft.kvision.core.Container, com.lightningkite.kotlin.observable.list.ObservableList((pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M)), kotlin.Function1((kotlin.Int, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C)), pl.treksoft.kvision.core.Container, kotlin.Function1((pl.treksoft.kvision.data.DataContainer((pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C)), kotlin.Unit)))/model">model</span><span class="symbol">:</span>&nbsp;<span class="identifier">ObservableList</span><span class="symbol">&lt;</span><a href="data-container.html#M"><span class="identifier">M</span></a><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.data.DataContainer.Companion$dataContainer(pl.treksoft.kvision.core.Container, com.lightningkite.kotlin.observable.list.ObservableList((pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M)), kotlin.Function1((kotlin.Int, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C)), pl.treksoft.kvision.core.Container, kotlin.Function1((pl.treksoft.kvision.data.DataContainer((pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C)), kotlin.Unit)))/binding">binding</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="data-container.html#C"><span class="identifier">C</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.data.DataContainer.Companion$dataContainer(pl.treksoft.kvision.core.Container, com.lightningkite.kotlin.observable.list.ObservableList((pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M)), kotlin.Function1((kotlin.Int, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C)), pl.treksoft.kvision.core.Container, kotlin.Function1((pl.treksoft.kvision.data.DataContainer((pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C)), kotlin.Unit)))/child">child</span><span class="symbol">:</span>&nbsp;<a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a>&nbsp;<span class="symbol">=</span>&nbsp;VPanel()<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.data.DataContainer.Companion$dataContainer(pl.treksoft.kvision.core.Container, com.lightningkite.kotlin.observable.list.ObservableList((pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M)), kotlin.Function1((kotlin.Int, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C)), pl.treksoft.kvision.core.Container, kotlin.Function1((pl.treksoft.kvision.data.DataContainer((pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C)), kotlin.Unit)))/init">init</span><span class="symbol">:</span>&nbsp;<a href="./index.html"><span class="identifier">DataContainer</span></a><span class="symbol">&lt;</span><a href="data-container.html#M"><span class="identifier">M</span></a><span class="symbol">,</span>&nbsp;<a href="data-container.html#C"><span class="identifier">C</span></a><span class="symbol">&gt;</span><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a>&nbsp;<span class="symbol">=</span>&nbsp;null<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>DSL builder extension function</p>
+</td>
+</tr>
+</tbody>
+</table>
</BODY>
</HTML>