scalafx.beans.property

Property

Related Docs: object Property | package property

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
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
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
Learn more about member selection
Visibility
  1. Public
  2. All

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[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  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. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    returns

    The delegate hashcode

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

    Definition Classes
    Any
  19. def name: String

    Returns the name of this property.

    Returns the name of this property.

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

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

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. 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
  24. 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
  25. 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 JavaFX InvalidationListener.

    Definition Classes
    Observable
  26. 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 JavaFX InvalidationListener.

    Definition Classes
    Observable
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  28. def toString(): String

    returns

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

    Definition Classes
    SFXDelegate → AnyRef → Any
  29. 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

  30. 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

  31. 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.

  32. def update(v: T): Unit

    Set the wrapped value.

    Set the wrapped value.

    v

    The new value

  33. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

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