Package-level declarations

Functions

Link copied to clipboard
infix inline fun ObservableBooleanValue.and(other: ObservableBooleanValue): BooleanBinding

Creates a BooleanBinding that calculates the conditional-AND operation on the value of two instance of ObservableBooleanValue.

Link copied to clipboard
fun <T> ObservableBooleanValue.asAny(valueProvider: (Boolean) -> T?): ObjectBinding<T>

Create an ObjectBinding with single ObservableBooleanValue dependency.

fun <T> ObservableDoubleValue.asAny(valueProvider: (Double) -> T?): ObjectBinding<T>

Create an ObjectBinding with single ObservableDoubleValue dependency.

fun <T> ObservableFloatValue.asAny(valueProvider: (Float) -> T?): ObjectBinding<T>

Create an ObjectBinding with single ObservableFloatValue dependency.

fun <T> ObservableIntegerValue.asAny(valueProvider: (Int) -> T?): ObjectBinding<T>

Create an ObjectBinding with single ObservableIntegerValue dependency.

fun <T> ObservableLongValue.asAny(valueProvider: (Long) -> T?): ObjectBinding<T>

Create an ObjectBinding with single ObservableLongValue dependency.

fun <V, T> ObservableObjectValue<V>.asAny(valueProvider: (V?) -> T?): ObjectBinding<T>

Create an ObjectBinding with single ObservableObjectValue dependency.

fun <E, T> ObservableList<E>.asAny(valueProvider: (List<E>) -> T?): ObjectBinding<T>

Create an ObjectBinding with single ObservableList dependency.

fun <K, V, T> ObservableMap<K, V>.asAny(valueProvider: (Map<K, V>) -> T?): ObjectBinding<T>

Create an ObjectBinding with single ObservableMap dependency.

fun <E, T> ObservableSet<E>.asAny(valueProvider: (Set<E>) -> T?): ObjectBinding<T>

Create an ObjectBinding with single ObservableSet dependency.

Link copied to clipboard
fun ObservableBooleanValue.asBoolean(valueProvider: (Boolean) -> Boolean): BooleanBinding

Create a BooleanBinding with single ObservableBooleanValue dependency.

fun ObservableDoubleValue.asBoolean(valueProvider: (Double) -> Boolean): BooleanBinding

Create a BooleanBinding with single ObservableDoubleValue dependency.

fun ObservableFloatValue.asBoolean(valueProvider: (Float) -> Boolean): BooleanBinding

Create a BooleanBinding with single ObservableFloatValue dependency.

fun ObservableIntegerValue.asBoolean(valueProvider: (Int) -> Boolean): BooleanBinding

Create a BooleanBinding with single ObservableIntegerValue dependency.

fun ObservableLongValue.asBoolean(valueProvider: (Long) -> Boolean): BooleanBinding

Create a BooleanBinding with single ObservableLongValue dependency.

fun <V> ObservableObjectValue<V>.asBoolean(valueProvider: (V?) -> Boolean): BooleanBinding

Create a BooleanBinding with single ObservableObjectValue dependency.

fun <E> ObservableList<E>.asBoolean(valueProvider: (List<E>) -> Boolean): BooleanBinding

Create an BooleanBinding with single ObservableList dependency.

fun <K, V> ObservableMap<K, V>.asBoolean(valueProvider: (Map<K, V>) -> Boolean): BooleanBinding

Create an BooleanBinding with single ObservableMap dependency.

fun <E> ObservableSet<E>.asBoolean(valueProvider: (Set<E>) -> Boolean): BooleanBinding

Create an BooleanBinding with single ObservableSet dependency.

Link copied to clipboard
fun ObservableBooleanValue.asDouble(valueProvider: (Boolean) -> Double): DoubleBinding

Create a DoubleBinding with single ObservableBooleanValue dependency.

fun ObservableDoubleValue.asDouble(valueProvider: (Double) -> Double): DoubleBinding

Create a DoubleBinding with single ObservableDoubleValue dependency.

fun ObservableFloatValue.asDouble(valueProvider: (Float) -> Double): DoubleBinding

Create a DoubleBinding with single ObservableFloatValue dependency.

fun ObservableIntegerValue.asDouble(valueProvider: (Int) -> Double): DoubleBinding

Create a DoubleBinding with single ObservableIntegerValue dependency.

fun ObservableLongValue.asDouble(valueProvider: (Long) -> Double): DoubleBinding

Create a DoubleBinding with single ObservableLongValue dependency.

fun <V> ObservableObjectValue<V>.asDouble(valueProvider: (V?) -> Double): DoubleBinding

Create a DoubleBinding with single ObservableObjectValue dependency.

fun <E> ObservableList<E>.asDouble(valueProvider: (List<E>) -> Double): DoubleBinding

Create an DoubleBinding with single ObservableList dependency.

fun <K, V> ObservableMap<K, V>.asDouble(valueProvider: (Map<K, V>) -> Double): DoubleBinding

Create an DoubleBinding with single ObservableMap dependency.

fun <E> ObservableSet<E>.asDouble(valueProvider: (Set<E>) -> Double): DoubleBinding

Create an DoubleBinding with single ObservableSet dependency.

Link copied to clipboard
fun ObservableBooleanValue.asFloat(valueProvider: (Boolean) -> Float): FloatBinding

Create a FloatBinding with single ObservableBooleanValue dependency.

fun ObservableDoubleValue.asFloat(valueProvider: (Double) -> Float): FloatBinding

Create a FloatBinding with single ObservableDoubleValue dependency.

fun ObservableFloatValue.asFloat(valueProvider: (Float) -> Float): FloatBinding

Create a FloatBinding with single ObservableFloatValue dependency.

fun ObservableIntegerValue.asFloat(valueProvider: (Int) -> Float): FloatBinding

Create a FloatBinding with single ObservableIntegerValue dependency.

fun ObservableLongValue.asFloat(valueProvider: (Long) -> Float): FloatBinding

Create a FloatBinding with single ObservableLongValue dependency.

fun <V> ObservableObjectValue<V>.asFloat(valueProvider: (V?) -> Float): FloatBinding

Create a FloatBinding with single ObservableObjectValue dependency.

fun <E> ObservableList<E>.asFloat(valueProvider: (List<E>) -> Float): FloatBinding

