Properties

Link copied to clipboard
abstract override var value: V

Functions

Link copied to clipboard
Link copied to clipboard
open fun <B> bidirectionalBind(other: Property<B>, converter: Converter<V, B>): BidirectionalBind

This property's value is set to other's value, and then both values are bound to each other. i.e. if either property changes, the other will also change.

Link copied to clipboard
abstract fun bidirectionalUnbind(other: Property<*>?)

Removes a bidirectional bind created using bidirectionalBind.

Link copied to clipboard
open fun <T : V> bindCastTo(bindTo: ObservableValue<T>)

This is the same as bindTo, but casting this to Property<T>, suppressing the unchecked cast. I believe this is fine in all cases.

Link copied to clipboard
abstract fun bindTo(to: ObservableValue<V>)

The value of this property is bound to the value of property to.

Link copied to clipboard
abstract fun isBound(): Boolean
Link copied to clipboard
open operator fun setValue(thisRef: Any, kProperty: KProperty<*>, newValue: V)

Lets us declare a var for the value of this property. e.g.

Link copied to clipboard
abstract fun unbind()