tornadofx / tornadofx / kotlin.collections.List

Extensions for kotlin.collections.List

asObservable fun <T> List<T>.asObservable(): ObservableList<T>

Returns a new ObservableList that is backed by the original list.

observable fun <T> List<T>.observable(): ObservableList<T>
toObservable fun <T> List<T>.toObservable(): ObservableList<T>

Returns a new ObservableList with the elements from the original list.