1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>DataContainer.dataContainer - kvision</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.data</a> / <a href="index.html">DataContainer</a> / <a href="./data-container.html">dataContainer</a><br/>
<br/>
<h1>dataContainer</h1>
<a name="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.Function3((pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M, kotlin.Int, com.lightningkite.kotlin.observable.list.ObservableList(()), pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C)), pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.CONT, kotlin.Function3((pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.CONT, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M, kotlin.Unit)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M, kotlin.Boolean)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer.Companion.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.Companion.dataContainer.M, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.CONT)), kotlin.Unit)))"></a>
<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">M</span><span class="symbol">, </span><span class="identifier">C</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="identifier">CONT</span> <span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><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">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.Function3((pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M, kotlin.Int, com.lightningkite.kotlin.observable.list.ObservableList(()), pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C)), pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.CONT, kotlin.Function3((pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.CONT, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M, kotlin.Unit)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M, kotlin.Boolean)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer.Companion.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.Companion.dataContainer.M, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.CONT)), kotlin.Unit)))/model">model</span><span class="symbol">:</span> <span class="identifier">ObservableList</span><span class="symbol"><</span><a href="data-container.html#M"><span class="identifier">M</span></a><span class="symbol">></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.Function3((pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M, kotlin.Int, com.lightningkite.kotlin.observable.list.ObservableList(()), pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C)), pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.CONT, kotlin.Function3((pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.CONT, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M, kotlin.Unit)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M, kotlin.Boolean)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer.Companion.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.Companion.dataContainer.M, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.CONT)), kotlin.Unit)))/factory">factory</span><span class="symbol">:</span> <span class="symbol">(</span><a href="data-container.html#M"><span class="identifier">M</span></a><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> <span class="identifier">ObservableList</span><span class="symbol"><</span><a href="data-container.html#M"><span class="identifier">M</span></a><span class="symbol">></span><span class="symbol">)</span> <span class="symbol">-></span> <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.Function3((pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M, kotlin.Int, com.lightningkite.kotlin.observable.list.ObservableList(()), pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C)), pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.CONT, kotlin.Function3((pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.CONT, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M, kotlin.Unit)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M, kotlin.Boolean)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer.Companion.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.Companion.dataContainer.M, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.CONT)), kotlin.Unit)))/container">container</span><span class="symbol">:</span> <a href="data-container.html#CONT"><span class="identifier">CONT</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.Function3((pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M, kotlin.Int, com.lightningkite.kotlin.observable.list.ObservableList(()), pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C)), pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.CONT, kotlin.Function3((pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.CONT, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M, kotlin.Unit)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M, kotlin.Boolean)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer.Companion.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.Companion.dataContainer.M, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.CONT)), kotlin.Unit)))/containerAdd">containerAdd</span><span class="symbol">:</span> <span class="symbol">(</span><a href="data-container.html#CONT"><span class="identifier">CONT</span></a><span class="symbol">.</span><span class="symbol">(</span><a href="data-container.html#C"><span class="identifier">C</span></a><span class="symbol">,</span> <a href="data-container.html#M"><span class="identifier">M</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><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> null<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.Function3((pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M, kotlin.Int, com.lightningkite.kotlin.observable.list.ObservableList(()), pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C)), pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.CONT, kotlin.Function3((pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.CONT, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M, kotlin.Unit)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M, kotlin.Boolean)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer.Companion.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.Companion.dataContainer.M, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.CONT)), kotlin.Unit)))/filter">filter</span><span class="symbol">:</span> <span class="symbol">(</span><span class="symbol">(</span><a href="data-container.html#M"><span class="identifier">M</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> <span class="symbol">=</span> null<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.Function3((pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M, kotlin.Int, com.lightningkite.kotlin.observable.list.ObservableList(()), pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C)), pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.CONT, kotlin.Function3((pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.CONT, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M, kotlin.Unit)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M, kotlin.Boolean)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer.Companion.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.Companion.dataContainer.M, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.CONT)), kotlin.Unit)))/sorter">sorter</span><span class="symbol">:</span> <span class="symbol">(</span><span class="symbol">(</span><a href="data-container.html#M"><span class="identifier">M</span></a><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-comparable/index.html"><span class="identifier">Comparable</span></a><span class="symbol"><</span><span class="identifier">*</span><span class="symbol">></span><span class="symbol">?</span><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> null<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.Function3((pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M, kotlin.Int, com.lightningkite.kotlin.observable.list.ObservableList(()), pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C)), pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.CONT, kotlin.Function3((pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.CONT, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M, kotlin.Unit)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M, kotlin.Boolean)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer.Companion.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.Companion.dataContainer.M, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.CONT)), kotlin.Unit)))/sorterType">sorterType</span><span class="symbol">:</span> <span class="symbol">(</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="../-sorter-type/index.html"><span class="identifier">SorterType</span></a> <span class="symbol">=</span> { SorterType.ASC }<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.Function3((pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M, kotlin.Int, com.lightningkite.kotlin.observable.list.ObservableList(()), pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C)), pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.CONT, kotlin.Function3((pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.CONT, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M, kotlin.Unit)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M, kotlin.Boolean)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer.Companion.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.Companion.dataContainer.M, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.CONT)), kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="index.html"><span class="identifier">DataContainer</span></a><span class="symbol"><</span><a href="data-container.html#M"><span class="identifier">M</span></a><span class="symbol">,</span> <a href="data-container.html#C"><span class="identifier">C</span></a><span class="symbol">,</span> <a href="data-container.html#CONT"><span class="identifier">CONT</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><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">DataContainer</span></a><span class="symbol"><</span><a href="data-container.html#M"><span class="identifier">M</span></a><span class="symbol">,</span> <a href="data-container.html#C"><span class="identifier">C</span></a><span class="symbol">,</span> <a href="data-container.html#CONT"><span class="identifier">CONT</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>
<a name="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.Function3((pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M, kotlin.Int, com.lightningkite.kotlin.observable.list.ObservableList(()), pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C)), kotlin.Function3((pl.treksoft.kvision.panel.VPanel, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M, kotlin.Unit)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M, kotlin.Boolean)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer.Companion.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.Companion.dataContainer.M, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C, pl.treksoft.kvision.panel.VPanel)), kotlin.Unit)))"></a>
<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">M</span><span class="symbol">, </span><span class="identifier">C</span> <span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-component/index.html"><span class="identifier">Component</span></a><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">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.Function3((pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M, kotlin.Int, com.lightningkite.kotlin.observable.list.ObservableList(()), pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C)), kotlin.Function3((pl.treksoft.kvision.panel.VPanel, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M, kotlin.Unit)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M, kotlin.Boolean)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer.Companion.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.Companion.dataContainer.M, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C, pl.treksoft.kvision.panel.VPanel)), kotlin.Unit)))/model">model</span><span class="symbol">:</span> <span class="identifier">ObservableList</span><span class="symbol"><</span><a href="data-container.html#M"><span class="identifier">M</span></a><span class="symbol">></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.Function3((pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M, kotlin.Int, com.lightningkite.kotlin.observable.list.ObservableList(()), pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C)), kotlin.Function3((pl.treksoft.kvision.panel.VPanel, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M, kotlin.Unit)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M, kotlin.Boolean)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer.Companion.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.Companion.dataContainer.M, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C, pl.treksoft.kvision.panel.VPanel)), kotlin.Unit)))/factory">factory</span><span class="symbol">:</span> <span class="symbol">(</span><a href="data-container.html#M"><span class="identifier">M</span></a><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> <span class="identifier">ObservableList</span><span class="symbol"><</span><a href="data-container.html#M"><span class="identifier">M</span></a><span class="symbol">></span><span class="symbol">)</span> <span class="symbol">-></span> <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.Function3((pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M, kotlin.Int, com.lightningkite.kotlin.observable.list.ObservableList(()), pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C)), kotlin.Function3((pl.treksoft.kvision.panel.VPanel, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M, kotlin.Unit)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M, kotlin.Boolean)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer.Companion.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.Companion.dataContainer.M, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C, pl.treksoft.kvision.panel.VPanel)), kotlin.Unit)))/containerAdd">containerAdd</span><span class="symbol">:</span> <span class="symbol">(</span><a href="../../pl.treksoft.kvision.panel/-v-panel/index.html"><span class="identifier">VPanel</span></a><span class="symbol">.</span><span class="symbol">(</span><a href="data-container.html#C"><span class="identifier">C</span></a><span class="symbol">,</span> <a href="data-container.html#M"><span class="identifier">M</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><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> null<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.Function3((pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M, kotlin.Int, com.lightningkite.kotlin.observable.list.ObservableList(()), pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C)), kotlin.Function3((pl.treksoft.kvision.panel.VPanel, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M, kotlin.Unit)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M, kotlin.Boolean)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer.Companion.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.Companion.dataContainer.M, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C, pl.treksoft.kvision.panel.VPanel)), kotlin.Unit)))/filter">filter</span><span class="symbol">:</span> <span class="symbol">(</span><span class="symbol">(</span><a href="data-container.html#M"><span class="identifier">M</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> <span class="symbol">=</span> null<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.Function3((pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M, kotlin.Int, com.lightningkite.kotlin.observable.list.ObservableList(()), pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C)), kotlin.Function3((pl.treksoft.kvision.panel.VPanel, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M, kotlin.Unit)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M, kotlin.Boolean)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer.Companion.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.Companion.dataContainer.M, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C, pl.treksoft.kvision.panel.VPanel)), kotlin.Unit)))/sorter">sorter</span><span class="symbol">:</span> <span class="symbol">(</span><span class="symbol">(</span><a href="data-container.html#M"><span class="identifier">M</span></a><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-comparable/index.html"><span class="identifier">Comparable</span></a><span class="symbol"><</span><span class="identifier">*</span><span class="symbol">></span><span class="symbol">?</span><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> null<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.Function3((pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M, kotlin.Int, com.lightningkite.kotlin.observable.list.ObservableList(()), pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C)), kotlin.Function3((pl.treksoft.kvision.panel.VPanel, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M, kotlin.Unit)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M, kotlin.Boolean)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer.Companion.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.Companion.dataContainer.M, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C, pl.treksoft.kvision.panel.VPanel)), kotlin.Unit)))/sorterType">sorterType</span><span class="symbol">:</span> <span class="symbol">(</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="../-sorter-type/index.html"><span class="identifier">SorterType</span></a> <span class="symbol">=</span> { SorterType.ASC }<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.Function3((pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M, kotlin.Int, com.lightningkite.kotlin.observable.list.ObservableList(()), pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C)), kotlin.Function3((pl.treksoft.kvision.panel.VPanel, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M, kotlin.Unit)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.M, kotlin.Boolean)), kotlin.Function1((pl.treksoft.kvision.data.DataContainer.Companion.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.Companion.dataContainer.M, pl.treksoft.kvision.data.DataContainer.Companion.dataContainer.C, pl.treksoft.kvision.panel.VPanel)), kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="index.html"><span class="identifier">DataContainer</span></a><span class="symbol"><</span><a href="data-container.html#M"><span class="identifier">M</span></a><span class="symbol">,</span> <a href="data-container.html#C"><span class="identifier">C</span></a><span class="symbol">,</span> <a href="../../pl.treksoft.kvision.panel/-v-panel/index.html"><span class="identifier">VPanel</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><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">DataContainer</span></a><span class="symbol"><</span><a href="data-container.html#M"><span class="identifier">M</span></a><span class="symbol">,</span> <a href="data-container.html#C"><span class="identifier">C</span></a><span class="symbol">,</span> <a href="../../pl.treksoft.kvision.panel/-v-panel/index.html"><span class="identifier">VPanel</span></a><span class="symbol">></span></code>
<p>DSL builder extension function with VPanel default.</p>
<p>It takes the same parameters as the constructor of the built component.</p>
</BODY>
</HTML>
|