Package io. kvision. data
Base component and container class with data binding support for observable data model.
Types
BaseDataComponent
Link copied to clipboard
DataComponent
Link copied to clipboard
DataContainer
Link copied to clipboard
class DataContainer<M, C : Component, CONT : Container>(model: MutableList<M>, factory: Container.(M, Int, MutableList<M>) -> C, container: CONT, containerAdd: CONT.(C, M) -> Unit?, filter: (M) -> Boolean?, sorter: (M) -> Comparable<*>??, sorterType: () -> SorterType, init: DataContainer<M, C, CONT>.() -> Unit?) : Widget, Container, DataUpdatable
Content copied to clipboard
DataUpdatable
Link copied to clipboard
SorterType
Link copied to clipboard
Functions
dataContainer
Link copied to clipboard
fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: Container.(M, Int, MutableList<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>
Content copied to clipboard
fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: Container.(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