scalafx.collections

ObservableBuffer

Related Docs: object ObservableBuffer | package collections

class ObservableBuffer[T] extends Buffer[T] with BufferLike[T, ObservableBuffer[T]] with GenericTraversableTemplate[T, ObservableBuffer] with Builder[T, ObservableBuffer[T]] with Observable with SFXDelegate[ObservableList[T]]

Wrapper class to JavaFX's ObservableList.

T

Type of this Buffer

Source
ObservableBuffer.scala
Linear Supertypes
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ObservableBuffer
  2. Observable
  3. SFXDelegate
  4. Builder
  5. Buffer
  6. BufferLike
  7. Subtractable
  8. Scriptable
  9. Shrinkable
  10. Growable
  11. Clearable
  12. Seq
  13. SeqLike
  14. Cloneable
  15. Cloneable
  16. Cloneable
  17. Seq
  18. SeqLike
  19. GenSeq
  20. GenSeqLike
  21. PartialFunction
  22. Function1
  23. Iterable
  24. Iterable
  25. IterableLike
  26. Equals
  27. GenIterable
  28. GenIterableLike
  29. Traversable
  30. Mutable
  31. Traversable
  32. GenTraversable
  33. GenericTraversableTemplate
  34. TraversableLike
  35. GenTraversableLike
  36. Parallelizable
  37. TraversableOnce
  38. GenTraversableOnce
  39. FilterMonadic
  40. HasNewBuilder
  41. AnyRef
  42. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ObservableBuffer(delegate: ObservableList[T] = ...)

Type Members

  1. type Self = ObservableBuffer[T]

    Attributes
    protected[this]
    Definition Classes
    TraversableLike
  2. class WithFilter extends FilterMonadic[A, Repr]

    Definition Classes
    TraversableLike