Create an FloatBinding with single ObservableList dependency.

fun <K, V> ObservableMap<K, V>.asFloat(valueProvider: (Map<K, V>) -> Float): FloatBinding

Create an FloatBinding with single ObservableMap dependency.

fun <E> ObservableSet<E>.asFloat(valueProvider: (Set<E>) -> Float): FloatBinding

Create an FloatBinding with single ObservableSet dependency.

Link copied to clipboard
fun ObservableBooleanValue.asInt(valueProvider: (Boolean) -> Int): IntegerBinding

Create an IntegerBinding with single ObservableBooleanValue dependency.

fun ObservableDoubleValue.asInt(valueProvider: (Double) -> Int): IntegerBinding

Create an IntegerBinding with single ObservableDoubleValue dependency.

fun ObservableFloatValue.asInt(valueProvider: (Float) -> Int): IntegerBinding

Create an IntegerBinding with single ObservableFloatValue dependency.

fun ObservableIntegerValue.asInt(valueProvider: (Int) -> Int): IntegerBinding

Create an IntegerBinding with single ObservableIntegerValue dependency.

fun ObservableLongValue.asInt(valueProvider: (Long) -> Int): IntegerBinding

Create an IntegerBinding with single ObservableLongValue dependency.

fun <V> ObservableObjectValue<V>.asInt(valueProvider: (V?) -> Int): IntegerBinding

Create an IntegerBinding with single ObservableObjectValue dependency.

fun <E> ObservableList<E>.asInt(valueProvider: (List<E>) -> Int): IntegerBinding

Create an IntegerBinding with single ObservableList dependency.

fun <K, V> ObservableMap<K, V>.asInt(valueProvider: (Map<K, V>) -> Int): IntegerBinding

Create an IntegerBinding with single ObservableMap dependency.

fun <E> ObservableSet<E>.asInt(valueProvider: (Set<E>) -> Int): IntegerBinding

Create an IntegerBinding with single ObservableSet dependency.

Link copied to clipboard
fun ObservableBooleanValue.asLong(valueProvider: (Boolean) -> Long): LongBinding

Create a LongBinding with single ObservableBooleanValue dependency.

fun ObservableDoubleValue.asLong(valueProvider: (Double) -> Long): LongBinding

Create a LongBinding with single ObservableDoubleValue dependency.

fun ObservableFloatValue.asLong(valueProvider: (Float) -> Long): LongBinding

Create a LongBinding with single ObservableFloatValue dependency.

fun ObservableIntegerValue.asLong(valueProvider: (Int) -> Long): LongBinding

Create a LongBinding with single ObservableIntegerValue dependency.

fun ObservableLongValue.asLong(valueProvider: (Long) -> Long): LongBinding

Create a LongBinding with single ObservableLongValue dependency.

fun <V> ObservableObjectValue<V>.asLong(valueProvider: (V?) -> Long): LongBinding

Create a LongBinding with single ObservableObjectValue dependency.

fun <E> ObservableList<E>.asLong(valueProvider: (List<E>) -> Long): LongBinding

Create an LongBinding with single ObservableList dependency.

fun <K, V> ObservableMap<K, V>.asLong(valueProvider: (Map<K, V>) -> Long): LongBinding

Create an LongBinding with single ObservableMap dependency.

fun <E> ObservableSet<E>.asLong(valueProvider: (Set<E>) -> Long): LongBinding

Create an LongBinding with single ObservableSet dependency.

Link copied to clipboard
fun ObservableBooleanValue.asString(valueProvider: (Boolean) -> String?): StringBinding

Create a StringBinding with single ObservableBooleanValue dependency.

fun ObservableDoubleValue.asString(valueProvider: (Double) -> String?): StringBinding

Create a StringBinding with single ObservableDoubleValue dependency.

fun ObservableFloatValue.asString(valueProvider: (Float) -> String?): StringBinding

Create a StringBinding with single ObservableFloatValue dependency.

fun ObservableIntegerValue.asString(valueProvider: (Int) -> String?): StringBinding

Create a StringBinding with single ObservableIntegerValue dependency.

fun ObservableLongValue.asString(valueProvider: (Long) -> String?): StringBinding

Create a StringBinding with single ObservableLongValue dependency.

fun <V> ObservableObjectValue<V>.asString(valueProvider: (V?) -> String?): StringBinding

Create a StringBinding with single ObservableObjectValue dependency.

fun <E> ObservableList<E>.asString(valueProvider: (List<E>) -> String?): StringBinding

Create an StringBinding with single ObservableList dependency.

fun <K, V> ObservableMap<K, V>.asString(valueProvider: (Map<K, V>) -> String?): StringBinding

Create an StringBinding with single ObservableMap dependency.

fun <E> ObservableSet<E>.asString(valueProvider: (Set<E>) -> String?): StringBinding

Create an StringBinding with single ObservableSet dependency.

Link copied to clipboard
inline fun <E> List<E>.bindContent(other: ObservableList<E>)

Generates a bidirectional binding between an ObservableList and a List.

inline fun <K, V> Map<K, V>.bindContent(other: ObservableMap<K, V>)

Generates a bidirectional binding between an ObservableMap and a Map.

inline fun <E> Set<E>.bindContent(other: ObservableSet<E>)

Generates a bidirectional binding between an ObservableSet and a Set.

Link copied to clipboard
inline fun <E> ObservableList<E>.bindContentBidirectional(other: ObservableList<E>)

Generates a bidirectional binding between two instances of ObservableList.

inline fun <K, V> ObservableMap<K, V>.bindContentBidirectional(other: ObservableMap<K, V>)

Generates a bidirectional binding between two instances of ObservableMap.

inline fun <E> ObservableSet<E>.bindContentBidirectional(other: ObservableSet<E>)

Generates a bidirectional binding between two instances of ObservableSet.

Link copied to clipboard
inline fun <T> bindingOf(vararg dependencies: Observable, noinline valueProvider: () -> T?): ObjectBinding<T>

Create an ObjectBinding with multiple Observable dependencies.

fun <T> bindingOf(dependencies: Collection<Observable>, valueProvider: () -> T?): ObjectBinding<T>

Create a ObjectBinding with multiple Observable dependencies using collection.

