From 35ba11a0343f626aa1832b4ba43a0ed2363fc265 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sat, 6 Apr 2019 19:36:32 +0200 Subject: Dokka upgrade to 0.9.18 --- api/pl.treksoft.kvision.data/-data-container/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'api/pl.treksoft.kvision.data/-data-container/index.html') diff --git a/api/pl.treksoft.kvision.data/-data-container/index.html b/api/pl.treksoft.kvision.data/-data-container/index.html index 845235e1..28467e1c 100644 --- a/api/pl.treksoft.kvision.data/-data-container/index.html +++ b/api/pl.treksoft.kvision.data/-data-container/index.html @@ -18,7 +18,7 @@

<init>

-DataContainer(model: ObservableList<M>, factory: (M, Int, ObservableList<M>) -> C, container: CONT, containerAdd: CONT.(C, M) -> Unit = null, filter: (M) -> Boolean = null, sorter: (M) -> Comparable<*>? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: DataContainer<M, C, CONT>.() -> Unit = null) +DataContainer(model: ObservableList<M>, factory: (M, Int, ObservableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null)

Creates DataContainer bound to given data model.

@@ -562,9 +562,9 @@

dataContainer

-fun <M, C : Component, CONT : Container> Container.dataContainer(model: ObservableList<M>, factory: (M, Int, ObservableList<M>) -> C, container: CONT, containerAdd: CONT.(C, M) -> Unit = null, filter: (M) -> Boolean = null, sorter: (M) -> Comparable<*>? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: DataContainer<M, C, CONT>.() -> Unit = null): DataContainer<M, C, CONT> +fun <M, C : Component, CONT : Container> Container.dataContainer(model: ObservableList<M>, factory: (M, Int, ObservableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT>

DSL builder extension function.

-fun <M, C : Component> Container.dataContainer(model: ObservableList<M>, factory: (M, Int, ObservableList<M>) -> C, containerAdd: VPanel.(C, M) -> Unit = null, filter: (M) -> Boolean = null, sorter: (M) -> Comparable<*>? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: DataContainer<M, C, VPanel>.() -> Unit = null): DataContainer<M, C, VPanel> +fun <M, C : Component> Container.dataContainer(model: ObservableList<M>, factory: (M, Int, ObservableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel>

DSL builder extension function with VPanel default.

-- cgit