Bindings

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

Contains Methods for Bindings.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object BindingIncludes.type
trait BeanIncludes
object BeanIncludes.type
trait Includes
object Includes.type
object Bindings.type
Show all

Members list

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 parameters

v1

First Value

values

Collection of values

Attributes

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 parameters

dependencies

The dependencies of this binding

func

The function that calculates the value of this binding

Attributes

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 parameters

dependencies

The dependencies of this binding

func

The function that calculates the value of this binding

Attributes

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 parameters

dependencies

The dependencies of this binding

func

The function that calculates the value of this binding

Attributes

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 parameters

dependencies

The dependencies of this binding

func

The function that calculates the value of this binding

Attributes

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 parameters

dependencies

The dependencies of this binding

func

The function that calculates the value of this binding

Attributes

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 parameters

dependencies

The dependencies of this binding

func

The function that calculates the value of this binding

Attributes

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 parameters

dependencies

The dependencies of this binding

func

The function that calculates the value of this binding

Attributes

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 parameters

v1

First Value

values

Collection of values

Attributes

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 parameters

v1

First Value

values

Collection of values

Attributes

Returns

The highest Value

def when(condition: => ObservableBooleanValue): ConditionBuilder

Value parameters

condition

Function that returns a JavaFX `ObservableBooleanValue`

Attributes

Returns

A ConditionBuilder wrapping condition.