Link copied to clipboard
inline fun booleanBindingOf(vararg dependencies: Observable, noinline valueProvider: () -> Boolean): BooleanBinding

Create a BooleanBinding with multiple Observable dependencies.

fun booleanBindingOf(dependencies: Collection<Observable>, valueProvider: () -> Boolean): BooleanBinding

Create a BooleanBinding with multiple Observable dependencies using collection.

Link copied to clipboard
inline operator fun ObservableDoubleValue.div(other: ObservableDoubleValue): DoubleBinding
inline operator fun ObservableDoubleValue.div(other: Double): DoubleBinding
inline operator fun ObservableDoubleValue.div(other: Float): DoubleBinding
inline operator fun ObservableDoubleValue.div(other: Int): DoubleBinding
inline operator fun ObservableDoubleValue.div(other: Long): DoubleBinding
inline operator fun ObservableFloatValue.div(other: Double): DoubleBinding
inline operator fun ObservableFloatValue.div(other: Float): FloatBinding
inline operator fun ObservableFloatValue.div(other: Int): FloatBinding
inline operator fun ObservableFloatValue.div(other: Long): FloatBinding
inline operator fun ObservableIntegerValue.div(other: Double): DoubleBinding
inline operator fun ObservableIntegerValue.div(other: Float): FloatBinding
inline operator fun ObservableIntegerValue.div(other: Int): IntegerBinding
inline operator fun ObservableIntegerValue.div(other: Long): LongBinding
inline operator fun ObservableLongValue.div(other: Double): DoubleBinding
inline operator fun ObservableLongValue.div(other: Float): FloatBinding
inline operator fun ObservableLongValue.div(other: Int): LongBinding
inline operator fun ObservableLongValue.div(other: Long): LongBinding
inline operator fun ObservableNumberValue.div(other: ObservableNumberValue): NumberBinding
inline operator fun Double.div(other: ObservableDoubleValue): DoubleBinding
inline operator fun Double.div(other: ObservableFloatValue): DoubleBinding
inline operator fun Double.div(other: ObservableIntegerValue): DoubleBinding
inline operator fun Double.div(other: ObservableLongValue): DoubleBinding
inline operator fun Float.div(other: ObservableDoubleValue): DoubleBinding
inline operator fun Float.div(other: ObservableFloatValue): FloatBinding
inline operator fun Float.div(other: ObservableIntegerValue): FloatBinding
inline operator fun Float.div(other: ObservableLongValue): FloatBinding
inline operator fun Int.div(other: ObservableDoubleValue): DoubleBinding
inline operator fun Int.div(other: ObservableFloatValue): FloatBinding
inline operator fun Int.div(other: ObservableIntegerValue): IntegerBinding
inline operator fun Int.div(other: ObservableLongValue): LongBinding
inline operator fun Long.div(other: ObservableDoubleValue): DoubleBinding
inline operator fun Long.div(other: ObservableFloatValue): FloatBinding
inline operator fun Long.div(other: ObservableIntegerValue): LongBinding
inline operator fun Long.div(other: ObservableLongValue): LongBinding
Link copied to clipboard
inline fun doubleBindingOf(vararg dependencies: Observable, noinline valueProvider: () -> Double): DoubleBinding

Create a DoubleBinding with multiple Observable dependencies.

fun doubleBindingOf(dependencies: Collection<Observable>, valueProvider: () -> Double): DoubleBinding

Create a DoubleBinding with multiple Observable dependencies using collection.

Link copied to clipboard
infix inline fun ObservableBooleanValue.eq(other: ObservableBooleanValue): BooleanBinding

Creates a new BooleanBinding that holds true if the values of two instances of ObservableBooleanValue are equal.

infix inline fun ObservableNumberValue.eq(other: ObservableNumberValue): BooleanBinding
infix inline fun ObservableNumberValue.eq(other: Int): BooleanBinding
infix inline fun ObservableNumberValue.eq(other: Long): BooleanBinding
infix inline fun ObservableObjectValue<*>.eq(other: ObservableObjectValue<*>): BooleanBinding
infix inline fun ObservableObjectValue<*>.eq(other: Any): BooleanBinding
infix inline fun ObservableStringValue.eq(other: ObservableStringValue): BooleanBinding
infix inline fun ObservableStringValue.eq(other: String): BooleanBinding
infix inline fun Any.eq(other: ObservableObjectValue<*>): BooleanBinding
infix inline fun Int.eq(other: ObservableNumberValue): BooleanBinding
infix inline fun Long.eq(other: ObservableNumberValue): BooleanBinding
infix inline fun String.eq(other: ObservableStringValue): BooleanBinding
inline fun ObservableNumberValue.eq(other: ObservableNumberValue, epsilon: Double): BooleanBinding
inline fun ObservableNumberValue.eq(other: Double, epsilon: Double): BooleanBinding
inline fun ObservableNumberValue.eq(other: Float, epsilon: Double): BooleanBinding
inline fun ObservableNumberValue.eq(other: Int, epsilon: Double): BooleanBinding
inline fun ObservableNumberValue.eq(other: Long, epsilon: Double): BooleanBinding
inline fun Double.eq(other: ObservableNumberValue, epsilon: Double): BooleanBinding
inline fun Float.eq(other: ObservableNumberValue, epsilon: Double): BooleanBinding
inline fun Int.eq(other: ObservableNumberValue, epsilon: Double): BooleanBinding
inline fun Long.eq(other: ObservableNumberValue, epsilon: Double): BooleanBinding

infix inline fun ObservableNumberValue.eq(other: Double): BooleanBinding
infix inline fun ObservableNumberValue.eq(other: Float): BooleanBinding
infix inline fun Double.eq(other: ObservableNumberValue): BooleanBinding
infix inline fun Float.eq(other: ObservableNumberValue): BooleanBinding

This function is weirdly not inherited by NumberExpressionBase.

Link copied to clipboard
infix inline fun ObservableStringValue.eqIg(other: ObservableStringValue): BooleanBinding
infix inline fun ObservableStringValue.eqIg(other: String): BooleanBinding
infix inline fun String.eqIg(other: ObservableStringValue): BooleanBinding
Link copied to clipboard
inline fun floatBindingOf(vararg dependencies: Observable, noinline valueProvider: () -> Float): FloatBinding

Create a FloatBinding with multiple Observable dependencies.

fun floatBindingOf(dependencies: Collection<Observable>, valueProvider: () -> Float): FloatBinding

Create a FloatBinding with multiple Observable dependencies using collection.

Link copied to clipboard
inline fun ObservableFloatArray.forEachBinding(action: (FloatBinding) -> Unit)
inline fun ObservableIntegerArray.forEachBinding(action: (IntegerBinding) -> Unit)

Performs the given action on each element binding.

inline fun <E> ObservableList<E>.forEachBinding(action: (Binding<E>) -> Unit)

Performs the given action on each element.

Link copied to clipboard
inline fun ObservableFloatArray.forEachBindingIndexed(action: (index: Int, FloatBinding) -> Unit)
inline fun ObservableIntegerArray.forEachBindingIndexed(action: (index: Int, IntegerBinding) -> Unit)

Performs the given action on each element binding, accompanied with the index of the element.

inline fun <E> ObservableList<E>.forEachBindingIndexed(action: (index: Int, Binding<E>) -> Unit)

Performs the given action on each element, providing sequential index with the element.

Link copied to clipboard
inline fun ObservableFloatArray.getBinding(index: ObservableIntegerValue): FloatBinding
inline fun ObservableFloatArray.getBinding(index: ObservableNumberValue): FloatBinding
inline fun ObservableFloatArray.getBinding(index: Int): FloatBinding

Creates a new FloatBinding that contains the element of an ObservableFloatArray at the specified position.

inline fun ObservableIntegerArray.getBinding(index: ObservableIntegerValue): IntegerBinding
inline fun ObservableIntegerArray.getBinding(index: ObservableNumberValue): IntegerBinding
inline fun ObservableIntegerArray.getBinding(index: Int): IntegerBinding

Creates a new IntegerBinding that contains the element of an ObservableIntegerArray at the specified position.

inline fun <E> ObservableList<E>.getBinding(index: ObservableIntegerValue): ObjectBinding<E>
inline fun <E> ObservableList<E>.getBinding(index: ObservableNumberValue): ObjectBinding<E>
inline fun <E> ObservableList<E>.getBinding(index: Int): ObjectBinding<E>

Creates a new ObjectBinding that contains the element of an ObservableList at the specified position.

inline fun ObservableList<Boolean>.getBinding(index: ObservableIntegerValue): BooleanBinding
inline fun ObservableList<Boolean>.getBinding(index: ObservableNumberValue): BooleanBinding
inline fun ObservableList<Boolean>.getBinding(index: Int): BooleanBinding

Creates a new BooleanBinding that contains the element of an ObservableList at the specified position.

inline fun ObservableList<Double>.getBinding(index: ObservableIntegerValue): DoubleBinding
inline fun ObservableList<Double>.getBinding(index: ObservableNumberValue): DoubleBinding
inline fun ObservableList<Double>.getBinding(index: Int): DoubleBinding

Creates a new DoubleBinding that contains the element of an ObservableList at the specified position.

inline fun ObservableList<Float>.getBinding(index: ObservableIntegerValue): FloatBinding
inline fun ObservableList<Float>.getBinding(index: ObservableNumberValue): FloatBinding
inline fun ObservableList<Float>.getBinding(index: Int): FloatBinding

Creates a new FloatBinding that contains the element of an ObservableList at the specified position.

inline fun ObservableList<Int>.getBinding(index: ObservableIntegerValue): IntegerBinding
inline fun ObservableList<Int>.getBinding(index: ObservableNumberValue): IntegerBinding
inline fun ObservableList<Int>.getBinding(index: Int): IntegerBinding

Creates a new IntegerBinding that contains the element of an ObservableList at the specified position.

inline fun ObservableList<Long>.getBinding(index: ObservableIntegerValue): LongBinding
inline fun ObservableList<Long>.getBinding(index: ObservableNumberValue): LongBinding
inline fun ObservableList<Long>.getBinding(index: Int): LongBinding

Creates a new LongBinding that contains the element of an ObservableList at the specified position.

inline fun ObservableList<String>.getBinding(index: ObservableIntegerValue): StringBinding
inline fun ObservableList<String>.getBinding(index: ObservableNumberValue): StringBinding
inline fun ObservableList<String>.getBinding(index: Int): StringBinding

Creates a new StringBinding that contains the element of an ObservableList at the specified position.

inline fun <K, V> ObservableMap<K, V>.getBinding(key: K): ObjectBinding<V>
inline fun <K, V> ObservableMap<K, V>.getBinding(key: ObservableValue<K>): ObjectBinding<V>

Creates a new ObjectBinding that contains the mapping of a specific key in an ObservableMap.

inline fun <K> ObservableMap<K, Boolean>.getBinding(key: K): BooleanBinding
inline fun <K> ObservableMap<K, Boolean>.getBinding(key: ObservableValue<K>): BooleanBinding

Creates a new BooleanBinding that contains the mapping of a specific key in an ObservableMap.

inline fun <K> ObservableMap<K, Double>.getBinding(key: K): DoubleBinding
inline fun <K> ObservableMap<K, Double>.getBinding(key: ObservableValue<K>): DoubleBinding

Creates a new DoubleBinding that contains the mapping of a specific key in an ObservableMap.

inline fun <K> ObservableMap<K, Float>.getBinding(key: K): FloatBinding
inline fun <K> ObservableMap<K, Float>.getBinding(key: ObservableValue<K>): FloatBinding

Creates a new FloatBinding that contains the mapping of a specific key in an ObservableMap.

inline fun <K> ObservableMap<K, Int>.getBinding(key: K): IntegerBinding
inline fun <K> ObservableMap<K, Int>.getBinding(key: ObservableValue<K>): IntegerBinding

Creates a new IntegerBinding that contains the mapping of a specific key in an ObservableMap.

inline fun <K> ObservableMap<K, Long>.getBinding(key: K): LongBinding
inline fun <K> ObservableMap<K, Long>.getBinding(key: ObservableValue<K>): LongBinding

Creates a new LongBinding that contains the mapping of a specific key in an ObservableMap.

inline fun <K> ObservableMap<K, String>.getBinding(key: K): StringBinding
inline fun <K> ObservableMap<K, String>.getBinding(key: ObservableValue<K>): StringBinding

