BindingIncludes

scalafx.beans.binding.BindingIncludes
See theBindingIncludes companion object
trait BindingIncludes extends Bindings

Contains implicit methods to convert from `javafx.beans.binding` Classes to their ScalaFX counterparts.

Attributes

Companion
object
Graph
Supertypes
trait Bindings
class Object
trait Matchable
class Any
Known subtypes
object BindingIncludes.type
trait BeanIncludes
object BeanIncludes.type
trait Includes
object Includes.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

Implicits

Implicits

implicit def closure2ChangedListener[P, R](cl: (ObservableValue[_ <: P], P, P) => R): ChangeListener[P]

Converts a closure to a JavaFX ChangeListener.

Converts a closure to a JavaFX ChangeListener.

Type parameters

P

Change listener type.

R

closure can have arbitrary return type to make usage easier (last statement in the closure does not have to return Unit). Return value is ignored in generated listener.

Value parameters

cl

Closure to be converted.

Attributes

Returns

a new JavaFX ChangeListener.

implicit def closure2InvalidationListener[R](il: Observable => R): InvalidationListener

Converts a closure to a JavaFX InvalidationListener.

Converts a closure to a JavaFX InvalidationListener.

Type parameters

R

closure can have arbitrary return type to make usage easier (last statement in the closure does not have to return Unit). Return value is ignored in generated listener.

Value parameters

il

Closure to be converted.

Attributes

Returns

a new JavaFX InvalidationListener.

implicit def closureSFX2InvalidationListener[R](il: Observable => R): InvalidationListener

Converts a closure to a JavaFX InvalidationListener.

Converts a closure to a JavaFX InvalidationListener.

Type parameters

R

closure can have arbitrary return type to make usage easier (last statement in the closure does not have to return Unit). Return value is ignored in generated listener.

Value parameters

il

Closure to be converted.

Attributes

Returns

a new JavaFX InvalidationListener.

implicit def double2DoubleBinding(i: Double): DoubleBinding

Converts a Double to a JavaFX DoubleBinding

Converts a Double to a JavaFX DoubleBinding

Value parameters

i

Double to generate a new DoubleBinding

Attributes

Returns

a new DoubleBinding generated from the Double.

Converts a Double to a VariablePrecisionNumber.

Converts a Double to a VariablePrecisionNumber.

Value parameters

d

A Double

Attributes

Returns

a VariablePrecisionNumber

implicit def float2FloatBinding(i: Float): FloatBinding

Converts a Float to a JavaFX FloatBinding

Converts a Float to a JavaFX FloatBinding

Value parameters

i

Float to generate a new FloatBinding

Attributes

Returns

a new FloatBinding generated from the Float.

implicit def integer2IntegerBinding(i: Int): IntegerBinding

Converts a Integer to a JavaFX IntegerBinding

Converts a Integer to a JavaFX IntegerBinding

Value parameters

i

Integer to generate a new IntegerBinding

Attributes

Returns

a new IntegerBinding generated from the Integer.

implicit def jfxBooleanBinding2sfx(bb: BooleanBinding): BooleanBinding

