Class/Object

scalafx.collections.transformation

SortedBuffer

Related Docs: object SortedBuffer | package transformation

Permalink

class SortedBuffer[E] extends TransformationBuffer[E, E] with SFXDelegate[SortedList[E]]

Wraps a JavaFX SortedList.

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

Instance Constructors

  1. new SortedBuffer(source: ObservableBuffer[E], lessThan: Function2[_ >: E, _ >: E, Boolean])

    Permalink
  2. new SortedBuffer(source: ObservableBuffer[E], ordering: Ordering[_ >: E])

    Permalink

    Constructs a new unordered SortedList wrapper around the source list.

    Constructs a new unordered SortedList wrapper around the source list.

    source

    the source list.

  3. new SortedBuffer(source: ObservableBuffer[E])

    Permalink

    Constructs a new unordered SortedList wrapper around the source list.

    Constructs a new unordered SortedList wrapper around the source list.

    source

    the source list.

  4. new SortedBuffer(delegate: SortedList[E])

    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]): SortedBuffer.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]): SortedBuffer.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*): SortedBuffer.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): SortedBuffer.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): SortedBuffer.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]): SortedBuffer.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*): SortedBuffer.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): SortedBuffer.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 comparator: ObjectProperty[Comparator[_ >: E]]

    Permalink

    The comparator that denotes the order of this SortedList.

  42. def comparator_[T >: E](lessThan: (T, T) ⇒ Boolean): Unit

    Permalink

    Creates and align new comparator value using provided comparison function lessThan.

    Creates and align new comparator value using provided comparison function lessThan.

    lessThan

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

  43. def comparator_=(v: Ordering[_ >: E]): Unit

    Permalink
  44. def compose[A](g: (A) ⇒ Int): (A) ⇒ E

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  53. val delegate: SortedList[E]

    Permalink

    JavaFX object to be wrapped.

    JavaFX object to be wrapped.

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  61. 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
  62. def exists(p: (E) ⇒ Boolean): Boolean

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    TransformationBuffer
  77. def getSourceIndexFor(buffer: ObservableBuffer[E], index: Int): Int

    Permalink

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

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

    Definition Classes
    TransformationBuffer
  78. def groupBy[K](f: (E) ⇒ K): Map[K, ObservableBuffer[E]]

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

    Permalink
    Definition Classes
    IterableLike
  80. def hasDefiniteSize: Boolean

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

    Permalink

    returns

    The delegate hashcode

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    GenSeqLike
  90. def indices: Range

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

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

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

    Permalink
    Definition Classes
    BufferLike
  94. 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
  95. def intersect[B >: E](that: GenSeq[B]): ObservableBuffer[E]

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

    Permalink
    Definition Classes
    GenSeqLike
  97. def isEmpty: Boolean

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

    Permalink

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

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

    Definition Classes
    TransformationBuffer
  99. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  100. final def isTraversableAgain: Boolean

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

    Permalink

    Creates a new Iterator.

    Creates a new Iterator.

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

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

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

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

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

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

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

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

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

    Permalink

    Length of this ObservableBuffer.

    Length of this ObservableBuffer.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  127. 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
  128. 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
  129. 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
  130. 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
  131. def orElse[A1 <: Int, B1 >: E](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]

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

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

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

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

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  136. 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
  137. def permutations: Iterator[ObservableBuffer[E]]

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  148. 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
  149. 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
  150. 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
  151. 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
  152. def repr: ObservableBuffer[E]

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

    Permalink

    Produces an ObservableBuffer from the added elements.

    Produces an ObservableBuffer from the added elements.

    Definition Classes
    ObservableBuffer → Builder
  154. 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
  155. 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
  156. def reverse: ObservableBuffer[E]

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  164. 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.

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    IterableLike
  175. 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
  176. 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
  177. def sortBy[B](f: (E) ⇒ B)(implicit ord: Ordering[B]): ObservableBuffer[E]

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

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

    Permalink
    Definition Classes
    SeqLike
  180. def source: ObservableBuffer[_ <: E]

    Permalink

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

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

    Definition Classes
    TransformationBuffer
  181. def span(p: (E) ⇒ Boolean): (ObservableBuffer[E], ObservableBuffer[E])

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

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

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

    Permalink
    Definition Classes
    GenSeqLike
  185. def stringPrefix: String

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink

    returns

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

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

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

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

    Permalink
    Definition Classes
    SeqLike
  210. 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.

  211. def trimEnd(n: Int): Unit

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

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

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

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

    Permalink
    Definition Classes
    GenericTraversableTemplate
  216. 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
  217. def updated[B >: E, That](index: Int, elem: B)(implicit bf: CanBuildFrom[ObservableBuffer[E], B, That]): That

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    IterableLike → GenIterableLike
  225. 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
  226. 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 TransformationBuffer[E, E]

Inherited from ObservableBufferBase[E]

Inherited from ObservableBuffer[E]

Inherited from Observable

Inherited from SFXDelegate[SortedList[E]]

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