Creates a new StringBinding that contains the mapping of a specific key in an ObservableMap.

Link copied to clipboard
inline fun given(condition: ObservableBooleanValue): When

Creates a binding that calculates the result of a ternary expression.

Link copied to clipboard
infix inline fun ObservableNumberValue.greater(other: ObservableNumberValue): BooleanBinding
infix inline fun ObservableNumberValue.greater(other: Double): BooleanBinding
infix inline fun ObservableNumberValue.greater(other: Float): BooleanBinding
infix inline fun ObservableNumberValue.greater(other: Int): BooleanBinding
infix inline fun ObservableNumberValue.greater(other: Long): BooleanBinding
infix inline fun ObservableStringValue.greater(other: ObservableStringValue): BooleanBinding
infix inline fun ObservableStringValue.greater(other: String): BooleanBinding
infix inline fun Double.greater(other: ObservableNumberValue): BooleanBinding
infix inline fun Float.greater(other: ObservableNumberValue): BooleanBinding
infix inline fun Int.greater(other: ObservableNumberValue): BooleanBinding
infix inline fun Long.greater(other: ObservableNumberValue): BooleanBinding
infix inline fun String.greater(other: ObservableStringValue): BooleanBinding
Link copied to clipboard
infix inline fun ObservableNumberValue.greaterEq(other: ObservableNumberValue): BooleanBinding
infix inline fun ObservableNumberValue.greaterEq(other: Double): BooleanBinding
infix inline fun ObservableNumberValue.greaterEq(other: Float): BooleanBinding
infix inline fun ObservableNumberValue.greaterEq(other: Int): BooleanBinding
infix inline fun ObservableNumberValue.greaterEq(other: Long): BooleanBinding
infix inline fun ObservableStringValue.greaterEq(other: ObservableStringValue): BooleanBinding
infix inline fun ObservableStringValue.greaterEq(other: String): BooleanBinding
infix inline fun Double.greaterEq(other: ObservableNumberValue): BooleanBinding
infix inline fun Float.greaterEq(other: ObservableNumberValue): BooleanBinding
infix inline fun Int.greaterEq(other: ObservableNumberValue): BooleanBinding
infix inline fun Long.greaterEq(other: ObservableNumberValue): BooleanBinding
infix inline fun String.greaterEq(other: ObservableStringValue): BooleanBinding
Link copied to clipboard
inline fun intBindingOf(vararg dependencies: Observable, noinline valueProvider: () -> Int): IntegerBinding

Create an IntegerBinding with multiple Observable dependencies.

fun intBindingOf(dependencies: Collection<Observable>, valueProvider: () -> Int): IntegerBinding

Create a IntegerBinding with multiple Observable dependencies using collection.

Link copied to clipboard
inline fun ObservableStringValue.isEmpty(): BooleanBinding
Link copied to clipboard
inline fun ObservableStringValue.isNotEmpty(): BooleanBinding
Link copied to clipboard
inline fun ObservableObjectValue<*>.isNotNull(): BooleanBinding
Link copied to clipboard
inline fun ObservableObjectValue<*>.isNull(): BooleanBinding
Link copied to clipboard
inline fun ObservableStringValue.length(): IntegerBinding
Link copied to clipboard
infix inline fun ObservableNumberValue.less(other: ObservableNumberValue): BooleanBinding
infix inline fun ObservableNumberValue.less(other: Double): BooleanBinding
infix inline fun ObservableNumberValue.less(other: Float): BooleanBinding
infix inline fun ObservableNumberValue.less(other: Int): BooleanBinding
infix inline fun ObservableNumberValue.less(other: Long): BooleanBinding
infix inline fun ObservableStringValue.less(other: ObservableStringValue): BooleanBinding
infix inline fun ObservableStringValue.less(other: String): BooleanBinding
infix inline fun Double.less(other: ObservableNumberValue): BooleanBinding
infix inline fun Float.less(other: ObservableNumberValue): BooleanBinding
infix inline fun Int.less(other: ObservableNumberValue): BooleanBinding
infix inline fun Long.less(other: ObservableNumberValue): BooleanBinding
infix inline fun String.less(other: ObservableStringValue): BooleanBinding
Link copied to clipboard
infix inline fun ObservableNumberValue.lessEq(other: ObservableNumberValue): BooleanBinding
infix inline fun ObservableNumberValue.lessEq(other: Double): BooleanBinding
infix inline fun ObservableNumberValue.lessEq(other: Float): BooleanBinding
infix inline fun ObservableNumberValue.lessEq(other: Int): BooleanBinding
infix inline fun ObservableNumberValue.lessEq(other: Long): BooleanBinding
infix inline fun ObservableStringValue.lessEq(other: ObservableStringValue): BooleanBinding
infix inline fun ObservableStringValue.lessEq(other: String): BooleanBinding
infix inline fun Double.lessEq(other: ObservableNumberValue): BooleanBinding
infix inline fun Float.lessEq(other: ObservableNumberValue): BooleanBinding
infix inline fun Int.lessEq(other: ObservableNumberValue): BooleanBinding
infix inline fun Long.lessEq(other: ObservableNumberValue): BooleanBinding
infix inline fun String.lessEq(other: ObservableStringValue): BooleanBinding
Link copied to clipboard
inline fun longBindingOf(vararg dependencies: Observable, noinline valueProvider: () -> Long): LongBinding

Create a LongBinding with multiple Observable dependencies.

fun longBindingOf(dependencies: Collection<Observable>, valueProvider: () -> Long): LongBinding

Create a LongBinding with multiple Observable dependencies using collection.

