aboutsummaryrefslogtreecommitdiff
path: root/api1/pl.treksoft.kvision.data/-data-container/-init-.html
diff options
context:
space:
mode:
Diffstat (limited to 'api1/pl.treksoft.kvision.data/-data-container/-init-.html')
-rw-r--r--api1/pl.treksoft.kvision.data/-data-container/-init-.html40
1 files changed, 40 insertions, 0 deletions
diff --git a/api1/pl.treksoft.kvision.data/-data-container/-init-.html b/api1/pl.treksoft.kvision.data/-data-container/-init-.html
new file mode 100644
index 00000000..8e9b58d5
--- /dev/null
+++ b/api1/pl.treksoft.kvision.data/-data-container/-init-.html
@@ -0,0 +1,40 @@
+<HTML>
+<HEAD>
+<meta charset="UTF-8">
+<title>DataContainer.<init> - kvision</title>
+<link rel="stylesheet" href="../../../style.css">
+</HEAD>
+<BODY>
+<a href="../../index.html">kvision</a>&nbsp;/&nbsp;<a href="../index.html">pl.treksoft.kvision.data</a>&nbsp;/&nbsp;<a href="index.html">DataContainer</a>&nbsp;/&nbsp;<a href="./-init-.html">&lt;init&gt;</a><br/>
+<br/>
+<h1>&lt;init&gt;</h1>
+<a name="pl.treksoft.kvision.data.DataContainer$&lt;init&gt;(kotlin.collections.MutableList((pl.treksoft.kvision.data.DataContainer.M)), kotlin.Function3((pl.treksoft.kvision.data.DataContainer.M, kotlin.Int, kotlin.collections.MutableList(()), pl.treksoft.kvision.data.DataContainer.C)), pl.treksoft.kvision.data.DataContainer.CONT, kotlin.Function3((pl.treksoft.kvision.data.DataContainer.CONT, pl.treksoft.kvision.data.DataContainer.C, pl.treksoft.kvision.data.DataContainer.M, kotlin.Unit)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer.M, kotlin.Boolean)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer.M, kotlin.Comparable((kotlin.Any)))), kotlin.Function0((pl.treksoft.kvision.data.SorterType)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer((pl.treksoft.kvision.data.DataContainer.M, pl.treksoft.kvision.data.DataContainer.C, pl.treksoft.kvision.data.DataContainer.CONT)), kotlin.Unit)))"></a>
+<code><span class="identifier">DataContainer</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.data.DataContainer$<init>(kotlin.collections.MutableList((pl.treksoft.kvision.data.DataContainer.M)), kotlin.Function3((pl.treksoft.kvision.data.DataContainer.M, kotlin.Int, kotlin.collections.MutableList(()), pl.treksoft.kvision.data.DataContainer.C)), pl.treksoft.kvision.data.DataContainer.CONT, kotlin.Function3((pl.treksoft.kvision.data.DataContainer.CONT, pl.treksoft.kvision.data.DataContainer.C, pl.treksoft.kvision.data.DataContainer.M, kotlin.Unit)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer.M, kotlin.Boolean)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer.M, kotlin.Comparable((kotlin.Any)))), kotlin.Function0((pl.treksoft.kvision.data.SorterType)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer((pl.treksoft.kvision.data.DataContainer.M, pl.treksoft.kvision.data.DataContainer.C, pl.treksoft.kvision.data.DataContainer.CONT)), kotlin.Unit)))/model">model</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html"><span class="identifier">MutableList</span></a><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>(kotlin.collections.MutableList((pl.treksoft.kvision.data.DataContainer.M)), kotlin.Function3((pl.treksoft.kvision.data.DataContainer.M, kotlin.Int, kotlin.collections.MutableList(()), pl.treksoft.kvision.data.DataContainer.C)), pl.treksoft.kvision.data.DataContainer.CONT, kotlin.Function3((pl.treksoft.kvision.data.DataContainer.CONT, pl.treksoft.kvision.data.DataContainer.C, pl.treksoft.kvision.data.DataContainer.M, kotlin.Unit)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer.M, kotlin.Boolean)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer.M, kotlin.Comparable((kotlin.Any)))), kotlin.Function0((pl.treksoft.kvision.data.SorterType)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer((pl.treksoft.kvision.data.DataContainer.M, pl.treksoft.kvision.data.DataContainer.C, pl.treksoft.kvision.data.DataContainer.CONT)), kotlin.Unit)))/factory">factory</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><a href="index.html#M"><span class="identifier">M</span></a><span class="symbol">,</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">,</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html"><span class="identifier">MutableList</span></a><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>&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>(kotlin.collections.MutableList((pl.treksoft.kvision.data.DataContainer.M)), kotlin.Function3((pl.treksoft.kvision.data.DataContainer.M, kotlin.Int, kotlin.collections.MutableList(()), pl.treksoft.kvision.data.DataContainer.C)), pl.treksoft.kvision.data.DataContainer.CONT, kotlin.Function3((pl.treksoft.kvision.data.DataContainer.CONT, pl.treksoft.kvision.data.DataContainer.C, pl.treksoft.kvision.data.DataContainer.M, kotlin.Unit)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer.M, kotlin.Boolean)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer.M, kotlin.Comparable((kotlin.Any)))), kotlin.Function0((pl.treksoft.kvision.data.SorterType)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer((pl.treksoft.kvision.data.DataContainer.M, pl.treksoft.kvision.data.DataContainer.C, pl.treksoft.kvision.data.DataContainer.CONT)), kotlin.Unit)))/container">container</span><span class="symbol">:</span>&nbsp;<a href="index.html#CONT"><span class="identifier">CONT</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.data.DataContainer$<init>(kotlin.collections.MutableList((pl.treksoft.kvision.data.DataContainer.M)), kotlin.Function3((pl.treksoft.kvision.data.DataContainer.M, kotlin.Int, kotlin.collections.MutableList(()), pl.treksoft.kvision.data.DataContainer.C)), pl.treksoft.kvision.data.DataContainer.CONT, kotlin.Function3((pl.treksoft.kvision.data.DataContainer.CONT, pl.treksoft.kvision.data.DataContainer.C, pl.treksoft.kvision.data.DataContainer.M, kotlin.Unit)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer.M, kotlin.Boolean)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer.M, kotlin.Comparable((kotlin.Any)))), kotlin.Function0((pl.treksoft.kvision.data.SorterType)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer((pl.treksoft.kvision.data.DataContainer.M, pl.treksoft.kvision.data.DataContainer.C, pl.treksoft.kvision.data.DataContainer.CONT)), kotlin.Unit)))/containerAdd">containerAdd</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><a href="index.html#CONT"><span class="identifier">CONT</span></a><span class="symbol">.</span><span class="symbol">(</span><a href="index.html#C"><span class="identifier">C</span></a><span class="symbol">,</span>&nbsp;<a href="index.html#M"><span class="identifier">M</span></a><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><span class="symbol">)</span><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.data.DataContainer$<init>(kotlin.collections.MutableList((pl.treksoft.kvision.data.DataContainer.M)), kotlin.Function3((pl.treksoft.kvision.data.DataContainer.M, kotlin.Int, kotlin.collections.MutableList(()), pl.treksoft.kvision.data.DataContainer.C)), pl.treksoft.kvision.data.DataContainer.CONT, kotlin.Function3((pl.treksoft.kvision.data.DataContainer.CONT, pl.treksoft.kvision.data.DataContainer.C, pl.treksoft.kvision.data.DataContainer.M, kotlin.Unit)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer.M, kotlin.Boolean)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer.M, kotlin.Comparable((kotlin.Any)))), kotlin.Function0((pl.treksoft.kvision.data.SorterType)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer((pl.treksoft.kvision.data.DataContainer.M, pl.treksoft.kvision.data.DataContainer.C, pl.treksoft.kvision.data.DataContainer.CONT)), kotlin.Unit)))/filter">filter</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="symbol">(</span><a href="index.html#M"><span class="identifier">M</span></a><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<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>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.data.DataContainer$<init>(kotlin.collections.MutableList((pl.treksoft.kvision.data.DataContainer.M)), kotlin.Function3((pl.treksoft.kvision.data.DataContainer.M, kotlin.Int, kotlin.collections.MutableList(()), pl.treksoft.kvision.data.DataContainer.C)), pl.treksoft.kvision.data.DataContainer.CONT, kotlin.Function3((pl.treksoft.kvision.data.DataContainer.CONT, pl.treksoft.kvision.data.DataContainer.C, pl.treksoft.kvision.data.DataContainer.M, kotlin.Unit)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer.M, kotlin.Boolean)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer.M, kotlin.Comparable((kotlin.Any)))), kotlin.Function0((pl.treksoft.kvision.data.SorterType)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer((pl.treksoft.kvision.data.DataContainer.M, pl.treksoft.kvision.data.DataContainer.C, pl.treksoft.kvision.data.DataContainer.CONT)), kotlin.Unit)))/sorter">sorter</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="symbol">(</span><a href="index.html#M"><span class="identifier">M</span></a><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-comparable/index.html"><span class="identifier">Comparable</span></a><span class="symbol">&lt;</span><span class="identifier">*</span><span class="symbol">&gt;</span><span class="symbol">?</span><span class="symbol">)</span><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.data.DataContainer$<init>(kotlin.collections.MutableList((pl.treksoft.kvision.data.DataContainer.M)), kotlin.Function3((pl.treksoft.kvision.data.DataContainer.M, kotlin.Int, kotlin.collections.MutableList(()), pl.treksoft.kvision.data.DataContainer.C)), pl.treksoft.kvision.data.DataContainer.CONT, kotlin.Function3((pl.treksoft.kvision.data.DataContainer.CONT, pl.treksoft.kvision.data.DataContainer.C, pl.treksoft.kvision.data.DataContainer.M, kotlin.Unit)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer.M, kotlin.Boolean)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer.M, kotlin.Comparable((kotlin.Any)))), kotlin.Function0((pl.treksoft.kvision.data.SorterType)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer((pl.treksoft.kvision.data.DataContainer.M, pl.treksoft.kvision.data.DataContainer.C, pl.treksoft.kvision.data.DataContainer.CONT)), kotlin.Unit)))/sorterType">sorterType</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="../-sorter-type/index.html"><span class="identifier">SorterType</span></a>&nbsp;<span class="symbol">=</span>&nbsp;{ SorterType.ASC }<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.data.DataContainer$<init>(kotlin.collections.MutableList((pl.treksoft.kvision.data.DataContainer.M)), kotlin.Function3((pl.treksoft.kvision.data.DataContainer.M, kotlin.Int, kotlin.collections.MutableList(()), pl.treksoft.kvision.data.DataContainer.C)), pl.treksoft.kvision.data.DataContainer.CONT, kotlin.Function3((pl.treksoft.kvision.data.DataContainer.CONT, pl.treksoft.kvision.data.DataContainer.C, pl.treksoft.kvision.data.DataContainer.M, kotlin.Unit)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer.M, kotlin.Boolean)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer.M, kotlin.Comparable((kotlin.Any)))), kotlin.Function0((pl.treksoft.kvision.data.SorterType)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer((pl.treksoft.kvision.data.DataContainer.M, pl.treksoft.kvision.data.DataContainer.C, pl.treksoft.kvision.data.DataContainer.CONT)), kotlin.Unit)))/init">init</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><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">,</span>&nbsp;<a href="index.html#CONT"><span class="identifier">CONT</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><span class="symbol">)</span><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span></code>
+<p>Creates DataContainer bound to given data model.</p>
+<h3>Parameters</h3>
+<p><a name="M"></a>
+<code>M</code> - data model type</p>
+<p><a name="C"></a>
+<code>C</code> - visual component type</p>
+<p><a name="CONT"></a>
+<code>CONT</code> - container type</p>
+<p><a name="model"></a>
+<code>model</code> - data model of type <em>MutableList</em></p>
+<p><a name="factory"></a>
+<code>factory</code> - a function which creates component C from data model at given index</p>
+<p><a name="container"></a>
+<code>container</code> - internal container</p>
+<p><a name="containerAdd"></a>
+<code>containerAdd</code> - function to add component C to the internal container CONT</p>
+<p><a name="filter"></a>
+<code>filter</code> - a filtering function</p>
+<p><a name="sorter"></a>
+<code>sorter</code> - a sorting function</p>
+<p><a name="sorterType"></a>
+<code>sorterType</code> - a sorting type selection function</p>
+<p><a name="init"></a>
+<code>init</code> - an initializer extension function</p>
+<p><strong>Constructor</strong><br/>
+Creates DataContainer bound to given data model.</p>
+</BODY>
+</HTML>