SideTernaryFunction

class SideTernaryFunction<A, OA : ObservableValue<A>, B, OB : ObservableValue<B>, C, OC : ObservableValue<C>>(argA: OA, argB: OB, argC: OC, lambda: (A, B, C) -> Side) : TernaryFunction<Side, A, OA, B, OB, C, OC> , ObservableSide

Boilerplate which avoids having to use generics. An ObservableSide which is calculated from 3 (ternary) other ObservableValues.

See BinaryFunction (PropertyFunctions).

Constructors

Link copied to clipboard
constructor(argA: OA, argB: OB, argC: OC, lambda: (A, B, C) -> Side)

Properties

Link copied to clipboard
val argA: OA
Link copied to clipboard
val argB: OB
Link copied to clipboard
val argC: OC
Link copied to clipboard
val lambda: (A, B, C) -> Side
Link copied to clipboard
open override val value: Side

Functions

Link copied to clipboard
open override fun addBindListener(listener: InvalidationListener)
Link copied to clipboard
Link copied to clipboard
open override fun addListener(listener: InvalidationListener)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
override fun eval(): Side
Link copied to clipboard
open operator fun getValue(thisRef: Any, kProperty: KProperty<*>): Side
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Orientations LEFT and RIGHT are mapped to Orientation.HORIZONTAL. Orientations TOP and BOTTOM are mapped to Orientation.VERTICAL.

Link copied to clipboard

Orientations LEFT and RIGHT are mapped to Orientation.VERTICAL. Orientations TOP and BOTTOM are mapped to Orientation.HORIZONTAL.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun removeListener(listener: InvalidationListener)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun toString(): String