Link copied to clipboard
inline fun maxOf(a: ObservableNumberValue, b: ObservableNumberValue): NumberBinding
inline fun maxOf(a: ObservableNumberValue, b: Double): DoubleBinding
inline fun maxOf(a: ObservableNumberValue, b: Float): NumberBinding
inline fun maxOf(a: ObservableNumberValue, b: Int): NumberBinding
inline fun maxOf(a: ObservableNumberValue, b: Long): NumberBinding
inline fun maxOf(a: Double, b: ObservableNumberValue): DoubleBinding
inline fun maxOf(a: Float, b: ObservableNumberValue): NumberBinding
inline fun maxOf(a: Int, b: ObservableNumberValue): NumberBinding
inline fun maxOf(a: Long, b: ObservableNumberValue): NumberBinding
Link copied to clipboard
inline fun minOf(a: ObservableNumberValue, b: ObservableNumberValue): NumberBinding
inline fun minOf(a: ObservableNumberValue, b: Double): DoubleBinding
inline fun minOf(a: ObservableNumberValue, b: Float): NumberBinding
inline fun minOf(a: ObservableNumberValue, b: Int): NumberBinding
inline fun minOf(a: ObservableNumberValue, b: Long): NumberBinding
inline fun minOf(a: Double, b: ObservableNumberValue): DoubleBinding
inline fun minOf(a: Float, b: ObservableNumberValue): NumberBinding
inline fun minOf(a: Int, b: ObservableNumberValue): NumberBinding
inline fun minOf(a: Long, b: ObservableNumberValue): NumberBinding
Link copied to clipboard
inline operator fun ObservableDoubleValue.minus(other: ObservableDoubleValue): DoubleBinding
inline operator fun ObservableDoubleValue.minus(other: Double): DoubleBinding
inline operator fun ObservableDoubleValue.minus(other: Float): DoubleBinding
inline operator fun ObservableDoubleValue.minus(other: Int): DoubleBinding
inline operator fun ObservableDoubleValue.minus(other: Long): DoubleBinding
inline operator fun ObservableFloatValue.minus(other: Double): DoubleBinding
inline operator fun ObservableFloatValue.minus(other: Float): FloatBinding
inline operator fun ObservableFloatValue.minus(other: Int): FloatBinding
inline operator fun ObservableFloatValue.minus(other: Long): FloatBinding
inline operator fun ObservableIntegerValue.minus(other: Double): DoubleBinding
inline operator fun ObservableIntegerValue.minus(other: Float): FloatBinding
inline operator fun ObservableIntegerValue.minus(other: Int): IntegerBinding
inline operator fun ObservableIntegerValue.minus(other: Long): LongBinding
inline operator fun ObservableLongValue.minus(other: Double): DoubleBinding
inline operator fun ObservableLongValue.minus(other: Float): FloatBinding
inline operator fun ObservableLongValue.minus(other: Int): LongBinding
inline operator fun ObservableLongValue.minus(other: Long): LongBinding
inline operator fun ObservableNumberValue.minus(other: ObservableNumberValue): NumberBinding
inline operator fun Double.minus(other: ObservableDoubleValue): DoubleBinding
inline operator fun Double.minus(other: ObservableFloatValue): DoubleBinding
inline operator fun Double.minus(other: ObservableIntegerValue): DoubleBinding
inline operator fun Double.minus(other: ObservableLongValue): DoubleBinding
inline operator fun Float.minus(other: ObservableDoubleValue): DoubleBinding
inline operator fun Float.minus(other: ObservableFloatValue): FloatBinding
inline operator fun Float.minus(other: ObservableIntegerValue): FloatBinding
inline operator fun Float.minus(other: ObservableLongValue): FloatBinding
inline operator fun Int.minus(other: ObservableDoubleValue): DoubleBinding
inline operator fun Int.minus(other: ObservableFloatValue): FloatBinding
inline operator fun Int.minus(other: ObservableIntegerValue): IntegerBinding
inline operator fun Int.minus(other: ObservableLongValue): LongBinding
inline operator fun Long.minus(other: ObservableDoubleValue): DoubleBinding
inline operator fun Long.minus(other: ObservableFloatValue): FloatBinding
inline operator fun Long.minus(other: ObservableIntegerValue): LongBinding
inline operator fun Long.minus(other: ObservableLongValue): LongBinding
Link copied to clipboard
infix inline fun ObservableBooleanValue.neq(other: ObservableBooleanValue): BooleanBinding

Creates a new BooleanBinding that holds true if the values of two instances of ObservableBooleanValue are not equal.

infix inline fun ObservableNumberValue.neq(other: ObservableNumberValue): BooleanBinding
infix inline fun ObservableNumberValue.neq(other: Int): BooleanBinding
infix inline fun ObservableNumberValue.neq(other: Long): BooleanBinding
infix inline fun ObservableObjectValue<*>.neq(other: ObservableObjectValue<*>): BooleanBinding
infix inline fun ObservableObjectValue<*>.neq(other: Any): BooleanBinding
infix inline fun ObservableStringValue.neq(other: ObservableStringValue): BooleanBinding
infix inline fun ObservableStringValue.neq(other: String): BooleanBinding
infix inline fun Any.neq(other: ObservableObjectValue<*>): BooleanBinding
infix inline fun Int.neq(other: ObservableNumberValue): BooleanBinding
infix inline fun Long.neq(other: ObservableNumberValue): BooleanBinding
infix inline fun String.neq(other: ObservableStringValue): BooleanBinding
inline fun ObservableNumberValue.neq(other: ObservableNumberValue, epsilon: Double): BooleanBinding
inline fun ObservableNumberValue.neq(other: Double, epsilon: Double): BooleanBinding
inline fun ObservableNumberValue.neq(other: Float, epsilon: Double): BooleanBinding
inline fun ObservableNumberValue.neq(other: Int, epsilon: Double): BooleanBinding
inline fun ObservableNumberValue.neq(other: Long, epsilon: Double): BooleanBinding
inline fun Double.neq(other: ObservableNumberValue, epsilon: Double): BooleanBinding
inline fun Float.neq(other: ObservableNumberValue, epsilon: Double): BooleanBinding
inline fun Int.neq(other: ObservableNumberValue, epsilon: Double): BooleanBinding
inline fun Long.neq(other: ObservableNumberValue, epsilon: Double): BooleanBinding

infix inline fun ObservableNumberValue.neq(other: Double): BooleanBinding
infix inline fun ObservableNumberValue.neq(other: Float): BooleanBinding
infix inline fun Double.neq(other: ObservableNumberValue): BooleanBinding
infix inline fun Float.neq(other: ObservableNumberValue): BooleanBinding

This function is weirdly not inherited by NumberExpressionBase.

Link copied to clipboard
infix inline fun ObservableStringValue.neqIg(other: ObservableStringValue): BooleanBinding
infix inline fun ObservableStringValue.neqIg(other: String): BooleanBinding
infix inline fun String.neqIg(other: ObservableStringValue): BooleanBinding
Link copied to clipboard
inline operator fun ObservableBooleanValue.not(): BooleanBinding

