Packages

trait Property[T, J] extends ReadOnlyProperty[T, J] with SFXDelegate[javafx.beans.property.Property[J]]

Generic trait that defines the methods common to all (writable) properties independent of their type.

T

Indicates Scala type that will be returned for this property.

J

Indicates Java type to be wrapped by T. Eventually T and J could be the same.

Source
Property.scala
Linear Supertypes
ReadOnlyProperty[T, J], ObservableValue[T, J], Observable, SFXDelegate[javafx.beans.property.Property[J]], AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Property
  2. ReadOnlyProperty
  3. ObservableValue
  4. Observable
  5. SFXDelegate
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def delegate: javafx.beans.property.Property[J]

    JavaFX object to be wrapped.

    JavaFX object to be wrapped.

    Definition Classes
    SFXDelegate
  2. abstract def value: T

    Returns ObservableValue

    Returns ObservableValue

    returns

    ObservableValue

    Definition Classes
    ObservableValue
  3. abstract def value_=(v: T): Unit

    Set the wrapped value.

    Set the wrapped value.

    v

    The new value

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def ->(endVal: J): Tweenable[T, J]

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

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

    endVal

    End Value

    returns

    a new Tweenable with this Property and end value passed.

  4. def <==(v: ObservableValue[_ <: T, _ <: J]): Unit

    Create a unidirectional binding for this Property.

    Create a unidirectional binding for this Property.

    v

    ScalaFX ObservableValue this Property should be bound to.

  5. def <==(v: ObservableValue[_ <: J]): Unit

    Create a unidirectional binding for this Property.

    Create a unidirectional binding for this Property.

    v

    JavaFX ObservableValue this Property should be bound to.

  6. def <==>(v: javafx.beans.property.Property[J]): Unit

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

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

    v

    the other JavaFX Property

  7. def <==>(v: Property[T, J]): Unit

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

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

    v

    the other ScalaFX Property

  8. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def apply(): T

    Returns ObservableValue

    Returns ObservableValue

    returns

    ObservableValue

    Definition Classes
    ObservableValue
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. def bean: AnyRef

    Returns the Object that contains this property.

    Returns the Object that contains this property.

    Definition Classes
    ReadOnlyProperty
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. 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
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. def hashCode(): Int

    returns

    The delegate hashcode

    Definition Classes
    SFXDelegate → AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def name: String

    Returns the name of this property.

    Returns the name of this property.

    Definition Classes
    ReadOnlyProperty
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. def onChange[J1 >: J](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
  23. def onChange[J1 >: J](op: (ObservableValue[T, J], 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
  24. 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
  25. 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
  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String

    returns

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

    Definition Classes
    SFXDelegate → AnyRef → Any
  28. def unbind(v: javafx.beans.property.Property[J]): Unit

    Remove a bidirectional binding between this Property and another JavaFX one.

    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.

    v

    - the other Property

  29. def unbind(v: Property[T, J]): Unit

    Remove a bidirectional binding between this Property and another ScalaFX one.

    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.

    v

    - the other Property

  30. def unbind(): Unit

    Remove the unidirectional binding for this Property.

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

  31. def update(v: T): Unit

    Set the wrapped value.

    Set the wrapped value.

    v

    The new value

  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from ReadOnlyProperty[T, J]

Inherited from ObservableValue[T, J]

Inherited from Observable

Inherited from SFXDelegate[javafx.beans.property.Property[J]]

Inherited from AnyRef

Inherited from Any

Ungrouped