Bindings

scalafx.beans.binding.Bindings
See theBindings companion trait
object Bindings extends Bindings

Attributes

Companion
trait
Graph
Supertypes
trait Bindings
class Object
trait Matchable
class Any
Self type
Bindings.type

Members list

Value members

Inherited 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 parameters

v1

First Value

values

Collection of values

Attributes

Returns

The Value sum.

Inherited from:
Bindings
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 parameters

dependencies

The dependencies of this binding

func

The function that calculates the value of this binding

Attributes

Returns

The generated binding

Inherited from:
Bindings
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 parameters

dependencies

The dependencies of this binding

func

The function that calculates the value of this binding

Attributes

Returns

The generated binding

Inherited from:
Bindings
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 parameters

dependencies

The dependencies of this binding

func

The function that calculates the value of this binding

Attributes

Returns

The generated binding

Inherited from:
Bindings
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 parameters

dependencies

The dependencies of this binding

func

The function that calculates the value of this binding

Attributes

Returns

The generated binding

Inherited from:
Bindings
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 parameters

dependencies

The dependencies of this binding

func

The function that calculates the value of this binding

Attributes

Returns

The generated binding

Inherited from:
Bindings
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 parameters

dependencies

The dependencies of this binding

func

The function that calculates the value of this binding

Attributes

Returns

The generated binding

Inherited from:
Bindings
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 parameters

dependencies

The dependencies of this binding

func

The function that calculates the value of this binding

Attributes

Returns

The generated binding

Inherited from:
Bindings
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 parameters

v1

First Value

values

Collection of values

Attributes

Returns

The Lowest Value

Inherited from:
Bindings
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 parameters

v1

First Value

values

Collection of values

Attributes

Returns

The highest Value

Inherited from:
Bindings
def when(condition: => ObservableBooleanValue): ConditionBuilder

Value parameters

condition

Function that returns a JavaFX `ObservableBooleanValue`

Attributes

Returns

A ConditionBuilder wrapping condition.

Inherited from:
Bindings