Creates a BooleanBinding that calculates the conditional-OR operation on the value of two instance of ObservableBooleanValue.

Link copied to clipboard
infix inline fun ObservableBooleanValue.or(other: ObservableBooleanValue): BooleanBinding

Creates a BooleanBinding that calculates the conditional-OR operation on the value of two instance of ObservableBooleanValue.

Link copied to clipboard
infix inline fun When.BooleanConditionBuilder.otherwise(value: ObservableBooleanValue): BooleanBinding
infix inline fun When.BooleanConditionBuilder.otherwise(value: Boolean): BooleanBinding
infix inline fun When.NumberConditionBuilder.otherwise(value: ObservableNumberValue): NumberBinding
infix inline fun When.NumberConditionBuilder.otherwise(value: Double): DoubleBinding
infix inline fun When.NumberConditionBuilder.otherwise(value: Float): NumberBinding
infix inline fun When.NumberConditionBuilder.otherwise(value: Int): NumberBinding
infix inline fun When.NumberConditionBuilder.otherwise(value: Long): NumberBinding
infix inline fun <T> When.ObjectConditionBuilder<T>.otherwise(value: T?): ObjectBinding<T>
infix inline fun <T> When.ObjectConditionBuilder<T>.otherwise(value: ObservableObjectValue<T>): ObjectBinding<T>
infix inline fun When.StringConditionBuilder.otherwise(value: ObservableStringValue): StringBinding
infix inline fun When.StringConditionBuilder.otherwise(value: String): StringBinding
Link copied to clipboard
inline operator fun ObservableDoubleValue.plus(other: ObservableNumberValue): DoubleBinding
inline operator fun ObservableDoubleValue.plus(other: Double): DoubleBinding
inline operator fun ObservableDoubleValue.plus(other: Float): DoubleBinding
inline operator fun ObservableDoubleValue.plus(other: Int): DoubleBinding
inline operator fun ObservableDoubleValue.plus(other: Long): DoubleBinding
inline operator fun ObservableFloatValue.plus(other: Double): DoubleBinding
inline operator fun ObservableFloatValue.plus(other: Float): FloatBinding
inline operator fun ObservableFloatValue.plus(other: Int): FloatBinding
inline operator fun ObservableFloatValue.plus(other: Long): FloatBinding
inline operator fun ObservableIntegerValue.plus(other: Double): DoubleBinding
inline operator fun ObservableIntegerValue.plus(other: Float): FloatBinding
inline operator fun ObservableIntegerValue.plus(other: Int): IntegerBinding
inline operator fun ObservableIntegerValue.plus(other: Long): LongBinding
inline operator fun ObservableLongValue.plus(other: Double): DoubleBinding
inline operator fun ObservableLongValue.plus(other: Float): FloatBinding
inline operator fun ObservableLongValue.plus(other: Int): LongBinding
inline operator fun ObservableLongValue.plus(other: Long): LongBinding
inline operator fun ObservableNumberValue.plus(other: ObservableNumberValue): NumberBinding
inline operator fun Double.plus(other: ObservableDoubleValue): DoubleBinding
inline operator fun Double.plus(other: ObservableFloatValue): DoubleBinding
inline operator fun Double.plus(other: ObservableIntegerValue): DoubleBinding
inline operator fun Double.plus(other: ObservableLongValue): DoubleBinding
inline operator fun Float.plus(other: ObservableDoubleValue): DoubleBinding
inline operator fun Float.plus(other: ObservableFloatValue): FloatBinding
inline operator fun Float.plus(other: ObservableIntegerValue): FloatBinding
inline operator fun Float.plus(other: ObservableLongValue): FloatBinding
inline operator fun Int.plus(other: ObservableDoubleValue): DoubleBinding
inline operator fun Int.plus(other: ObservableFloatValue): FloatBinding
inline operator fun Int.plus(other: ObservableIntegerValue): IntegerBinding
inline operator fun Int.plus(other: ObservableLongValue): LongBinding
inline operator fun Long.plus(other: ObservableDoubleValue): DoubleBinding
inline operator fun Long.plus(other: ObservableFloatValue): FloatBinding
inline operator fun Long.plus(other: ObservableIntegerValue): LongBinding
inline operator fun Long.plus(other: ObservableLongValue): LongBinding
Link copied to clipboard
inline fun <T> ObservableValue<*>.select(vararg steps: String): ObjectBinding<T>
inline fun <T> Any.select(vararg steps: String): ObjectBinding<T>

Creates an object binding used to get a member.

Link copied to clipboard
inline fun ObservableValue<*>.selectBoolean(vararg steps: String): BooleanBinding
inline fun Any.selectBoolean(vararg steps: String): BooleanBinding

Creates a boolean binding used to get a member.

Link copied to clipboard
inline fun ObservableValue<*>.selectDouble(vararg steps: String): DoubleBinding
inline fun Any.selectDouble(vararg steps: String): DoubleBinding

Creates a double binding used to get a member.

Link copied to clipboard
inline fun ObservableValue<*>.selectFloat(vararg steps: String): FloatBinding
inline fun Any.selectFloat(vararg steps: String): FloatBinding

Creates a float binding used to get a member.

Link copied to clipboard
inline fun ObservableValue<*>.selectInt(vararg steps: String): IntegerBinding
inline fun Any.selectInt(vararg steps: String): IntegerBinding

Creates an integer binding used to get a member.

Link copied to clipboard
inline fun ObservableValue<*>.selectLong(vararg steps: String): LongBinding
inline fun Any.selectLong(vararg steps: String): LongBinding

Creates a long binding used to get a member.

Link copied to clipboard
inline fun ObservableValue<*>.selectString(vararg steps: String): StringBinding
inline fun Any.selectString(vararg steps: String): StringBinding

Creates a string binding used to get a member.

Link copied to clipboard
inline fun <E> ObservableList<E>.size(): IntegerBinding

Creates a new IntegerBinding that contains the size ObservableList.

inline fun <K, V> ObservableMap<K, V>.size(): IntegerBinding

Creates a new IntegerBinding that contains the size ObservableMap.

inline fun <E> ObservableSet<E>.size(): IntegerBinding

