Bindings

trait Bindings

Contains Methods for Bindings.

Contains Methods for Bindings.

Companion
object
class Object
trait Matchable
class Any

Value members

Concrete methods

def add(v1: ObservableNumberValue, values: ObservableNumberValue*): ObservableNumberValue

Returns the sum of a collection of JavaFX `ObservableNumberValue`s.

Returns the sum of a collection of JavaFX `ObservableNumberValue`s.

Value Params
v1

First Value

values

Collection of values

Returns

The Value sum.

def createBooleanBinding(func: () => Boolean, dependencies: Observable*): BooleanBinding

Helper function to create a custom BooleanBinding.

Helper function to create a custom BooleanBinding.

Wraps a JavaFX Bindings.createBooleanBinding.

Value Params
dependencies

The dependencies of this binding

func

The function that calculates the value of this binding

Returns

The generated binding

def createDoubleBinding(func: () => Double, dependencies: Observable*): DoubleBinding

Helper function to create a custom DoubleBinding.

Helper function to create a custom DoubleBinding.

Wraps a JavaFX Bindings.createDoubleBinding.

Value Params
dependencies

The dependencies of this binding

func

The function that calculates the value of this binding

Returns

The generated binding

def createFloatBinding(func: () => Float, dependencies: Observable*): FloatBinding

Helper function to create a custom FloatBinding.

Helper function to create a custom FloatBinding.

Wraps a JavaFX Bindings.createFloatBinding.

Value Params
dependencies

The dependencies of this binding

func

The function that calculates the value of this binding

Returns

The generated binding

def createIntegerBinding(func: () => Int, dependencies: Observable*): IntegerBinding

Helper function to create a custom IntegerBinding.

Helper function to create a custom IntegerBinding.

Wraps a JavaFX Bindings.createIntegerBinding.

Value Params
dependencies

The dependencies of this binding

func

The function that calculates the value of this binding

Returns

The generated binding

def createLongBinding(func: () => Long, dependencies: Observable*): LongBinding

Helper function to create a custom LongBinding.

Helper function to create a custom LongBinding.

Wraps a JavaFX Bindings.createLongBinding.

Value Params
dependencies

The dependencies of this binding

func

The function that calculates the value of this binding

Returns

The generated binding

def createObjectBinding[T](func: () => T, dependencies: Observable*): ObjectBinding[T]

Helper function to create a custom ObjectBinding.

Helper function to create a custom ObjectBinding.

Wraps a JavaFX Bindings.createObjectBinding.

Value Params
dependencies

The dependencies of this binding

func

The function that calculates the value of this binding

Returns

The generated binding

def createStringBinding(func: () => String, dependencies: Observable*): StringBinding

Helper function to create a custom StringBinding.

Helper function to create a custom StringBinding.

Wraps a JavaFX Bindings.createStringBinding.

Value Params
dependencies

The dependencies of this binding

func

The function that calculates the value of this binding

Returns

The generated binding

def max(v1: ObservableNumberValue, values: ObservableNumberValue*): ObservableNumberValue

Returns the Lowest value among a collection of JavaFX `ObservableNumberValue`s.

Returns the Lowest value among a collection of JavaFX `ObservableNumberValue`s.

Value Params
v1

First Value

values

Collection of values

Returns

The Lowest Value

def min(v1: ObservableNumberValue, values: ObservableNumberValue*): ObservableNumberValue

Returns the highest value among a collection of JavaFX `ObservableNumberValue`s.

Returns the highest value among a collection of JavaFX `ObservableNumberValue`s.

Value Params
v1

First Value

values

Collection of values

Returns

The highest Value

def when(condition: => ObservableBooleanValue): ConditionBuilder
Value Params
condition

Function that returns a JavaFX `ObservableBooleanValue`

Returns

A ConditionBuilder wrapping condition.