ReadOnlyIntProperty

Boilerplate which avoids having to use generics. Instead of ReadOnlyProperty<Int>, use ReadOnlyIntProperty.

Inheritors

Properties

Link copied to clipboard
abstract val bean: Any?
Link copied to clipboard
abstract val beanName: String?
Link copied to clipboard
abstract val value: Int

Functions

Link copied to clipboard

Identical to addChangeListener, but these listeners are guaranteed to fire BEFORE other listeners. These should be used for the sole purpose of updating single ObservableValues which are dependent on this ObservableValue. This helps (but doesn't guarantee) that properties change atomically. i.e. when one property changes, a related property also changes before other (regular) listeners fire. Therefore, the (regular) listeners cannot read inconsistent values.

Link copied to clipboard

abstract fun addBindListener(listener: InvalidationListener)

Identical to addListener, but these listeners are guaranteed to fire BEFORE regular listeners. These should be used for the sole purpose of updating other ObservableValues which are dependent on this Observable.

Link copied to clipboard
abstract fun addListener(listener: InvalidationListener)
Link copied to clipboard
Link copied to clipboard

Converts an ObservableValue, with a non-nullable to value, to an ObservableValue whose value IS nullable.

Link copied to clipboard
operator fun ObservableInt.div(constant: Int): ObservableInt
Link copied to clipboard
Link copied to clipboard
open operator fun getValue(thisRef: Any, kProperty: KProperty<*>): Int

Lets us declare a val using a for the value of this property, using this as a delegate. e.g.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
operator fun ObservableInt.minus(constant: Int): ObservableInt
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
operator fun ObservableInt.plus(constant: Int): ObservableInt
Link copied to clipboard
operator fun ObservableInt.rem(constant: Int): ObservableInt
Link copied to clipboard
Link copied to clipboard
abstract fun removeListener(listener: InvalidationListener)
Link copied to clipboard

Converts an ObservableValue, with a nullable to value, to an ObservableValue whose value is NOT nullable, by supplying a defaultValue.

Link copied to clipboard
Link copied to clipboard
operator fun ObservableInt.times(constant: Int): ObservableInt
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard