scalafx.beans.property

ReadOnlySetProperty

class ReadOnlySetProperty[E] extends SetExpression[E] with ReadOnlyProperty[ObservableSet[E], ObservableSet[E]] with SFXDelegate[javafx.beans.property.ReadOnlySetProperty[E]]

Wraps a JavaFX ReadOnlySetProperty.

Source
ReadOnlySetProperty.scala
Linear Supertypes
ReadOnlyProperty[ObservableSet[E], ObservableSet[E]], ObservableValue[ObservableSet[E], ObservableSet[E]], Observable, SFXDelegate[javafx.beans.property.ReadOnlySetProperty[E]], SetExpression[E], AnyRef, Any
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ReadOnlySetProperty
  2. ReadOnlyProperty
  3. ObservableValue
  4. Observable
  5. SFXDelegate
  6. SetExpression
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ReadOnlySetProperty(delegate: javafx.beans.property.ReadOnlySetProperty[E])

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def ++=(xs: Seq[E]): Boolean

    Definition Classes
    SetExpression
  5. def ++=(elem1: E, elem2: E, elems: E*): Boolean

    Definition Classes
    SetExpression
  6. def +=(element: E): Boolean

    Definition Classes
    SetExpression
  7. def --=(xs: Seq[E]): Boolean

    Definition Classes
    SetExpression
  8. def --=(elem1: E, elem2: E, elems: E*): Boolean

    Definition Classes
    SetExpression
  9. def -=(element: E): Boolean

    Definition Classes
    SetExpression
  10. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  12. def apply(): ObservableSet[E]

    Returns ObservableValue

    Returns ObservableValue

    returns

    ObservableValue

    Definition Classes
    ObservableValue
  13. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  14. def bean: AnyRef

    Returns the Object that contains this property.

    Returns the Object that contains this property.

    Definition Classes
    ReadOnlyProperty
  15. 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.

    set

    the ObservableSet this property should be bound to

  16. def bindContentBidirectional(set: ObservableSet[E]): Unit

    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.

    set

    the ObservableSet this property should be bound to

  17. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  18. val delegate: javafx.beans.property.ReadOnlySetProperty[E]

    JavaFX object to be wrapped.

    JavaFX object to be wrapped.

    Definition Classes
    ReadOnlySetPropertySFXDelegateSetExpression
  19. def empty: ReadOnlyBooleanProperty

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

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

    Definition Classes
    SetExpression
  20. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. def equals(ref: Any): Boolean

    Verifies if a object is equals to this delegate.

    Verifies if a object is equals to this delegate.

    ref

    Object to be compared.

    returns

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

    Definition Classes
    SFXDelegate → AnyRef → Any
  22. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  23. def hashCode(): Int

    returns

    The delegate hashcode

    Definition Classes
    SFXDelegate → AnyRef → Any
  24. def isEqualTo(other: ObservableSet[_]): BooleanBinding

    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.

    other

    the other ObservableSet

    returns

    the new BooleanBinding

    Definition Classes
    SetExpression
  25. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  26. def isNotEqualTo(other: ObservableSet[_]): BooleanBinding

    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.

    other

    the other ObservableSet

    returns

    the new BooleanBinding

    Definition Classes
    SetExpression
  27. def name: String

    Returns the name of this property.

    Returns the name of this property.

    Definition Classes
    ReadOnlyProperty
  28. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  29. final def notify(): Unit

    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  30. final def notifyAll(): Unit

    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  31. def onChange[J1 >: ObservableSet[E]](op: ⇒ Unit): Subscription

    Adds a function as a ChangeListener.

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

    op

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

    returns

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

    Definition Classes
    ObservableValue
  32. def onChange[J1 >: ObservableSet[E]](op: (ObservableValue[ObservableSet[E], ObservableSet[E]], J1, J1) ⇒ Unit): Subscription

    Adds a function as a ChangeListener.

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

    J1

    J superclass.

    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.

    Definition Classes
    ObservableValue
  33. def onInvalidate(op: ⇒ Unit): Subscription

    Adds a no argument function as a JavaFX InvalidationListener.

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

    op

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

    returns

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

    Definition Classes
    Observable
  34. def onInvalidate(op: (Observable) ⇒ Unit): Subscription

    Adds a function as a JavaFX InvalidationListener.

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

    op

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

    returns

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

    Definition Classes
    Observable
  35. def retainAll(xs: Seq[E]): Boolean

    Definition Classes
    SetExpression
  36. def retainAll(elem1: E, elem2: E, elems: E*): Boolean

    Definition Classes
    SetExpression
  37. def size: ReadOnlyIntegerProperty

    An integer property that represents the size of the set.

    An integer property that represents the size of the set.

    Definition Classes
    SetExpression
  38. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  39. def toString(): String

    returns

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

    Definition Classes
    SFXDelegate → AnyRef → Any
  40. def unbindContent[T <: AnyRef](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.

    sfx

    the SFXDelegate object to which the binding should be removed

  41. def unbindContentBidirectional[T <: AnyRef](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.

    sfx

    the SFXDelegate object to which the binding should be removed

  42. def value: ObservableSet[E]

    Returns ObservableValue

    Returns ObservableValue

    returns

    ObservableValue

    Definition Classes
    ReadOnlySetPropertyObservableValue
  43. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from ReadOnlyProperty[ObservableSet[E], ObservableSet[E]]

Inherited from ObservableValue[ObservableSet[E], ObservableSet[E]]

Inherited from Observable

Inherited from SFXDelegate[javafx.beans.property.ReadOnlySetProperty[E]]

Inherited from SetExpression[E]

Inherited from AnyRef

Inherited from Any

Ungrouped