Classes supporting the observer pattern, including the implementation of the observable list.
interface ObservableList<T> : MutableList<T>, ObservableState<List<T>>
Observable list interface. |
|
class ObservableListWrapper<T> : MutableList<T>, ObservableList<T>, ObservableState<List<T>>
Simple observable list implementation. |
|
interface ObservableState<S>
An interface of observable state. |
|
class StateBinding<S : Any, CONT : Container, CONTENT> : Widget
A class which binds the given container to the observable state. |
|
class Updateable<S : Any, CONTENT>
A helper class for updateable content. |
fun <T> observableListOf(vararg items: T): ObservableListWrapper<T>
Creates an instance of ObservableList |
|
fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit>
DSL builder extension function. |
|
fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT>
DSL builder extension function for updateable redux content. |