Value Members

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

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

    Definition Classes
    AnyRef → Any
  3. def ++(xs: GenTraversableOnce[T]): ObservableBuffer[T]

    Creates a new ObservableBuffer containing both the elements of this Buffer and the provided traversable object.

    Creates a new ObservableBuffer containing both the elements of this Buffer and the provided traversable object. Overridden method to make it behave like a wrapped ObservableList. The new ObservableBuffer won't have Change and Invalidation Listeners from original Buffer.

    xs

    The traversable object.

    returns

    A new ObservableBuffer consisting of all the elements of this Buffer and xs. The new ObservableBuffer won't have Change and Invalidation Listeners from original Buffer.

    Definition Classes
    ObservableBuffer → BufferLike
  4. def ++[B >: T, That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[ObservableBuffer[T], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
  5. def ++:[B >: T, That](that: Traversable[B])(implicit bf: CanBuildFrom[ObservableBuffer[T], B, That]): That

    Definition Classes
    TraversableLike
  6. def ++:[B >: T, That](that: TraversableOnce[B])(implicit bf: CanBuildFrom[ObservableBuffer[T], B, That]): That

    Definition Classes
    TraversableLike
  7. def ++=(xs: TraversableOnce[T]): ObservableBuffer.this.type

    Adds all elements produced by a TraversableOnce to this ObservableBuffer.

    Adds all elements produced by a TraversableOnce to this ObservableBuffer. Overridden method to make it behave like a wrapped ObservableList.

    xs

    traversable object.

    returns

    The ObservableBuffer itself.

    Definition Classes
    ObservableBuffer → Growable
  8. def ++=:(xs: TraversableOnce[T]): ObservableBuffer.this.type

    Definition Classes
    BufferLike
  9. def +:[B >: T, That](elem: B)(implicit bf: CanBuildFrom[ObservableBuffer[T], B, That]): That

    Definition Classes
    SeqLike → GenSeqLike
  10. def +=(elem1: T, elem2: T, elems: T*): ObservableBuffer.this.type

    Appends two or more elements to this ObservableBuffer.

    Appends two or more elements to this ObservableBuffer. Overridden method to make it behave like a wrapped ObservableList.

    elem1

    First element to add

    elem2

    Second element to add

    elems

    Other elements to add

    returns

    The ObservableBuffer itself.

    Definition Classes
    ObservableBuffer → Growable
  11. def +=(elem: T): ObservableBuffer.this.type

    Appends a single element to this ObservableBuffer.

    Appends a single element to this ObservableBuffer. Overridden method to make it behave like a wrapped ObservableList.

    elem

    the element to add.

    returns

    The ObservableBuffer itself.

    Definition Classes
    ObservableBuffer → Builder → BufferLike → Growable
  12. def +=:(elem: T): ObservableBuffer.this.type

    Prepends a single element to this buffer.

    Prepends a single element to this buffer. Overridden method to make it behave like a wrapped ObservableList.

    elem

    Element to prepend

    returns

    The ObservableBuffer itself.

    Definition Classes
    ObservableBuffer → BufferLike
  13. def -(elem1: T, elem2: T, elems: T*): ObservableBuffer[T]

    Creates a new collection with all the elements of this collection except the two or more specified elements.

    Creates a new collection with all the elements of this collection except the two or more specified elements. The new ObservableBuffer won't have Change and Invalidation Listeners from original Buffer.

    elem1

    First element to remove

    elem2

    Second element to remove

    elems

    Other elements to remove

    returns

    a new ObservableBuffer consisting of all the elements of this Buffer except elem1, elem2 and those in elems. The new ObservableBuffer won't have Change and Invalidation Listeners from original Buffer.

    Definition Classes
    ObservableBuffer → BufferLike → Subtractable
  14. def -(elem: T): ObservableBuffer[T]

    Creates a new ObservableBuffer with all the elements of this collection except elem.

    Creates a new ObservableBuffer with all the elements of this collection except elem. The new ObservableBuffer won't have Change and Invalidation Listeners from original Buffer.

    elem

    Element to remove

    returns

    A new ObservableBuffer consisting of all the elements of this Buffer except elem. The new ObservableBuffer won't have Change and Invalidation Listeners from original Buffer.

    Definition Classes
    ObservableBuffer → BufferLike → Subtractable
  15. def --(xs: GenTraversableOnce[T]): ObservableBuffer[T]

    Creates a new ObservableBuffer with all the elements of this Buffer except those provided by the specified traversable object.

    Creates a new ObservableBuffer with all the elements of this Buffer except those provided by the specified traversable object. The new ObservableBuffer won't have Change and Invalidation Listeners from original Buffer.

    xs

    The traversable object.

    returns

    A new ObservableBuffer with all the elements of this Buffer except those in xs. The new ObservableBuffer won't have Change and Invalidation Listeners from original Buffer.

    Definition Classes
    ObservableBuffer → BufferLike → Subtractable
  16. def --=(xs: TraversableOnce[T]): ObservableBuffer.this.type

    Removes all elements produced by an iterator from this buffer.

    Removes all elements produced by an iterator from this buffer.

    xs

    the traversable object with elements to remove.

    returns

    The ObservableBuffer itself.

    Definition Classes
    ObservableBuffer → Shrinkable
  17. def -=(elem1: T, elem2: T, elems: T*): ObservableBuffer.this.type

    Removes two or more elements from this ObservableBuffer.

    Removes two or more elements from this ObservableBuffer.

    elem1

    First element to remove

    elem2

    Second element to remove

    elems

    Other elements to remove

    returns

    The ObservableBuffer itself.

    Definition Classes
    ObservableBuffer → Shrinkable
  18. def -=(x: T): ObservableBuffer.this.type

    Definition Classes
    BufferLike → Shrinkable
  19. def /:[B](z: B)(op: (B, T) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  20. def :+[B >: T, That](elem: B)(implicit bf: CanBuildFrom[ObservableBuffer[T], B, That]): That

    Definition Classes
    SeqLike → GenSeqLike
  21. def :+=(elem: T): ObservableBuffer[T]

    Appends a single element to this buffer.

    Appends a single element to this buffer. Overridden method to make it behave like a wrapped ObservableList.

    elem

    Element to append

    returns

    The ObservableBuffer itself.

  22. def :\[B](z: B)(op: (T, B) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  23. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  24. def addString(b: StringBuilder): StringBuilder

    Definition Classes
    TraversableOnce
  25. def addString(b: StringBuilder, sep: String): StringBuilder

    Definition Classes
    TraversableOnce
  26. def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder

    Definition Classes
    TraversableOnce
  27. def aggregate[B](z: ⇒ B)(seqop: (B, T) ⇒ B, combop: (B, B) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  28. def andThen[C](k: (T) ⇒ C): PartialFunction[Int, C]

    Definition Classes
    PartialFunction → Function1
  29. def append(elems: T*): Unit

    Definition Classes
    BufferLike
  30. def appendAll(xs: TraversableOnce[T]): Unit

    Definition Classes
    BufferLike
  31. def apply(n: Int): T

    Selects an element by its index in the buffer.

    Selects an element by its index in the buffer.

    n

    index

    returns

    Element at position n

    Definition Classes
    ObservableBuffer → BufferLike → SeqLike → GenSeqLike → Function1
  32. def applyOrElse[A1 <: Int, B1 >: T](x: A1, default: (A1) ⇒ B1): B1

    Definition Classes
    PartialFunction
  33. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  34. def canEqual(that: Any): Boolean

    Definition Classes
    IterableLike → Equals
  35. def clear(): Unit

    Clears the ObservableBuffer's contents.

    Clears the ObservableBuffer's contents. After this operation, the Buffer is empty.

    Definition Classes
    ObservableBuffer → Builder → BufferLike → Growable → Clearable
  36. def clone(): ObservableBuffer[T]

    Definition Classes
    BufferLike → Cloneable → AnyRef
  37. def collect[B, That](pf: PartialFunction[T, B])(implicit bf: CanBuildFrom[ObservableBuffer[T], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
  38. def collectFirst[B](pf: PartialFunction[T, B]): Option[B]

    Definition Classes
    TraversableOnce
  39. def combinations(n: Int): Iterator[ObservableBuffer[T]]

    Definition Classes
    SeqLike
  40. def companion: GenericCompanion[ObservableBuffer]

    The factory companion object that builds instances of class ObservableBuffer.

    The factory companion object that builds instances of class ObservableBuffer.

    Definition Classes
    ObservableBuffer → Buffer → Seq → Seq → GenSeq → Iterable → Iterable → GenIterable → Traversable → Traversable → GenTraversable → GenericTraversableTemplate
  41. def compose[A](g: (A) ⇒ Int): (A) ⇒ T

    Definition Classes
    Function1
    Annotations
    @unspecialized()
  42. def contains[A1 >: T](elem: A1): Boolean

    Definition Classes
    SeqLike
  43. def containsSlice[B](that: GenSeq[B]): Boolean

    Definition Classes
    SeqLike
  44. def copyToArray[B >: T](xs: Array[B], start: Int, len: Int): Unit

    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  45. def copyToArray[B >: T](xs: Array[B]): Unit

    Definition Classes
    TraversableOnce → GenTraversableOnce
  46. def copyToArray[B >: T](xs: Array[B], start: Int): Unit

    Definition Classes
    TraversableOnce → GenTraversableOnce
  47. def copyToBuffer[B >: T](dest: Buffer[B]): Unit

    Definition Classes
    TraversableOnce
  48. def corresponds[B](that: GenSeq[B])(p: (T, B) ⇒ Boolean): Boolean

    Definition Classes
    SeqLike → GenSeqLike
  49. def count(p: (T) ⇒ Boolean): Int

    Definition Classes
    TraversableOnce → GenTraversableOnce
  50. val delegate: ObservableList[T]

    JavaFX object to be wrapped.

    JavaFX object to be wrapped.

    Definition Classes
    ObservableBufferSFXDelegate
  51. def diff[B >: T](that: GenSeq[B]): ObservableBuffer[T]

    Definition Classes
    SeqLike → GenSeqLike
  52. def distinct: ObservableBuffer[T]

    Definition Classes
    SeqLike → GenSeqLike
  53. def drop(n: Int): ObservableBuffer[T]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  54. def dropRight(n: Int): ObservableBuffer[T]

    Definition Classes
    IterableLike
  55. def dropWhile(p: (T) ⇒ Boolean): ObservableBuffer[T]

    Definition Classes
    TraversableLike → GenTraversableLike
  56. def endsWith[B](that: GenSeq[B]): Boolean

    Definition Classes
    SeqLike → GenSeqLike
  57. final def eq(arg0: AnyRef): Boolean

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

    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
  59. def exists(p: (T) ⇒ Boolean): Boolean

    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  60. def filter(p: (T) ⇒ Boolean): ObservableBuffer[T]

    Definition Classes
    TraversableLike → GenTraversableLike
  61. def filterNot(p: (T) ⇒ Boolean): ObservableBuffer[T]

    Definition Classes
    TraversableLike → GenTraversableLike
  62. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  63. def find(p: (T) ⇒ Boolean): Option[T]

    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  64. def flatMap[B, That](f: (T) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[ObservableBuffer[T], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  65. def flatten[B](implicit asTraversable: (T) ⇒ GenTraversableOnce[B]): ObservableBuffer[B]

    Definition Classes
    GenericTraversableTemplate
  66. def fold[A1 >: T](z: A1)(op: (A1, A1) ⇒ A1): A1

    Definition Classes
    TraversableOnce → GenTraversableOnce
  67. def foldLeft[B](z: B)(op: (B, T) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  68. def foldRight[B](z: B)(op: (T, B) ⇒ B): B

    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  69. def forall(p: (T) ⇒ Boolean): Boolean

    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  70. def foreach[U](f: (T) ⇒ U): Unit

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce → FilterMonadic
  71. def genericBuilder[B]: Builder[B, ObservableBuffer[B]]

    Definition Classes
    GenericTraversableTemplate
  72. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  73. def groupBy[K](f: (T) ⇒ K): Map[K, ObservableBuffer[T]]

    Definition Classes
    TraversableLike → GenTraversableLike
  74. def grouped(size: Int): Iterator[ObservableBuffer[T]]

    Definition Classes
    IterableLike
  75. def hasDefiniteSize: Boolean

    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  76. def hashCode(): Int

    returns

    The delegate hashcode

    Definition Classes
    SFXDelegate → AnyRef → Any
  77. def head: T

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  78. def headOption: Option[T]

    Definition Classes
    TraversableLike → GenTraversableLike
  79. def indexOf[B >: T](elem: B, from: Int): Int

    Definition Classes
    GenSeqLike
  80. def indexOf[B >: T](elem: B): Int

    Definition Classes
    GenSeqLike
  81. def indexOfSlice[B >: T](that: GenSeq[B], from: Int): Int

    Definition Classes
    SeqLike
  82. def indexOfSlice[B >: T](that: GenSeq[B]): Int

    Definition Classes
    SeqLike
  83. def indexWhere(p: (T) ⇒ Boolean, from: Int): Int

    Definition Classes
    SeqLike → GenSeqLike
  84. def indexWhere(p: (T) ⇒ Boolean): Int

    Definition Classes
    GenSeqLike
  85. def indices: Range

    Definition Classes
    SeqLike
  86. def init: ObservableBuffer[T]

    Definition Classes
    TraversableLike → GenTraversableLike
  87. def inits: Iterator[ObservableBuffer[T]]

    Definition Classes
    TraversableLike
  88. def insert(n: Int, elems: T*): Unit

    Definition Classes
    BufferLike
  89. def insertAll(n: Int, elems: Traversable[T]): Unit

    Inserts new elements at a given index into this Buffer.

    Inserts new elements at a given index into this Buffer.

    n

    the index where new elements are inserted.

    elems

    the traversable collection containing the elements to insert.

    Definition Classes
    ObservableBuffer → BufferLike
  90. def intersect[B >: T](that: GenSeq[B]): ObservableBuffer[T]

    Definition Classes
    SeqLike → GenSeqLike
  91. def isDefinedAt(idx: Int): Boolean

    Definition Classes
    GenSeqLike
  92. def isEmpty: Boolean

    Definition Classes
    SeqLike → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  93. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  94. final def isTraversableAgain: Boolean

    Definition Classes
    TraversableLike → GenTraversableLike → GenTraversableOnce
  95. def iterator: Iterator[T]

    Creates a new Iterator.

    Creates a new Iterator.

    Definition Classes
    ObservableBuffer → IterableLike → GenIterableLike
  96. def last: T

    Definition Classes
    TraversableLike → GenTraversableLike
  97. def lastIndexOf[B >: T](elem: B, end: Int): Int

    Definition Classes
    GenSeqLike
  98. def lastIndexOf[B >: T](elem: B): Int

    Definition Classes
    GenSeqLike
  99. def lastIndexOfSlice[B >: T](that: GenSeq[B], end: Int): Int

    Definition Classes
    SeqLike
  100. def lastIndexOfSlice[B >: T](that: GenSeq[B]): Int

    Definition Classes
    SeqLike
  101. def lastIndexWhere(p: (T) ⇒ Boolean, end: Int): Int

    Definition Classes
    SeqLike → GenSeqLike
  102. def lastIndexWhere(p: (T) ⇒ Boolean): Int

    Definition Classes
    GenSeqLike
  103. def lastOption: Option[T]

    Definition Classes
    TraversableLike → GenTraversableLike
  104. def length: Int

    Length of this ObservableBuffer.

    Length of this ObservableBuffer.

    Definition Classes
    ObservableBuffer → BufferLike → SeqLike → GenSeqLike
  105. def lengthCompare(len: Int): Int

    Definition Classes
    SeqLike
  106. def lift: (Int) ⇒ Option[T]

    Definition Classes
    PartialFunction
  107. def map[B, That](f: (T) ⇒ B)(implicit bf: CanBuildFrom[ObservableBuffer[T], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  108. def mapResult[NewTo](f: (ObservableBuffer[T]) ⇒ NewTo): Builder[T, NewTo]

    Definition Classes
    Builder
  109. def max[B >: T](implicit cmp: Ordering[B]): T

    Definition Classes
    TraversableOnce → GenTraversableOnce
  110. def maxBy[B](f: (T) ⇒ B)(implicit cmp: Ordering[B]): T

    Definition Classes
    TraversableOnce → GenTraversableOnce
  111. def min[B >: T](implicit cmp: Ordering[B]): T

    Definition Classes
    TraversableOnce → GenTraversableOnce
  112. def minBy[B](f: (T) ⇒ B)(implicit cmp: Ordering[B]): T

    Definition Classes
    TraversableOnce → GenTraversableOnce
  113. def mkString: String

    Definition Classes
    TraversableOnce → GenTraversableOnce
  114. def mkString(sep: String): String

    Definition Classes
    TraversableOnce → GenTraversableOnce
  115. def mkString(start: String, sep: String, end: String): String

    Definition Classes
    TraversableOnce → GenTraversableOnce
  116. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  117. def newBuilder: Builder[T, ObservableBuffer[T]]

    Attributes
    protected[this]
    Definition Classes
    GenericTraversableTemplate → HasNewBuilder
  118. def nonEmpty: Boolean

    Definition Classes
    TraversableOnce → GenTraversableOnce
  119. final def notify(): Unit

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

    Definition Classes
    AnyRef
  121. def onChange[T1 >: T](op: ⇒ Unit): Subscription

    Add a listener function to list's changes.

    Add a listener function to list's changes. This function will not handle this buffer's modifications data.

    op

    No-argument function to be activated when some change in this ObservableBuffer was made.

    returns

    A subscription object

  122. def onChange[T1 >: T](op: (ObservableBuffer[T], Seq[Change]) ⇒ Unit): Subscription

    Add a listener function to list's changes.

    Add a listener function to list's changes. This function will handle this buffer's modifications data.

    op

    Function that will handle this ObservableBuffer's modifications data to be activated when some change was made.

    returns

    A subscription object

  123. def onInvalidate(op: ⇒ Unit): Subscription

    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
  124. def onInvalidate(op: (Observable) ⇒ Unit): Subscription

    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
  125. def orElse[A1 <: Int, B1 >: T](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]

    Definition Classes
    PartialFunction
  126. def padTo[B >: T, That](len: Int, elem: B)(implicit bf: CanBuildFrom[ObservableBuffer[T], B, That]): That

    Definition Classes
    SeqLike → GenSeqLike
  127. def par: ParSeq[T]

    Definition Classes
    Parallelizable
  128. def parCombiner: Combiner[T, ParSeq[T]]

    Attributes
    protected[this]
    Definition Classes
    SeqLike → SeqLike → TraversableLike → Parallelizable
  129. def partition(p: (T) ⇒ Boolean): (ObservableBuffer[T], ObservableBuffer[T])

    Definition Classes
    TraversableLike → GenTraversableLike
  130. def patch[B >: T, That](from: Int, patch: GenSeq[B], replaced: Int)(implicit bf: CanBuildFrom[ObservableBuffer[T], B, That]): That

    Definition Classes
    SeqLike → GenSeqLike
  131. def permutations: Iterator[ObservableBuffer[T]]

    Definition Classes
    SeqLike
  132. def prefixLength(p: (T) ⇒ Boolean): Int

    Definition Classes
    GenSeqLike
  133. def prepend(elems: T*): Unit

    Definition Classes
    BufferLike
  134. def prependAll(xs: TraversableOnce[T]): Unit

    Definition Classes
    BufferLike
  135. def product[B >: T](implicit num: Numeric[B]): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  136. def reduce[A1 >: T](op: (A1, A1) ⇒ A1): A1

    Definition Classes
    TraversableOnce → GenTraversableOnce
  137. def reduceLeft[B >: T](op: (B, T) ⇒ B): B

    Definition Classes
    TraversableOnce
  138. def reduceLeftOption[B >: T](op: (B, T) ⇒ B): Option[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  139. def reduceOption[A1 >: T](op: (A1, A1) ⇒ A1): Option[A1]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  140. def reduceRight[B >: T](op: (T, B) ⇒ B): B

    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  141. def reduceRightOption[B >: T](op: (T, B) ⇒ B): Option[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  142. def remove(n: Int, count: Int): Unit

    Removes a number of elements from a given index position.

    Removes a number of elements from a given index position. Overridden method to make it behave like a wrapped ObservableList.

    Note: This method conflicts with method with same signature in ObservableList. There the arguments indicate a range of index of elements to be removed. Here the arguments indicate the first index of range and the quantity of elements to be removed. If you want a functionality equivalent to JavaFX ObservableList, use removeRange.

    n

    the index which refers to the first element to remove.

    count

    the number of elements to remove.

    Definition Classes
    ObservableBuffer → BufferLike
  143. def remove(n: Int): T

    Removes the element at a given index from this ObservableBuffer.

    Removes the element at a given index from this ObservableBuffer.

    n

    index the index of the element to be removed

    returns

    Removed element

    Definition Classes
    ObservableBuffer → BufferLike
  144. def removeRange(from: Int, to: Int): Unit

    Remove a range of elements.

    Remove a range of elements. Use this method if you want a functionality such as the method with same signature in ObservableList.

    from

    the start of the range to remove (inclusive)

    to

    the end of the range to remove (exclusive)

  145. def replaceAll(oldVal: T, newVal: T): Boolean

    Replace all oldVal elements in the list with newVal element.

    Replace all oldVal elements in the list with newVal element. Fires only one change notification on the list.

    oldVal

    The element that is going to be replace

    newVal

    The replacement

    returns

    true if the list was modified

  146. def repr: ObservableBuffer[T]

    Definition Classes
    TraversableLike → GenTraversableLike
  147. def result(): ObservableBuffer[T]

    Produces an ObservableBuffer from the added elements.

    Produces an ObservableBuffer from the added elements.

    Definition Classes
    ObservableBuffer → Builder
  148. def retainAll(elems: Iterable[T]): Unit

    Retains only the elements in this list that are contained in the specified collection.

    Retains only the elements in this list that are contained in the specified collection. In other words, removes from this list all the elements that are not contained in the specified collection.

    elems

    the traversable collection containing elements to be retained in this list

  149. def retainAll(elems: T*): Unit

    Retains only the elements in this list that are contained in the specified collection.

    Retains only the elements in this list that are contained in the specified collection. In other words, removes from this list all the elements that are not contained in the specified collection.

    elems

    the traversable collection containing elements to be retained in this list

  150. def reverse: ObservableBuffer[T]

    Definition Classes
    SeqLike → GenSeqLike
  151. def reverseIterator: Iterator[T]

    Definition Classes
    SeqLike
  152. def reverseMap[B, That](f: (T) ⇒ B)(implicit bf: CanBuildFrom[ObservableBuffer[T], B, That]): That

    Definition Classes
    SeqLike → GenSeqLike
  153. def reversed: List[T]

    Attributes
    protected[this]
    Definition Classes
    TraversableOnce
  154. def runWith[U](action: (T) ⇒ U): (Int) ⇒ Boolean

    Definition Classes
    PartialFunction
  155. def sameElements[B >: T](that: GenIterable[B]): Boolean

    Definition Classes
    IterableLike → GenIterableLike
  156. def scan[B >: T, That](z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[ObservableBuffer[T], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
  157. def scanLeft[B, That](z: B)(op: (B, T) ⇒ B)(implicit bf: CanBuildFrom[ObservableBuffer[T], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
  158. def scanRight[B, That](z: B)(op: (T, B) ⇒ B)(implicit bf: CanBuildFrom[ObservableBuffer[T], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) The behavior of scanRight has changed. The previous behavior can be reproduced with scanRight.reverse.

  159. def segmentLength(p: (T) ⇒ Boolean, from: Int): Int

    Definition Classes
    SeqLike → GenSeqLike
  160. def seq: Seq[T]

    Definition Classes
    Seq → Seq → GenSeq → GenSeqLike → Iterable → Iterable → GenIterable → Traversable → Traversable → GenTraversable → Parallelizable → TraversableOnce → GenTraversableOnce
  161. def size: Int

    Definition Classes
    SeqLike → GenTraversableLike → TraversableOnce → GenTraversableOnce
  162. def sizeHint(coll: TraversableLike[_, _], delta: Int): Unit

    Definition Classes
    Builder
  163. def sizeHint(coll: TraversableLike[_, _]): Unit

    Definition Classes
    Builder
  164. def sizeHint(size: Int): Unit

    Definition Classes
    Builder
  165. def sizeHintBounded(size: Int, boundingColl: TraversableLike[_, _]): Unit

    Definition Classes
    Builder
  166. def slice(from: Int, until: Int): ObservableBuffer[T]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  167. def sliding(size: Int, step: Int): Iterator[ObservableBuffer[T]]

    Definition Classes
    IterableLike
  168. def sliding(size: Int): Iterator[ObservableBuffer[T]]

    Definition Classes
    IterableLike
  169. def sort(lt: (T, T) ⇒ Boolean): Unit

    Sorts this ObservableBuffer using a Comparator function

    Sorts this ObservableBuffer using a Comparator function

    lt

    Comparator function that returns true if first element was lesser than second or false otherwise.

  170. def sort()(implicit typeTag: scala.reflect.api.JavaUniverse.WeakTypeTag[T]): Unit

    Sorts this ObservableBuffer if its type's natural ordering.

    Sorts this ObservableBuffer if its type's natural ordering. This type must be a java.util.Comparable subclass. Otherwise it will throws a IllegalStateException.

    typeTag

    information about if this type is a Comparable subclass or not.

  171. def sortBy[B](f: (T) ⇒ B)(implicit ord: Ordering[B]): ObservableBuffer[T]

    Definition Classes
    SeqLike
  172. def sortWith(lt: (T, T) ⇒ Boolean): ObservableBuffer[T]

    Definition Classes
    SeqLike
  173. def sorted[B >: T](implicit ord: Ordering[B]): ObservableBuffer[T]

    Definition Classes
    SeqLike
  174. def span(p: (T) ⇒ Boolean): (ObservableBuffer[T], ObservableBuffer[T])

    Definition Classes
    TraversableLike → GenTraversableLike
  175. def splitAt(n: Int): (ObservableBuffer[T], ObservableBuffer[T])

    Definition Classes
    TraversableLike → GenTraversableLike
  176. def startsWith[B](that: GenSeq[B], offset: Int): Boolean

    Definition Classes
    SeqLike → GenSeqLike
  177. def startsWith[B](that: GenSeq[B]): Boolean

    Definition Classes
    GenSeqLike
  178. def stringPrefix: String

    Definition Classes
    BufferLike → TraversableLike → GenTraversableLike
  179. def sum[B >: T](implicit num: Numeric[B]): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  180. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  181. def tail: ObservableBuffer[T]

    Definition Classes
    TraversableLike → GenTraversableLike
  182. def tails: Iterator[ObservableBuffer[T]]

    Definition Classes
    TraversableLike
  183. def take(n: Int): ObservableBuffer[T]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  184. def takeRight(n: Int): ObservableBuffer[T]

    Definition Classes
    IterableLike
  185. def takeWhile(p: (T) ⇒ Boolean): ObservableBuffer[T]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  186. def thisCollection: Seq[T]

    Attributes
    protected[this]
    Definition Classes
    SeqLike → IterableLike → TraversableLike
  187. def to[Col[_]](implicit cbf: CanBuildFrom[Nothing, T, Col[T]]): Col[T]

    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  188. def toArray[B >: T](implicit arg0: ClassTag[B]): Array[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  189. def toBuffer[B >: T]: Buffer[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  190. def toCollection(repr: ObservableBuffer[T]): Seq[T]

    Attributes
    protected[this]
    Definition Classes
    SeqLike → IterableLike → TraversableLike
  191. def toIndexedSeq: IndexedSeq[T]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  192. def toIterable: Iterable[T]

    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  193. def toIterator: Iterator[T]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  194. def toList: List[T]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  195. def toMap[T, U](implicit ev: <:<[T, (T, U)]): Map[T, U]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  196. def toSeq: Seq[T]

    Definition Classes
    SeqLike → GenSeqLike → TraversableOnce → GenTraversableOnce
  197. def toSet[B >: T]: Set[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  198. def toStream: Stream[T]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
  199. def toString(): String

    returns

    Returns the original delegate's toString() adding a [SFX] prefix.

    Definition Classes
    SFXDelegate → AnyRef → Any
  200. def toTraversable: Traversable[T]

    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  201. def toVector: Vector[T]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  202. def transform(f: (T) ⇒ T): ObservableBuffer.this.type

    Definition Classes
    SeqLike
  203. def transpose[B](implicit asTraversable: (T) ⇒ GenTraversableOnce[B]): ObservableBuffer[ObservableBuffer[B]]

    Definition Classes
    GenericTraversableTemplate
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) transpose throws an IllegalArgumentException if collections are not uniformly sized.

  204. def trimEnd(n: Int): Unit

    Definition Classes
    BufferLike
  205. def trimStart(n: Int): Unit

    Definition Classes
    BufferLike
  206. def union[B >: T, That](that: GenSeq[B])(implicit bf: CanBuildFrom[ObservableBuffer[T], B, That]): That

    Definition Classes
    SeqLike → GenSeqLike
  207. def unzip[A1, A2](implicit asPair: (T) ⇒ (A1, A2)): (ObservableBuffer[A1], ObservableBuffer[A2])

    Definition Classes
    GenericTraversableTemplate
  208. def unzip3[A1, A2, A3](implicit asTriple: (T) ⇒ (A1, A2, A3)): (ObservableBuffer[A1], ObservableBuffer[A2], ObservableBuffer[A3])

    Definition Classes
    GenericTraversableTemplate
  209. def update(n: Int, newelem: T): Unit

    Replaces element at given index with a new value.

    Replaces element at given index with a new value.

    n

    the index of the element to replace.

    newelem

    new value to be positioned at position n.

    Definition Classes
    ObservableBuffer → BufferLike → SeqLike
  210. def updated[B >: T, That](index: Int, elem: B)(implicit bf: CanBuildFrom[ObservableBuffer[T], B, That]): That

    Definition Classes
    SeqLike → GenSeqLike
  211. def view(from: Int, until: Int): SeqView[T, ObservableBuffer[T]]

    Definition Classes
    SeqLike → IterableLike → TraversableLike
  212. def view: SeqView[T, ObservableBuffer[T]]

    Definition Classes
    SeqLike → IterableLike → TraversableLike
  213. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  216. def withFilter(p: (T) ⇒ Boolean): FilterMonadic[T, ObservableBuffer[T]]

    Definition Classes
    TraversableLike → FilterMonadic
  217. def zip[A1 >: T, B, That](that: GenIterable[B])(implicit bf: CanBuildFrom[ObservableBuffer[T], (A1, B), That]): That

    Definition Classes
    IterableLike → GenIterableLike
  218. def zipAll[B, A1 >: T, That](that: GenIterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[ObservableBuffer[T], (A1, B), That]): That

    Definition Classes
    IterableLike → GenIterableLike
  219. def zipWithIndex[A1 >: T, That](implicit bf: CanBuildFrom[ObservableBuffer[T], (A1, Int), That]): That

    Definition Classes
    IterableLike → GenIterableLike

Deprecated Value Members

  1. def <<(cmd: Message[T]): Unit

    Definition Classes
    BufferLike → Scriptable
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.0) Scripting is deprecated.

  2. def readOnly: Seq[T]

    Definition Classes
    BufferLike
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.0) The returned sequence changes as this buffer is mutated. For an immutable copy, use, e.g., toList.

Inherited from Observable

Inherited from SFXDelegate[ObservableList[T]]

Inherited from Builder[T, ObservableBuffer[T]]

Inherited from Buffer[T]

Inherited from BufferLike[T, ObservableBuffer[T]]

Inherited from Subtractable[T, ObservableBuffer[T]]

Inherited from Scriptable[T]

Inherited from Shrinkable[T]

Inherited from Growable[T]

Inherited from Clearable

Inherited from Seq[T]

Inherited from SeqLike[T, ObservableBuffer[T]]

Inherited from Cloneable[ObservableBuffer[T]]

Inherited from Cloneable

Inherited from Cloneable

Inherited from Seq[T]

Inherited from SeqLike[T, ObservableBuffer[T]]

Inherited from GenSeq[T]

Inherited from GenSeqLike[T, ObservableBuffer[T]]

Inherited from PartialFunction[Int, T]

Inherited from (Int) ⇒ T

Inherited from Iterable[T]

Inherited from Iterable[T]

Inherited from IterableLike[T, ObservableBuffer[T]]

Inherited from Equals

Inherited from GenIterable[T]

Inherited from GenIterableLike[T, ObservableBuffer[T]]

Inherited from Traversable[T]

Inherited from Mutable

Inherited from Traversable[T]

Inherited from GenTraversable[T]

Inherited from TraversableLike[T, ObservableBuffer[T]]

Inherited from GenTraversableLike[T, ObservableBuffer[T]]

Inherited from Parallelizable[T, ParSeq[T]]

Inherited from TraversableOnce[T]

Inherited from GenTraversableOnce[T]

Inherited from FilterMonadic[T, ObservableBuffer[T]]

Inherited from HasNewBuilder[T, ObservableBuffer[T]]

Inherited from AnyRef

Inherited from Any

Ungrouped