Creates a new IntegerBinding that contains the size ObservableSet.

Link copied to clipboard
inline fun stringBindingOf(vararg dependencies: Observable, noinline valueProvider: () -> String?): StringBinding

Create a StringBinding with multiple Observable dependencies.

fun stringBindingOf(dependencies: Collection<Observable>, valueProvider: () -> String?): StringBinding

Create a StringBinding with multiple Observable dependencies using collection.

Link copied to clipboard
infix inline fun <T> When.then(value: T?): When.ObjectConditionBuilder<T>
infix inline fun When.then(value: ObservableBooleanValue): When.BooleanConditionBuilder
infix inline fun When.then(value: ObservableNumberValue): When.NumberConditionBuilder
infix inline fun <T> When.then(value: ObservableObjectValue<T>): When.ObjectConditionBuilder<T>
infix inline fun When.then(value: ObservableStringValue): When.StringConditionBuilder
infix inline fun When.then(value: Boolean): When.BooleanConditionBuilder
infix inline fun When.then(value: Double): When.NumberConditionBuilder
infix inline fun When.then(value: Float): When.NumberConditionBuilder
infix inline fun When.then(value: Int): When.NumberConditionBuilder
infix inline fun When.then(value: Long): When.NumberConditionBuilder
infix inline fun When.then(value: String): When.StringConditionBuilder
Link copied to clipboard
inline operator fun ObservableDoubleValue.times(other: ObservableDoubleValue): DoubleBinding
inline operator fun ObservableDoubleValue.times(other: Double): DoubleBinding
inline operator fun ObservableDoubleValue.times(other: Float): DoubleBinding
inline operator fun ObservableDoubleValue.times(other: Int): DoubleBinding
inline operator fun ObservableDoubleValue.times(other: Long): DoubleBinding
inline operator fun ObservableFloatValue.times(other: Double): DoubleBinding
inline operator fun ObservableFloatValue.times(other: Float): FloatBinding
inline operator fun ObservableFloatValue.times(other: Int): FloatBinding
inline operator fun ObservableFloatValue.times(other: Long): FloatBinding
inline operator fun ObservableIntegerValue.times(other: Double): DoubleBinding
inline operator fun ObservableIntegerValue.times(other: Float): FloatBinding
inline operator fun ObservableIntegerValue.times(other: Int): IntegerBinding
inline operator fun ObservableIntegerValue.times(other: Long): LongBinding
inline operator fun ObservableLongValue.times(other: Double): DoubleBinding
inline operator fun ObservableLongValue.times(other: Float): FloatBinding
inline operator fun ObservableLongValue.times(other: Int): LongBinding
inline operator fun ObservableLongValue.times(other: Long): LongBinding
inline operator fun ObservableNumberValue.times(other: ObservableNumberValue): NumberBinding
inline operator fun Double.times(other: ObservableDoubleValue): DoubleBinding
inline operator fun Double.times(other: ObservableFloatValue): DoubleBinding
inline operator fun Double.times(other: ObservableIntegerValue): DoubleBinding
inline operator fun Double.times(other: ObservableLongValue): DoubleBinding
inline operator fun Float.times(other: ObservableDoubleValue): DoubleBinding
inline operator fun Float.times(other: ObservableFloatValue): FloatBinding
inline operator fun Float.times(other: ObservableIntegerValue): FloatBinding
inline operator fun Float.times(other: ObservableLongValue): FloatBinding
inline operator fun Int.times(other: ObservableDoubleValue): DoubleBinding
inline operator fun Int.times(other: ObservableFloatValue): FloatBinding
inline operator fun Int.times(other: ObservableIntegerValue): IntegerBinding
inline operator fun Int.times(other: ObservableLongValue): LongBinding
inline operator fun Long.times(other: ObservableDoubleValue): DoubleBinding
inline operator fun Long.times(other: ObservableFloatValue): FloatBinding
inline operator fun Long.times(other: ObservableIntegerValue): LongBinding
inline operator fun Long.times(other: ObservableLongValue): LongBinding
Link copied to clipboard
inline operator fun ObservableDoubleValue.unaryMinus(): DoubleBinding
inline operator fun ObservableFloatValue.unaryMinus(): FloatBinding
inline operator fun ObservableIntegerValue.unaryMinus(): IntegerBinding
inline operator fun ObservableLongValue.unaryMinus(): LongBinding
Link copied to clipboard
inline fun <E> List<E>.unbindContent(other: ObservableList<E>)

Remove a bidirectional binding between an ObservableList and a List.

inline fun <K, V> Map<K, V>.unbindContent(other: ObservableMap<K, V>)

Remove a bidirectional binding between an ObservableMap and a Map.

inline fun <E> Set<E>.unbindContent(other: ObservableSet<E>)

Remove a bidirectional binding between an ObservableSet and a Set.

Link copied to clipboard
inline fun <E> ObservableList<E>.unbindContentBidirectional(other: ObservableList<E>)

Remove a bidirectional binding between two instances of ObservableList.

inline fun <K, V> ObservableMap<K, V>.unbindContentBidirectional(other: ObservableMap<K, V>)

Remove a bidirectional binding between two instances of ObservableMap.

inline fun <E> ObservableSet<E>.unbindContentBidirectional(other: ObservableSet<E>)

Remove a bidirectional binding between two instances of ObservableSet.

Properties

Link copied to clipboard
val <E> ObservableList<E>.isEmpty: BooleanBinding

Creates a new BooleanBinding that holds true if a given ObservableList is empty.

val <K, V> ObservableMap<K, V>.isEmpty: BooleanBinding

Creates a new BooleanBinding that holds true if a given ObservableMap is empty.

val <E> ObservableSet<E>.isEmpty: BooleanBinding

Creates a new BooleanBinding that holds true if a given ObservableSet is empty.

Link copied to clipboard
val <E> ObservableList<E>.isNotEmpty: BooleanBinding

Creates a new BooleanBinding that holds true if a given ObservableList is not empty.

val <K, V> ObservableMap<K, V>.isNotEmpty: BooleanBinding

Creates a new BooleanBinding that holds true if a given ObservableMap is not empty.

val <E> ObservableSet<E>.isNotEmpty: BooleanBinding

Creates a new BooleanBinding that holds true if a given ObservableSet is not empty.