Converts a JavaFX [[http://docs.oracle.com/javase/8/javafx/api/javafx/beans/binding/BooleanBinding.html BooleanBinding]] instance to its ScalaFX counterpart.

Converts a JavaFX [[http://docs.oracle.com/javase/8/javafx/api/javafx/beans/binding/BooleanBinding.html BooleanBinding]] instance to its ScalaFX counterpart.

Value parameters

bb

JavaFX BooleanBinding

Attributes

Returns

ScalaFX BooleanBinding

implicit def jfxBooleanExpression2sfx(be: BooleanExpression): BooleanExpression

Converts a JavaFX [[http://docs.oracle.com/javase/8/javafx/api/javafx/beans/binding/BooleanExpression.html BooleanExpression]] instance to its ScalaFX counterpart.

Converts a JavaFX [[http://docs.oracle.com/javase/8/javafx/api/javafx/beans/binding/BooleanExpression.html BooleanExpression]] instance to its ScalaFX counterpart.

Value parameters

be

JavaFX BooleanExpression

Attributes

Returns

ScalaFX BooleanExpression

implicit def jfxListBinding2sfx[E](v: ListBinding[E]): BufferBinding[E]
implicit def jfxListExpression2sfx[E](v: ListExpression[E]): BufferExpression[E]
implicit def jfxMapBinding2sfx[K, V](v: MapBinding[K, V]): MapBinding[K, V]
implicit def jfxMapExpression2sfx[K, V](v: MapExpression[K, V]): MapExpression[K, V]
implicit def jfxNumberBinding2sfx(nb: NumberBinding): NumberBinding

Converts a JavaFX [[http://docs.oracle.com/javase/8/javafx/api/javafx/beans/binding/NumberBinding.html NumberBinding]] instance to its ScalaFX counterpart.

Converts a JavaFX [[http://docs.oracle.com/javase/8/javafx/api/javafx/beans/binding/NumberBinding.html NumberBinding]] instance to its ScalaFX counterpart.

Value parameters

nb

JavaFX NumberBinding

Attributes

Returns

ScalaFX NumberBinding

implicit def jfxNumberExpression2sfx(ne: NumberExpression): NumberExpression

Converts a JavaFX [[http://docs.oracle.com/javase/8/javafx/api/javafx/beans/binding/NumberExpression.html NumberExpression]] instance to its ScalaFX counterpart.

Converts a JavaFX [[http://docs.oracle.com/javase/8/javafx/api/javafx/beans/binding/NumberExpression.html NumberExpression]] instance to its ScalaFX counterpart.

Value parameters

ne

JavaFX NumberExpression

Attributes

Returns

ScalaFX NumberExpression

implicit def jfxObjectBinding2sfx[T](ob: ObjectBinding[T]): ObjectBinding[T]

Converts a JavaFX [[http://docs.oracle.com/javase/8/javafx/api/javafx/beans/binding/ObjectBinding.html ObjectBinding]] instance to its ScalaFX counterpart.

Converts a JavaFX [[http://docs.oracle.com/javase/8/javafx/api/javafx/beans/binding/ObjectBinding.html ObjectBinding]] instance to its ScalaFX counterpart.

Type parameters

T

ObjectBinding Type

Value parameters

ob

JavaFX ObjectBinding

Attributes

Returns

ScalaFX ObjectBinding

implicit def jfxObjectExpression2sfx[T](oe: ObjectExpression[T]): ObjectExpression[T]

Converts a JavaFX [[http://docs.oracle.com/javase/8/javafx/api/javafx/beans/binding/ObjectExpression.html ObjectExpression]] instance to its ScalaFX counterpart.

Converts a JavaFX [[http://docs.oracle.com/javase/8/javafx/api/javafx/beans/binding/ObjectExpression.html ObjectExpression]] instance to its ScalaFX counterpart.

Type parameters

T

ObjectExpression Type

Value parameters

oe

JavaFX ObjectExpression

Attributes

Returns

ScalaFX ObjectExpression

implicit def jfxSetBinding2sfx[E](v: SetBinding[E]): SetBinding[E]
implicit def jfxSetExpression2sfx[E](v: SetExpression[E]): SetExpression[E]
implicit def jfxStringBinding2sfx(sb: StringBinding): StringBinding

Converts a JavaFX [[http://docs.oracle.com/javase/8/javafx/api/javafx/beans/binding/StringBinding.html StringBinding]] instance to its ScalaFX counterpart.

Converts a JavaFX [[http://docs.oracle.com/javase/8/javafx/api/javafx/beans/binding/StringBinding.html StringBinding]] instance to its ScalaFX counterpart.

Value parameters

sb

JavaFX StringBinding

Attributes

Returns

ScalaFX StringBinding

implicit def jfxStringExpression2sfx(se: StringExpression): StringExpression

Converts a JavaFX [[http://docs.oracle.com/javase/8/javafx/api/javafx/beans/binding/StringExpression.html StringExpression]] instance to its ScalaFX counterpart.

Converts a JavaFX [[http://docs.oracle.com/javase/8/javafx/api/javafx/beans/binding/StringExpression.html StringExpression]] instance to its ScalaFX counterpart.

Value parameters

se

JavaFX StringExpression

Attributes

Returns

ScalaFX StringExpression

implicit def long2LongBinding(i: Long): LongBinding

Converts a Long to a JavaFX LongBinding

Converts a Long to a JavaFX LongBinding

Value parameters

i

Long to generate a new LongBinding

Attributes

Returns

a new LongBinding generated from the Long.