Package io. kvision. data
Base component and container class with data binding support for observable data model.
Types
Link copied to clipboard
Base abstract class for creating observable data model.
Link copied to clipboard
Base interface for observable data model.
Link copied to clipboard
class DataContainer<M, C, CONT>( model: MutableList<M>, factory: <Error class: unknown class>.(M, Int, MutableList<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) : DataUpdatable
Content copied to clipboard
A container class with support for mutable/observable data model.
Link copied to clipboard
Interface for updatable container.
Link copied to clipboard
Sorter types.
Functions
Link copied to clipboard
fun <M, C> <Error class: unknown class>.dataContainer( model: MutableList<M>, factory: <Error class: unknown class>.(M, Int, MutableList<M>) -> C, containerAdd: <Error class: unknown class>.(C, M) -> Unit? = null, filter: (M) -> Boolean? = null, sorter: (M) -> Comparable<*>?? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: DataContainer<M, C, <Error class: unknown class>>.() -> Unit? = null): DataContainer<M, C, <Error class: unknown class>>
Content copied to clipboard
DSL builder extension function with VPanel default.
fun <M, C, CONT> <Error class: unknown class>.dataContainer( model: MutableList<M>, factory: <Error class: unknown class>.(M, Int, MutableList<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>
Content copied to clipboard
DSL builder extension function.