Class/Object

scalafx.collections.transformation

TransformationBuffer

Related Docs: object TransformationBuffer | package transformation

Permalink

abstract class TransformationBuffer[E, F] extends ObservableBufferBase[E] with SFXDelegate[TransformationList[E, F]]

A base class for all buffers that wraps other buffers in a way that changes the buffer's elements, order, size or generally it's structure. If the source list is observable, a listener is automatically added to it and the events are delegated.

Wraps a JavaFX TransformationList.

E

- the type parameter of this buffer.

F

- the upper bound of the type of the source buffer.

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

Instance Constructors

  1. new TransformationBuffer(delegate: TransformationList[E, F])

    Permalink

Type Members

  1. type Self = ObservableBuffer[E]

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

    Permalink
    Definition Classes
    TraversableLike

Value Members

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

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

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

    Permalink

    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 >: E, That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[ObservableBuffer[E], B, That]): That

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

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

    Permalink
    Definition Classes
    TraversableLike
  7. def ++=(xs: TraversableOnce[E]): TransformationBuffer.this.type

    Permalink

    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[E]): TransformationBuffer.this.type

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

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

    Permalink

    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: E): TransformationBuffer.this.type

    Permalink

    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: E): TransformationBuffer.this.type

    Permalink

    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: E, elem2: E, elems: E*): ObservableBuffer[E]

    Permalink

    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: E): ObservableBuffer[E]

    Permalink

    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[E]): ObservableBuffer[E]

    Permalink

    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[E]): TransformationBuffer.this.type

    Permalink

    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: E, elem2: E, elems: E*): TransformationBuffer.this.type

    Permalink

    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: E): TransformationBuffer.this.type

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

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

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

    Permalink

    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.

    Definition Classes
    ObservableBuffer
  22. def :\[B](z: B)(op: (E, B) ⇒ B): B

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

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

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

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

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

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

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

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

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

    Permalink

    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 >: E](x: A1, default: (A1) ⇒ B1): B1

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

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

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

    Permalink

    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[E]

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

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

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

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

    Permalink

    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) ⇒ E

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  50. val delegate: TransformationList[E, F]

    Permalink

    JavaFX object to be wrapped.

    JavaFX object to be wrapped.

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

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

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

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

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

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

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

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

    Permalink

    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: (E) ⇒ Boolean): Boolean

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  73. def getSourceIndex(index: Int): Int

    Permalink

    Maps the index of this buffer's element to an index in the direct source buffer.

    Maps the index of this buffer's element to an index in the direct source buffer.

    index

    the index in this buffer

    returns

    the index of the element's origin in the source buffer.

  74. def getSourceIndexFor(buffer: ObservableBuffer[E], index: Int): Int

    Permalink

    Maps the index of this list's element to an index of the provided list.

  75. def groupBy[K](f: (E) ⇒ K): Map[K, ObservableBuffer[E]]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  76. def grouped(size: Int): Iterator[ObservableBuffer[E]]

    Permalink
    Definition Classes
    IterableLike
  77. def hasDefiniteSize: Boolean

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

    Permalink

    returns

    The delegate hashcode

    Definition Classes
    SFXDelegate → AnyRef → Any
  79. def head: E

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  80. def headOption: Option[E]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  81. def indexOf[B >: E](elem: B, from: Int): Int

    Permalink
    Definition Classes
    GenSeqLike
  82. def indexOf[B >: E](elem: B): Int

    Permalink
    Definition Classes
    GenSeqLike
  83. def indexOfSlice[B >: E](that: GenSeq[B], from: Int): Int

    Permalink
    Definition Classes
    SeqLike
  84. def indexOfSlice[B >: E](that: GenSeq[B]): Int

    Permalink
    Definition Classes
    SeqLike
  85. def indexWhere(p: (E) ⇒ Boolean, from: Int): Int

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  86. def indexWhere(p: (E) ⇒ Boolean): Int

    Permalink
    Definition Classes
    GenSeqLike
  87. def indices: Range

    Permalink
    Definition Classes
    SeqLike
  88. def init: ObservableBuffer[E]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  89. def inits: Iterator[ObservableBuffer[E]]

    Permalink
    Definition Classes
    TraversableLike
  90. def insert(n: Int, elems: E*): Unit

    Permalink
    Definition Classes
    BufferLike
  91. def insertAll(n: Int, elems: Traversable[E]): Unit

    Permalink

    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
  92. def intersect[B >: E](that: GenSeq[B]): ObservableBuffer[E]

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

    Permalink
    Definition Classes
    GenSeqLike
  94. def isEmpty: Boolean

    Permalink
    Definition Classes
    SeqLike → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  95. def isInTransformationChain(buffer: ObservableBuffer[_]): Boolean

    Permalink

    Checks whether the provided list is in the chain under this TransformationList.

  96. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  97. final def isTraversableAgain: Boolean

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike → GenTraversableOnce
  98. def iterator: Iterator[E]

    Permalink

    Creates a new Iterator.

    Creates a new Iterator.

    Definition Classes
    ObservableBuffer → IterableLike → GenIterableLike
  99. def last: E

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  100. def lastIndexOf[B >: E](elem: B, end: Int): Int

    Permalink
    Definition Classes
    GenSeqLike
  101. def lastIndexOf[B >: E](elem: B): Int

    Permalink
    Definition Classes
    GenSeqLike
  102. def lastIndexOfSlice[B >: E](that: GenSeq[B], end: Int): Int

    Permalink
    Definition Classes
    SeqLike
  103. def lastIndexOfSlice[B >: E](that: GenSeq[B]): Int

    Permalink
    Definition Classes
    SeqLike
  104. def lastIndexWhere(p: (E) ⇒ Boolean, end: Int): Int

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  105. def lastIndexWhere(p: (E) ⇒ Boolean): Int

    Permalink
    Definition Classes
    GenSeqLike
  106. def lastOption: Option[E]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  107. def length: Int

    Permalink

    Length of this ObservableBuffer.

    Length of this ObservableBuffer.

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

    Permalink
    Definition Classes
    SeqLike
  109. def lift: (Int) ⇒ Option[E]

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

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

    Permalink
    Definition Classes
    Builder
  112. def max[B >: E](implicit cmp: Ordering[B]): E

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  113. def maxBy[B](f: (E) ⇒ B)(implicit cmp: Ordering[B]): E

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  114. def min[B >: E](implicit cmp: Ordering[B]): E

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  115. def minBy[B](f: (E) ⇒ B)(implicit cmp: Ordering[B]): E

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  116. def mkString: String

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

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

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

    Permalink
    Definition Classes
    AnyRef
  120. def newBuilder: Builder[E, ObservableBuffer[E]]

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

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

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

    Permalink
    Definition Classes
    AnyRef
  124. def onChange[T1 >: E](op: ⇒ Unit): Subscription

    Permalink

    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

    Definition Classes
    ObservableBuffer
  125. def onChange[T1 >: E](op: (ObservableBuffer[E], Seq[Change[T1]]) ⇒ Unit): Subscription

    Permalink

    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

    Definition Classes
    ObservableBuffer
  126. def onInvalidate(op: ⇒ Unit): Subscription

    Permalink

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

    Permalink

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

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

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  130. def par: ParSeq[E]

    Permalink
    Definition Classes
    Parallelizable
  131. def parCombiner: Combiner[E, ParSeq[E]]

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

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

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  134. def permutations: Iterator[ObservableBuffer[E]]

    Permalink
    Definition Classes
    SeqLike
  135. def prefixLength(p: (E) ⇒ Boolean): Int

    Permalink
    Definition Classes
    GenSeqLike
  136. def prepend(elems: E*): Unit

    Permalink
    Definition Classes
    BufferLike
  137. def prependAll(xs: TraversableOnce[E]): Unit

    Permalink
    Definition Classes
    BufferLike
  138. def product[B >: E](implicit num: Numeric[B]): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  139. def reduce[A1 >: E](op: (A1, A1) ⇒ A1): A1

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  140. def reduceLeft[B >: E](op: (B, E) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce
  141. def reduceLeftOption[B >: E](op: (B, E) ⇒ B): Option[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  142. def reduceOption[A1 >: E](op: (A1, A1) ⇒ A1): Option[A1]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  143. def reduceRight[B >: E](op: (E, B) ⇒ B): B

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

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

    Permalink

    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
  146. def remove(n: Int): E

    Permalink

    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
  147. def removeRange(from: Int, to: Int): Unit

    Permalink

    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)

    Definition Classes
    ObservableBuffer
  148. def replaceAll(oldVal: E, newVal: E): Boolean

    Permalink

    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

    Definition Classes
    ObservableBuffer
  149. def repr: ObservableBuffer[E]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  150. def result(): ObservableBuffer[E]

    Permalink

    Produces an ObservableBuffer from the added elements.

    Produces an ObservableBuffer from the added elements.

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

    Permalink

    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

    Definition Classes
    ObservableBuffer
  152. def retainAll(elems: E*): Unit

    Permalink

    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

    Definition Classes
    ObservableBuffer
  153. def reverse: ObservableBuffer[E]

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  154. def reverseIterator: Iterator[E]

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

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  156. def reversed: List[E]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    TraversableOnce
  157. def runWith[U](action: (E) ⇒ U): (Int) ⇒ Boolean

    Permalink
    Definition Classes
    PartialFunction
  158. def sameElements[B >: E](that: GenIterable[B]): Boolean

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

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

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

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

  162. def segmentLength(p: (E) ⇒ Boolean, from: Int): Int

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  163. def seq: Seq[E]

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

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

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

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

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

    Permalink
    Definition Classes
    Builder
  169. def slice(from: Int, until: Int): ObservableBuffer[E]

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

    Permalink
    Definition Classes
    IterableLike
  171. def sliding(size: Int): Iterator[ObservableBuffer[E]]

    Permalink
    Definition Classes
    IterableLike
  172. def sort(lt: (E, E) ⇒ Boolean): Unit

    Permalink

    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.

    Definition Classes
    ObservableBuffer
  173. def sort()(implicit typeTag: scala.reflect.api.JavaUniverse.WeakTypeTag[E]): Unit

    Permalink

    Sorts this ObservableBuffer if its type implements natural ordering.

    Sorts this ObservableBuffer if its type implements 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.

    Definition Classes
    ObservableBuffer
  174. def sortBy[B](f: (E) ⇒ B)(implicit ord: Ordering[B]): ObservableBuffer[E]

    Permalink
    Definition Classes
    SeqLike
  175. def sortWith(lt: (E, E) ⇒ Boolean): ObservableBuffer[E]

    Permalink
    Definition Classes
    SeqLike
  176. def sorted[B >: E](implicit ord: Ordering[B]): ObservableBuffer[E]

    Permalink
    Definition Classes
    SeqLike
  177. def source: ObservableBuffer[_ <: F]

    Permalink

    The source list specified in the constructor of this transformation list.

  178. def span(p: (E) ⇒ Boolean): (ObservableBuffer[E], ObservableBuffer[E])

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  179. def splitAt(n: Int): (ObservableBuffer[E], ObservableBuffer[E])

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

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

    Permalink
    Definition Classes
    GenSeqLike
  182. def stringPrefix: String

    Permalink
    Definition Classes
    BufferLike → TraversableLike → GenTraversableLike
  183. def sum[B >: E](implicit num: Numeric[B]): B

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

    Permalink
    Definition Classes
    AnyRef
  185. def tail: ObservableBuffer[E]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  186. def tails: Iterator[ObservableBuffer[E]]

    Permalink
    Definition Classes
    TraversableLike
  187. def take(n: Int): ObservableBuffer[E]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  188. def takeRight(n: Int): ObservableBuffer[E]

    Permalink
    Definition Classes
    IterableLike
  189. def takeWhile(p: (E) ⇒ Boolean): ObservableBuffer[E]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  190. def thisCollection: Seq[E]

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

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

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  193. def toBuffer[B >: E]: Buffer[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  194. def toCollection(repr: ObservableBuffer[E]): Seq[E]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    SeqLike → IterableLike → TraversableLike
  195. def toIndexedSeq: IndexedSeq[E]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  196. def toIterable: Iterable[E]

    Permalink
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  197. def toIterator: Iterator[E]

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

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

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  200. def toSeq: Seq[E]

    Permalink
    Definition Classes
    SeqLike → GenSeqLike → TraversableOnce → GenTraversableOnce
  201. def toSet[B >: E]: Set[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  202. def toStream: Stream[E]

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

    Permalink

    returns

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

    Definition Classes
    SFXDelegate → AnyRef → Any
  204. def toTraversable: Traversable[E]

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

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  206. def transform(f: (E) ⇒ E): TransformationBuffer.this.type

    Permalink
    Definition Classes
    SeqLike
  207. def transpose[B](implicit asTraversable: (E) ⇒ GenTraversableOnce[B]): ObservableBuffer[ObservableBuffer[B]]

    Permalink
    Definition Classes
    GenericTraversableTemplate
    Annotations
    @migration
    Migration

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

  208. def trimEnd(n: Int): Unit

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

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

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

    Permalink
    Definition Classes
    GenericTraversableTemplate
  212. def unzip3[A1, A2, A3](implicit asTriple: (E) ⇒ (A1, A2, A3)): (ObservableBuffer[A1], ObservableBuffer[A2], ObservableBuffer[A3])

    Permalink
    Definition Classes
    GenericTraversableTemplate
  213. def update(n: Int, newelem: E): Unit

    Permalink

    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
  214. def updated[B >: E, That](index: Int, elem: B)(implicit bf: CanBuildFrom[ObservableBuffer[E], B, That]): That

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  215. def view(from: Int, until: Int): SeqView[E, ObservableBuffer[E]]

    Permalink
    Definition Classes
    SeqLike → IterableLike → TraversableLike
  216. def view: SeqView[E, ObservableBuffer[E]]

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    IterableLike → GenIterableLike

Deprecated Value Members

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

    Permalink
    Definition Classes
    BufferLike → Scriptable
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.0) Scripting is deprecated.

  2. def readOnly: Seq[E]

    Permalink
    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 ObservableBufferBase[E]

Inherited from ObservableBuffer[E]

Inherited from Observable

Inherited from SFXDelegate[TransformationList[E, F]]

Inherited from Builder[E, ObservableBuffer[E]]

Inherited from Buffer[E]

Inherited from BufferLike[E, ObservableBuffer[E]]

Inherited from Subtractable[E, ObservableBuffer[E]]

Inherited from Scriptable[E]

Inherited from Shrinkable[E]

Inherited from Growable[E]

Inherited from Clearable

Inherited from Seq[E]

Inherited from SeqLike[E, ObservableBuffer[E]]

Inherited from Cloneable[ObservableBuffer[E]]

Inherited from Cloneable

Inherited from Cloneable

Inherited from Seq[E]

Inherited from SeqLike[E, ObservableBuffer[E]]

Inherited from GenSeq[E]

Inherited from GenSeqLike[E, ObservableBuffer[E]]

Inherited from PartialFunction[Int, E]

Inherited from (Int) ⇒ E

Inherited from Iterable[E]

Inherited from Iterable[E]

Inherited from IterableLike[E, ObservableBuffer[E]]

Inherited from Equals

Inherited from GenIterable[E]

Inherited from GenIterableLike[E, ObservableBuffer[E]]

Inherited from Traversable[E]

Inherited from Mutable

Inherited from Traversable[E]

Inherited from GenTraversable[E]

Inherited from TraversableLike[E, ObservableBuffer[E]]

Inherited from GenTraversableLike[E, ObservableBuffer[E]]

Inherited from Parallelizable[E, ParSeq[E]]

Inherited from TraversableOnce[E]

Inherited from GenTraversableOnce[E]

Inherited from FilterMonadic[E, ObservableBuffer[E]]

Inherited from HasNewBuilder[E, ObservableBuffer[E]]

Inherited from AnyRef

Inherited from Any

Ungrouped