Trait/Object

scalafx.beans.property

Property

Related Docs: object Property | package property

Permalink

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

Abstract Value Members

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

    Permalink

    JavaFX object to be wrapped.

    JavaFX object to be wrapped.

    Definition Classes
    SFXDelegate
  2. abstract def value: T

    Permalink

    Returns ObservableValue

    Returns ObservableValue

    returns

    ObservableValue

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

    Permalink

    Set the wrapped value.

    Set the wrapped value.

    v

    The new value

Concrete Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def ->(endVal: J): Tweenable[T, J]

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef → Any
  9. def apply(): T

    Permalink

    Returns ObservableValue

    Returns ObservableValue

    returns

    ObservableValue

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

    Permalink
    Definition Classes
    Any
  11. def bean: AnyRef

    Permalink

    Returns the Object that contains this property.

    Returns the Object that contains this property.

    Definition Classes
    ReadOnlyProperty
  12. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. final def eq(arg0: AnyRef): Boolean

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

    Permalink

    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

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

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

    Permalink

    returns

    The delegate hashcode

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

    Permalink
    Definition Classes
    Any
  19. def name: String

    Permalink

    Returns the name of this property.

    Returns the name of this property.

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

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

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

    Permalink
    Definition Classes
    AnyRef
  23. def onChange[J1 >: J](op: ⇒ Unit): Subscription

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef
  28. def toString(): String

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink

    Set the wrapped value.

    Set the wrapped value.

    v

    The new value

  33. final def wait(): Unit

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

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

    Permalink
    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