ObservableProperty

class ObservableProperty<T>(val name: String, val internalSet: (T) -> Unit, val internalGet: () -> T)

Constructors

Link copied to clipboard
constructor(name: String, internalSet: (T) -> Unit, internalGet: () -> T)

Properties

Link copied to clipboard
val internalGet: () -> T
Link copied to clipboard
val internalSet: (T) -> Unit
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var value: T

Functions

Link copied to clipboard
Link copied to clipboard
fun forceUpdate(value: T)
Link copied to clipboard
@JvmName(name = "ObservablePropertyRatio_toDouble")
fun ObservableProperty<Ratio>.toDouble(): ObservableProperty<Double>
@JvmName(name = "ObservablePropertyFloat_toDouble")
fun ObservableProperty<Float>.toDouble(): ObservableProperty<Double>
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
fun <T, R> ObservableProperty<T>.transform(convert: (T) -> R, rconvert: (R) -> T): ObservableProperty<R>