scalafx.collections

ObservableFloatArray

object ObservableFloatArray extends ObservableArrayCompanionBase[Float, ObservableFloatArray, javafx.collections.ObservableFloatArray]

Companion Object for scalafx.collections.ObservableFloatArray.

Source
ObservableFloatArray.scala
Linear Supertypes
ObservableArrayCompanionBase[Float, ObservableFloatArray, javafx.collections.ObservableFloatArray], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ObservableFloatArray
  2. ObservableArrayCompanionBase
  3. AnyRef
  4. 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(v: Float*): ObservableFloatArray

    Create new ObservableArray from a vararg list.

    Create new ObservableArray from a vararg list.

    v

    Value varargs.

    returns

    New ObservableArray storing v

    Definition Classes
    ObservableFloatArray → ObservableArrayCompanionBase
  7. def apply(a: Array[Float]): ObservableFloatArray

    Create new ObservableArray from an existing array.

    Create new ObservableArray from an existing array.

    a

    Array to be converted..

    returns

    New ObservableArray storing a.

    Definition Classes
    ObservableArrayCompanionBase
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def empty(): ObservableFloatArray

    Return an empty ObservableArray

    Return an empty ObservableArray

    returns

    New empty ObservableArray

    Definition Classes
    ObservableArrayCompanionBase
  11. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  13. def fill(n: Int)(elem: ⇒ Float): ObservableFloatArray

    Returns an observable array containing the results of some element computation.

    Returns an observable array containing the results of some element computation.

    Note that elem is computed n times in total; it is not simply calculated once and reused.

    n

    Size of the new array. If this value is less than 1, an empty array is returned (matching the behavior of Scala's Array[T].fill function).

    elem

    Computation to be calculated for each element.

    returns

    Observable array of size n, with each element containing the result of computation elem.

    Definition Classes
    ObservableArrayCompanionBase
  14. def finalize(): Unit

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

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

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

    Definition Classes
    Any
  18. def iterate(start: Float, n: Int)(f: (Float) ⇒ Float): ObservableFloatArray

    Return an array returning repeated applications of a function to a start value.

    Return an array returning repeated applications of a function to a start value.

    start

    Start value of the array.

    n

    Size of the new array. If this value is less than 1, an empty array is returned (matching the behavior of Scala's Array[T].iterate function).

    f

    Function to be repeatedly applied to previous element's value.

    returns

    Array containing elements start, f(start), f(f(start)), ....

    Definition Classes
    ObservableArrayCompanionBase
  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. def ofDim(n: Int): ObservableFloatArray

    Create an observable array with given dimension.

    Create an observable array with given dimension.

    n

    Size of the new array. This value cannot be negative.

    returns

    An observable array with the specified dimension and zeroed elements.

    Definition Classes
    ObservableArrayCompanionBase
    Exceptions thrown
    NegativeArraySizeException

    if n is negative.

  23. implicit def sfxObservableArray2jfxObservableArray(oa: ObservableFloatArray): javafx.collections.ObservableFloatArray

    Extract a JavaFX ObservableArray from a ScalaFX ObservableArray.

    Extract a JavaFX ObservableArray from a ScalaFX ObservableArray.

    oa

    ScalaFX ObservableArray.

    returns

    JavaFX ObservableArray inside parameter.

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

    Definition Classes
    AnyRef
  25. def tabulate(n: Int)(f: (Int) ⇒ Float): ObservableFloatArray

    Returns an array containing the results of some element computation that takes the element index as an argument.

    Returns an array containing the results of some element computation that takes the element index as an argument.

    n

    Size of the new array. If this value is less than 1, an empty array is returned (matching the behavior of Scala's Array[T].tabulate function).

    f

    Function to be used to initialize element whose index is passed as an argument.

    returns

    Observable array of size n, with each element initialized by f.

    Definition Classes
    ObservableArrayCompanionBase
  26. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ObservableArrayCompanionBase[Float, ObservableFloatArray, javafx.collections.ObservableFloatArray]

Inherited from AnyRef

Inherited from Any

Ungrouped