ReadOnlySetWrapper

class ReadOnlySetWrapper[E](val delegate: ReadOnlySetWrapper[E]) extends SetProperty[E] with SFXDelegate[ReadOnlySetWrapper[E]]

Wraps javafx.beans.property.ReadOnlySetWrapper.

Wraps javafx.beans.property.ReadOnlySetWrapper.

Companion
object
class SetProperty[E]
trait Property[ObservableSet[E], ObservableSet[E]]
trait ReadOnlyProperty[ObservableSet[E], ObservableSet[E]]
trait ObservableValue[ObservableSet[E], ObservableSet[E]]
trait SFXDelegate[ReadOnlySetWrapper[E]]
class SetExpression[E]
class Object
trait Matchable
class Any

Value members

Constructors

def this(value: ObservableSet[E])

Creates a new ReadOnlySetWrapper instance.

Creates a new ReadOnlySetWrapper instance.

Value Params
value

the initial value of the wrapped value

def this(bean: Any, name: String)

Creates a new ReadOnlySetWrapper.

Creates a new ReadOnlySetWrapper.

Value Params
bean

the bean of this SetProperty

name

the name of this SetProperty

def this(bean: Any, name: String, value: ObservableSet[E])

Creates a new ReadOnlySetWrapper.

Creates a new ReadOnlySetWrapper.

Value Params
bean

the bean of this SetProperty

name

the name of this SetProperty

value

the initial value

Concrete methods

Returns the readonly property, that is synchronized with this ReadOnlySetWrapper.

Returns the readonly property, that is synchronized with this ReadOnlySetWrapper.

Returns

the readonly property

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 ->(endVal: ObservableSet[E]): Tweenable[ObservableSet[E], ObservableSet[E]]

Returns a new scalafx.animation.Tweenable from a End Value.

Returns a new scalafx.animation.Tweenable from a End Value.

Value Params
endVal

End Value

Returns

a new Tweenable with this Property and end value passed.

Inherited from
Property
def <==(v: ObservableValue[_ <: ObservableSet[E], _ <: ObservableSet[E]]): Unit

Create a unidirectional binding for this Property.

Create a unidirectional binding for this Property.

Value Params
v

ScalaFX ObservableValue this Property should be bound to.

Inherited from
Property
def <==(v: ObservableValue[_ <: ObservableSet[E]]): Unit

Create a unidirectional binding for this Property.

Create a unidirectional binding for this Property.

Value Params
v

JavaFX ObservableValue this Property should be bound to.

Inherited from
Property
def <==>(v: Property[ObservableSet[E]]): Unit

Create a bidirectional binding between this Property and another JavaFX Property.

Create a bidirectional binding between this Property and another JavaFX Property.

Value Params
v

the other JavaFX Property

Inherited from
Property
def <==>(v: Property[ObservableSet[E], ObservableSet[E]]): Unit

Create a bidirectional binding between this Property and another ScalaFX Property.

Create a bidirectional binding between this Property and another ScalaFX Property.

Value Params
v

the other ScalaFX Property

Inherited from
Property
def apply(): ObservableSet[E]

Returns ObservableValue

Returns ObservableValue

Returns

ObservableValue

Inherited from
ObservableValue
def bean: AnyRef

Returns the Object that contains this property.

Returns the Object that contains this property.

Inherited from
ReadOnlyProperty
def bindContent(set: ObservableSet[E]): Unit

Creates a content binding between the ObservableSet, that is wrapped in this ReadOnlySetProperty, and another ObservableSet.

Creates a content binding between the ObservableSet, that is wrapped in this ReadOnlySetProperty, and another ObservableSet.

A content binding ensures that the content of the wrapped ObservableSets is the same as that of the other set. If the content of the other set changes, the wrapped set will be updated automatically. Once the wrapped set is bound to another set, you must not change it directly.

Value Params
set

the ObservableSet this property should be bound to

Inherited from
ReadOnlySetProperty

Creates a bidirectional content binding of the ObservableSet, that is wrapped in this ReadOnlySetProperty, and another ObservableSet.

Creates a bidirectional content binding of the ObservableSet, that is wrapped in this ReadOnlySetProperty, and another ObservableSet.

A bidirectional content binding ensures that the content of two ObservableSets is the same. If the content of one of the sets changes, the other one will be updated automatically.

Value Params
set

the ObservableSet this property should be bound to

Inherited from
ReadOnlySetProperty

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 name: String

Returns the name of this property.

Returns the name of this property.

Inherited from
ReadOnlyProperty
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
def unbind(v: Property[ObservableSet[E]]): Unit

Remove a bidirectional binding between this Property and another JavaFX one. If no bidirectional binding between the properties exists, calling this method has no effect.

Remove a bidirectional binding between this Property and another JavaFX one. If no bidirectional binding between the properties exists, calling this method has no effect.

Value Params
v
  • the other Property
Inherited from
Property
def unbind(v: Property[ObservableSet[E], ObservableSet[E]]): Unit

Remove a bidirectional binding between this Property and another ScalaFX one. If no bidirectional binding between the properties exists, calling this method has no effect.

Remove a bidirectional binding between this Property and another ScalaFX one. If no bidirectional binding between the properties exists, calling this method has no effect.

Value Params
v
  • the other Property
Inherited from
Property
def unbind(): Unit

Remove the unidirectional binding for this Property. If the Property is not bound, calling this method has no effect.

Remove the unidirectional binding for this Property. If the Property is not bound, calling this method has no effect.

Inherited from
Property
def unbindContent[T <: Object](sfx: SFXDelegate[T]): Unit

Deletes a content binding between the ObservableSet, that is wrapped in this ReadOnlySetProperty, and another Object.

Deletes a content binding between the ObservableSet, that is wrapped in this ReadOnlySetProperty, and another Object.

This is a helper method that calls the JavaFX counterpart with a delegate rather than the original object.

Value Params
sfx

the SFXDelegate object to which the binding should be removed

Inherited from
ReadOnlySetProperty
def unbindContentBidirectional[T <: Object](sfx: SFXDelegate[T]): Unit

Deletes a bidirectional content binding between the ObservableSet, that is wrapped in this ReadOnlySetProperty, and another Object.

Deletes a bidirectional content binding between the ObservableSet, that is wrapped in this ReadOnlySetProperty, and another Object.

This is a helper method that calls the JavaFX counterpart with a delegate rather than the original object.

Value Params
sfx

the SFXDelegate object to which the binding should be removed

Inherited from
ReadOnlySetProperty
def update(v: ObservableSet[E]): Unit

Set the wrapped value.

Set the wrapped value.

Value Params
v

The new value

Inherited from
Property
override def value: ObservableSet[E]
Definition Classes
Inherited from
ReadOnlySetProperty
override def value_=(v: ObservableSet[E]): Unit

Set the wrapped value.

Set the wrapped value.

Value Params
v

The new value

Definition Classes
Inherited from
SetProperty

Concrete fields

override val delegate: ReadOnlySetWrapper[E]