SetBinding

class SetBinding[E](val delegate: SetBinding[E]) extends SetExpression[E] with ObservableValue[ObservableSet[E], ObservableSet[E]]

Wraps a JavaFX SetBinding.

Wraps a JavaFX SetBinding.

Companion
object
trait ObservableValue[ObservableSet[E], ObservableSet[E]]
trait SFXDelegate[ObservableValue[ObservableSet[E]]]
class SetExpression[E]
class Object
trait Matchable
class Any

Value members

Concrete methods

override def value: ObservableSet[E]
Definition Classes

Inherited methods

def ++=(xs: Seq[E]): Boolean
Inherited from
SetExpression
def ++=(elem1: E, elem2: E, elems: E*): Boolean
Inherited from
SetExpression
def +=(element: E): Boolean
Inherited from
SetExpression
def --=(xs: Seq[E]): Boolean
Inherited from
SetExpression
def --=(elem1: E, elem2: E, elems: E*): Boolean
Inherited from
SetExpression
def -=(element: E): Boolean
Inherited from
SetExpression
def apply(): ObservableSet[E]

Returns ObservableValue

Returns ObservableValue

Returns

ObservableValue

Inherited from
ObservableValue

A boolean property that is true, if the the set is empty.

A boolean property that is true, if the the set is empty.

Inherited from
SetExpression
override def equals(ref: Any): Boolean

Verifies if a object is equals to this delegate.

Verifies if a object is equals to this delegate.

Value Params
ref

Object to be compared.

Returns

if the other object is equals to this delegate or not.

Definition Classes
Inherited from
SFXDelegate
override def hashCode: Int
Returns

The delegate hashcode

Definition Classes
Inherited from
SFXDelegate

Creates a new BooleanBinding that holds true if this set is equal to another ObservableSet.

Creates a new BooleanBinding that holds true if this set is equal to another ObservableSet.

Value Params
other

the other ObservableSet

Returns

the new BooleanBinding

Inherited from
SetExpression

Creates a new BooleanBinding that holds true if this set is not equal to another ObservableSet.

Creates a new BooleanBinding that holds true if this set is not equal to another ObservableSet.

Value Params
other

the other ObservableSet

Returns

the new BooleanBinding

Inherited from
SetExpression
def onChange[J1 >: ObservableSet[E]](op: => Unit): Subscription

Adds a function as a `ChangeListener`. This function has no arguments because it will not handle values changed.

Adds a function as a `ChangeListener`. This function has no arguments because it will not handle values changed.

Value Params
op

A Function with no arguments. It will be called when value changes.

Returns

A new scalafx.event.subscriptions.Subscription to remove ObservableValue.

Inherited from
ObservableValue
def onChange[J1 >: ObservableSet[E]](op: (ObservableValue[ObservableSet[E], ObservableSet[E]], J1, J1) => Unit): Subscription

Adds a function as a `ChangeListener`. This function has all arguments from T, T) `changed` method from ChangeListener.

Adds a function as a `ChangeListener`. This function has all arguments from T, T) `changed` method from ChangeListener.

Type Params
J1

J superclass.

Value Params
op

Function that receives a `ObservableValue`, the old value and the new value. It will be called when value changes.

Returns

A new scalafx.event.subscriptions.Subscription to remove ObservableValue.

Inherited from
ObservableValue
def onInvalidate(op: => Unit): Subscription

Adds a no argument function as a JavaFX `InvalidationListener`. This function has no arguments because it will not handle invalidated values.

Adds a no argument function as a JavaFX `InvalidationListener`. This function has no arguments because it will not handle invalidated values.

Value Params
op

A Function with no arguments. It will be called when value was invalidated.

Returns

A new scalafx.event.subscriptions.Subscription to remove JavaFX InvalidationListener.

Inherited from
Observable

Adds a function as a JavaFX `InvalidationListener`. This function has all arguments from `invalidated` method from InvalidationListener.

Adds a function as a JavaFX `InvalidationListener`. This function has all arguments from `invalidated` method from InvalidationListener.

Value Params
op

Function that receives a ScalaFX Observable. It will be called when value was invalidated.

Returns

A new scalafx.event.subscriptions.Subscription to remove JavaFX InvalidationListener.

Inherited from
Observable
def retainAll(xs: Seq[E]): Boolean
Inherited from
SetExpression
def retainAll(elem1: E, elem2: E, elems: E*): Boolean
Inherited from
SetExpression

An integer property that represents the size of the set.

An integer property that represents the size of the set.

Inherited from
SetExpression
override def toString: String
Returns

Returns the original delegate's toString() adding a [SFX] prefix.

Definition Classes
Inherited from
SFXDelegate

Concrete fields

override val delegate: SetBinding[E]