Object/Class

scalafx.beans.property

ObjectProperty

Related Docs: class ObjectProperty | package property

Permalink

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
Visibility
  1. Public
  2. All

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

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

    Permalink

    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

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

    Permalink

    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

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

    Permalink

    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

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

    Permalink

    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.

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

    Permalink

    Creates a new ObjectProperty.

    Creates a new ObjectProperty.

    initialValue

    the initial value.

  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. def clone(): AnyRef

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

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

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

    Permalink

    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.

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

    Permalink

    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.

  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
    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  22. implicit def sfxObjectProperty2jfx[T](op: ObjectProperty[T]): javafx.beans.property.ObjectProperty[T]

    Permalink

    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.

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped