scalafx.beans.property

ObjectProperty

object ObjectProperty

Factory for scalafx.beans.property.ObjectProperty instances.

Source
ObjectProperty.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ObjectProperty
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

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. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  6. def apply[J <: AnyRef](bean: AnyRef, name: String, initialValue: SFXDelegate[J]): ObjectProperty[J]

    Creates a new ObjectProperty with with its reference bean and name and a scalafx.delegate.SFXDelegate as initial value.

    Creates a new ObjectProperty with with its reference bean and name and a scalafx.delegate.SFXDelegate as initial value.

    Special case when value is an ScalaFX wrapper, to be used as a work around for https://github.com/scalafx/scalafx/issues/14. Created object property will have value type of the wrapped JavaFX type to simplify use with binding.

    J

    the JavaFX type of the value hold by this object property.

    bean

    The bean of this ObjectProperty

    name

    The name of this ObjectProperty

    initialValue

    The initial value of the wrapped value

  7. def apply[T](bean: AnyRef, name: String, initialValue: T): ObjectProperty[T]

    Creates a new ObjectProperty with with its reference bean and name and initial value.

    Creates a new ObjectProperty with with its reference bean and name and initial value.

    bean

    The bean of this ObjectProperty

    name

    The name of this ObjectProperty

    initialValue

    The initial value of the wrapped value

  8. def apply[T](bean: AnyRef, name: String): ObjectProperty[T]

    Creates a new ObjectProperty with its reference bean and name.

    Creates a new ObjectProperty with its reference bean and name.

    bean

    The bean of this ObjectProperty

    name

    The name of this ObjectProperty

  9. def apply[J <: AnyRef](value: SFXDelegate[J]): ObjectProperty[J]

    Creates a new ObjectProperty with a scalafx.delegate.SFXDelegate as initial value.

    Creates a new ObjectProperty with a scalafx.delegate.SFXDelegate as initial value.

    Special case when value is an ScalaFX wrapper, to be used as a work around for https://github.com/scalafx/scalafx/issues/14. Created object property will have value type of the wrapped JavaFX type to simplify use with binding.

    J

    the JavaFX type of the value hold by this object property.

    value

    the initial value.

  10. def apply[T](initialValue: T): ObjectProperty[T]

    Creates a new ObjectProperty.

    Creates a new ObjectProperty.

    initialValue

    the initial value.

  11. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  12. def clone(): AnyRef

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

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

    Definition Classes
    AnyRef → Any
  15. def fillProperty[J <: AnyRef](property: ObjectProperty[J], value: J): Unit

    Helper method for setting a value of an ObjectProperty, it gracefully deals with value that could be null, without causing NullPointerException.

    Helper method for setting a value of an ObjectProperty, it gracefully deals with value that could be null, without causing NullPointerException.

    Handles situation when value is of JavaFX type, to avoid implicit conversion and NPE is value is null.

    J

    ObjectProperty type

    property

    ObjectProperty to be filled.

    value

    Value to be injected in ObjectProperty.

  16. def fillProperty[J <: AnyRef](property: ObjectProperty[J], value: SFXDelegate[J]): Unit

    Helper method for setting a value of an ObjectProperty, it gracefully deals with value that could be null, without causing NullPointerException.

    Helper method for setting a value of an ObjectProperty, it gracefully deals with value that could be null, without causing NullPointerException.

    Handles situation when value is of ScalaFX type, to avoid implicit conversion and NPE is value is null.

    J

    ObjectProperty type

    property

    ObjectProperty to be filled.

    value

    Value to be injected in ObjectProperty, to avoid implicit conversion and NPE is value is null.

  17. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  19. final def isInstanceOf[T0]: Boolean

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  23. implicit def sfxObjectProperty2jfx[T](op: ObjectProperty[T]): javafx.beans.property.ObjectProperty[T]

    Implicit conversion from a ScalaFX's ObjectProperty to a JavaFX's ObjectProperty, extracting its delegate.

    Implicit conversion from a ScalaFX's ObjectProperty to a JavaFX's ObjectProperty, extracting its delegate.

    op

    ScalaFX's ObjectProperty

    returns

    JavaFX's ObjectProperty, extracted from op's delegate.

  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. def toString(): String

    Definition Classes
    AnyRef → Any
  26. final def wait(arg0: Long, arg1: Int): Unit

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. 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 AnyRef

Inherited from Any

Ungrouped