scalafx.beans.property

ObjectProperty

Related Docs: class ObjectProperty | package property

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: Any): Boolean

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

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

    Definition Classes
    AnyRef → Any
  4. 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 Issue 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]

    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]

    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]

    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 Issue 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]

    Creates a new ObjectProperty.

    Creates a new ObjectProperty.

    initialValue

    the initial value.

  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def clone(): AnyRef

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

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

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

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

  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

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

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

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

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

    Definition Classes
    AnyRef
  22. 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.

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

    Definition Classes
    AnyRef
  24. def toString(): String

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped