TransformationBuffer

scalafx.collections.transformation.TransformationBuffer
See theTransformationBuffer companion object
abstract class TransformationBuffer[E, F](val delegate: TransformationList[E, F]) extends ObservableBufferBase[E], 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.

Type parameters

E
  • the type parameter of this buffer.
F
  • the upper bound of the type of the source buffer.

Attributes

Companion
object
Graph
Supertypes
class ObservableBuffer[E]
trait Observable
trait SFXDelegate[TransformationList[E, F]]
trait IndexedBuffer[E]
trait IndexedSeq[E]
trait IndexedSeq[E]
class AbstractBuffer[E]
trait Buffer[E]
trait Shrinkable[E]
trait Growable[E]
trait Clearable
class AbstractSeq[E]
trait Seq[E]
trait Cloneable
trait Iterable[E]
class AbstractSeq[E]
trait Seq[E]
trait Equals
trait PartialFunction[Int, E]
trait Int => E
class AbstractIterable[E]
trait Iterable[E]
trait IterableOnce[E]
class Object
trait Matchable
class Any
Show all
Known subtypes
class FilteredBuffer[E]
class SortedBuffer[E]

Members list

Value members

Concrete methods

def getSourceIndex(index: Int): Int

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.

Value parameters

index

the index in this buffer

Attributes

Returns

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

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

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.

Attributes

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

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

Attributes

def source: ObservableBuffer[_ <: F]

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

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

Attributes

Inherited methods

final def ++[B >: E](suffix: IterableOnce[B]): CC[B]

Attributes

Inherited from:
IterableOps
final override def ++:[B >: E](prefix: IterableOnce[B]): CC[B]

Attributes

Definition Classes
Inherited from:
SeqOps
final def ++=(xs: IterableOnce[E]): Growable.this.type

Attributes

Inherited from:
Growable
final def ++=:(elems: IterableOnce[E]): Buffer.this.type

Attributes

Inherited from:
Buffer
final def +:[B >: E](elem: B): CC[B]

Attributes

Inherited from:
SeqOps
final def +=(elem: E): Growable.this.type

Attributes

Inherited from:
Growable
final def +=:(elem: E): Buffer.this.type

Attributes

Inherited from:
Buffer
def -(elem: E): ObservableBuffer[T]

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.

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.

Value parameters

elem

Element to remove

Attributes

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.

Inherited from:
ObservableBuffer
def --(xs: IterableOnce[E]): ObservableBuffer[T]

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

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

Value parameters

xs

The iterable object.

Attributes

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.

Inherited from:
ObservableBuffer
final def --=(xs: IterableOnce[E]): Shrinkable.this.type

Attributes

Inherited from:
Shrinkable
final def -=(elem: E): Shrinkable.this.type

Attributes

Inherited from:
Shrinkable
final def :+[B >: E](elem: B): CC[B]

Attributes

Inherited from:
SeqOps
final def :++[B >: E](suffix: IterableOnce[B]): CC[B]

Attributes

Inherited from:
SeqOps
def addAll(elem: E*): ObservableBuffer.this.type

A convenience method for var-arg addition of elements.

A convenience method for var-arg addition of elements.

Value parameters

elem

elements the elements to add

Attributes

Returns

The ObservableBuffer itself.

Inherited from:
ObservableBuffer
override def addAll(xs: IterableOnce[E]): ObservableBuffer.this.type

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

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

Value parameters

xs

iterable object.

Attributes

Returns

The ObservableBuffer itself.

Definition Classes
Inherited from:
ObservableBuffer
override def addOne(elem: E): ObservableBuffer.this.type

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

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

Value parameters

elem

the element to add.

Attributes

Returns

The ObservableBuffer itself.

Definition Classes
Inherited from:
ObservableBuffer

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
PartialFunction
override def andThen[C](k: E => C): PartialFunction[A, C]

Attributes

Definition Classes
Inherited from:
PartialFunction
final def append(elem: E): Buffer.this.type

Attributes

Inherited from:
Buffer
final def appendAll(xs: IterableOnce[E]): Buffer.this.type

Attributes

Inherited from:
Buffer
override def appended[B >: E](elem: B): CC[B]

Attributes

Definition Classes
Inherited from:
StrictOptimizedSeqOps
override def appendedAll[B >: E](suffix: IterableOnce[B]): CC[B]

Attributes

Definition Classes
Inherited from:
StrictOptimizedSeqOps
override def apply(n: Int): T

Selects an element by its index in the buffer.

Selects an element by its index in the buffer.

Value parameters

n

index

Attributes

Returns

Element at position n

Definition Classes
Inherited from:
ObservableBuffer
def applyOrElse[A1 <: Int, B1 >: E](x: A1, default: A1 => B1): B1

Attributes

Inherited from:
PartialFunction
def canEqual(that: Any): Boolean

Attributes

Inherited from:
Seq
override def clear(): Unit

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

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

Attributes

Definition Classes
Inherited from:
ObservableBuffer
override def clone(): C

Create a copy of the receiver object.

Create a copy of the receiver object.

The default implementation of the clone method is platform dependent.

Attributes

Returns

a copy of the receiver object.

Note

not specified by SLS as a member of AnyRef

Definition Classes
SeqOps -> Cloneable -> Object
Inherited from:
SeqOps
override def collect[B](pf: PartialFunction[E, B]): CC[B]

Attributes

Definition Classes
Inherited from:
StrictOptimizedIterableOps

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
SeqOps

Attributes

Inherited from:
PartialFunction
def compose[A](g: A => Int): A => R

Attributes

Inherited from:
Function1
final override def concat[B >: E](suffix: IterableOnce[B]): CC[B]

Attributes

Definition Classes
Inherited from:
SeqOps
def contains[A1 >: E](elem: A1): Boolean

Attributes

Inherited from:
SeqOps
def containsSlice[B >: E](that: Seq[B]): Boolean

Attributes

Inherited from:
SeqOps
def copyToArray[B >: E](xs: Array[B], start: Int, len: Int): Int

Attributes

Inherited from:
IterableOnceOps
def copyToArray[B >: E](xs: Array[B], start: Int): Int

Attributes

Inherited from:
IterableOnceOps
def copyToArray[B >: E](xs: Array[B]): Int

Attributes

Inherited from:
IterableOnceOps
def corresponds[B](that: IterableOnce[B])(p: (E, B) => Boolean): Boolean

Attributes

Inherited from:
IterableOnceOps
def corresponds[B](that: Seq[B])(p: (E, B) => Boolean): Boolean

Attributes

Inherited from:
SeqOps
def count(p: E => Boolean): Int

Attributes

Inherited from:
IterableOnceOps
override def diff[B >: E](that: Seq[B]): C

Attributes

Definition Classes
Inherited from:
StrictOptimizedSeqOps
def distinct: C

Attributes

Inherited from:
SeqOps
override def distinctBy[B](f: E => B): C

Attributes

Definition Classes
Inherited from:
StrictOptimizedSeqOps
override def drop(n: Int): C

Attributes

Definition Classes
Inherited from:
IndexedSeqOps
def dropInPlace(n: Int): Buffer.this.type

Attributes

Inherited from:
Buffer
override def dropRight(n: Int): C

Attributes

Definition Classes
Inherited from:
StrictOptimizedIterableOps
def dropRightInPlace(n: Int): Buffer.this.type

Attributes

Inherited from:
Buffer
def dropWhile(p: E => Boolean): C

Attributes

Inherited from:
IterableOps
def dropWhileInPlace(p: E => Boolean): Buffer.this.type

Attributes

Inherited from:
Buffer

Attributes

Inherited from:
PartialFunction
override def empty: CC[A]

Attributes

Definition Classes
Inherited from:
IterableFactoryDefaults
def endsWith[B >: E](that: Iterable[B]): Boolean

Attributes

Inherited from:
SeqOps
override def equals(ref: Any): Boolean

Verifies if a object is equals to this delegate.

Verifies if a object is equals to this delegate.

Value parameters

ref

Object to be compared.

Attributes

Returns

if the other object is equals to this delegate or not.

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate
def exists(p: E => Boolean): Boolean

Attributes

Inherited from:
IterableOnceOps
override def filter(pred: E => Boolean): C

Attributes

Definition Classes
Inherited from:
StrictOptimizedIterableOps
def filterInPlace(p: E => Boolean): IndexedBuffer.this.type

Attributes

Inherited from:
IndexedBuffer
override def filterNot(pred: E => Boolean): C

Attributes

Definition Classes
Inherited from:
StrictOptimizedIterableOps
def find(p: E => Boolean): Option[A]

Attributes

Inherited from:
IterableOnceOps
def findLast(p: E => Boolean): Option[A]

Attributes

Inherited from:
SeqOps
override def flatMap[B](f: E => IterableOnce[B]): CC[B]

Attributes

Definition Classes
Inherited from:
StrictOptimizedIterableOps
def flatMapInPlace(f: E => IterableOnce[E]): IndexedBuffer.this.type

Attributes

Inherited from:
IndexedBuffer
override def flatten[B](implicit toIterableOnce: E => IterableOnce[B]): CC[B]

Attributes

Definition Classes
Inherited from:
StrictOptimizedIterableOps
def fold[A1 >: E](z: A1)(op: (A1, A1) => A1): A1

Attributes

Inherited from:
IterableOnceOps
def foldLeft[B](z: B)(op: (B, E) => B): B

Attributes

Inherited from:
IterableOnceOps
override def foldRight[B](z: B)(op: (E, B) => B): B

Attributes

Definition Classes
Inherited from:
IndexedSeqOps
def forall(p: E => Boolean): Boolean

Attributes

Inherited from:
IterableOnceOps
def foreach[U](f: E => U): Unit

Attributes

Inherited from:
IterableOnceOps
protected def fromSpecific(coll: IterableOnce[E]): CC[A]

Attributes

Inherited from:
IterableFactoryDefaults
def groupBy[K](f: E => K): Map[K, C]

Attributes

Inherited from:
IterableOps
def groupMap[K, B](key: E => K)(f: E => B): Map[K, CC[B]]

Attributes

Inherited from:
IterableOps
def groupMapReduce[K, B](key: E => K)(f: E => B)(reduce: (B, B) => B): Map[K, B]

Attributes

Inherited from:
IterableOps
def grouped(size: Int): Iterator[C]

Attributes

Inherited from:
IterableOps
override def hashCode: Int

Attributes

Returns

The delegate hashcode

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate
override def head: A

Attributes

Definition Classes
Inherited from:
IndexedSeqOps
override def headOption: Option[A]

Attributes

Definition Classes
Inherited from:
IndexedSeqOps
def indexOf[B >: E](elem: B): Int

Attributes

Inherited from:
SeqOps
def indexOf[B >: E](elem: B, from: Int): Int

Attributes

Inherited from:
SeqOps
def indexOfSlice[B >: E](that: Seq[B]): Int

Attributes

Inherited from:
SeqOps
def indexOfSlice[B >: E](that: Seq[B], from: Int): Int

Attributes

Inherited from:
SeqOps
def indexWhere(p: E => Boolean): Int

Attributes

Inherited from:
SeqOps
def indexWhere(p: E => Boolean, from: Int): Int

Attributes

Inherited from:
SeqOps
def indices: Range

Attributes

Inherited from:
SeqOps
def init: C

Attributes

Inherited from:
IterableOps
def inits: Iterator[C]

Attributes

Inherited from:
IterableOps
override def insert(idx: Int, elem: E): Unit

Attributes

Definition Classes
Inherited from:
ObservableBuffer
override def insertAll(n: Int, elems: IterableOnce[E]): Unit

Inserts new elements at a given index into this Buffer.

Inserts new elements at a given index into this Buffer.

Value parameters

elems

the iterable collection containing the elements to insert.

n

the index where new elements are inserted.

Attributes

Definition Classes
Inherited from:
ObservableBuffer
override def intersect[B >: E](that: Seq[B]): C

Attributes

Definition Classes
Inherited from:
StrictOptimizedSeqOps

Attributes

Inherited from:
SeqOps
override def isEmpty: Boolean

Attributes

Definition Classes
Inherited from:
SeqOps
override def isTraversableAgain: Boolean

Attributes

Definition Classes
Inherited from:
IterableOps
override def iterator: Iterator[T]

Creates a new `Iterator`.

Creates a new `Iterator`.

Attributes

Definition Classes
Inherited from:
ObservableBuffer
override def knownSize: Int

The number of elements in this collection.

The number of elements in this collection.

Attributes

Definition Classes
Inherited from:
ObservableBuffer
override def last: A

Attributes

Definition Classes
Inherited from:
IndexedSeqOps
def lastIndexOf[B >: E](elem: B, end: Int): Int

Attributes

Inherited from:
SeqOps
def lastIndexOfSlice[B >: E](that: Seq[B]): Int

Attributes

Inherited from:
SeqOps
def lastIndexOfSlice[B >: E](that: Seq[B], end: Int): Int

Attributes

Inherited from:
SeqOps
def lastIndexWhere(p: E => Boolean): Int

Attributes

Inherited from:
SeqOps
def lastIndexWhere(p: E => Boolean, end: Int): Int

Attributes

Inherited from:
SeqOps
def lastOption: Option[A]

Attributes

Inherited from:
IterableOps

Attributes

Inherited from:
Iterable
override def length: Int

Length of this ObservableBuffer.

Length of this ObservableBuffer.

Attributes

Definition Classes
Inherited from:
ObservableBuffer
final override def lengthCompare(that: Iterable[_]): Int

Attributes

Definition Classes
Inherited from:
IndexedSeqOps
final override def lengthCompare(len: Int): Int

Attributes

Definition Classes
Inherited from:
IndexedSeqOps

Attributes

Inherited from:
SeqOps
def lift: A => Option[B]

Attributes

Inherited from:
PartialFunction
override def map[B](f: E => B): CC[B]

Attributes

Definition Classes
Inherited from:
StrictOptimizedIterableOps
def mapInPlace(f: E => E): IndexedSeqOps.this.type

Attributes

Inherited from:
IndexedSeqOps
def max[B >: E](implicit ord: Ordering[B]): A

Attributes

Inherited from:
IterableOnceOps
def maxBy[B](f: E => B)(implicit cmp: Ordering[B]): A

Attributes

Inherited from:
IterableOnceOps
def maxByOption[B](f: E => B)(implicit cmp: Ordering[B]): Option[A]

Attributes

Inherited from:
IterableOnceOps
def maxOption[B >: E](implicit ord: Ordering[B]): Option[A]

Attributes

Inherited from:
IterableOnceOps
def min[B >: E](implicit ord: Ordering[B]): A

Attributes

Inherited from:
IterableOnceOps
def minBy[B](f: E => B)(implicit cmp: Ordering[B]): A

Attributes

Inherited from:
IterableOnceOps
def minByOption[B](f: E => B)(implicit cmp: Ordering[B]): Option[A]

Attributes

Inherited from:
IterableOnceOps
def minOption[B >: E](implicit ord: Ordering[B]): Option[A]

Attributes

Inherited from:
IterableOnceOps
final def mkString: String

Attributes

Inherited from:
IterableOnceOps
final def mkString(sep: String): String

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
IterableOnceOps
protected def newSpecificBuilder: Builder[A, CC[A]]

Attributes

Inherited from:
IterableFactoryDefaults

Attributes

Inherited from:
IterableOnceOps
def onChange[T1 >: E](op: => Unit): Subscription

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

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

Value parameters

op

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

Attributes

Returns

A subscription object

Inherited from:
ObservableBuffer
def onChange[T1 >: E](op: (ObservableBuffer[E], Seq[Change[T1]]) => Unit): Subscription

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

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

Value parameters

op

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

Attributes

Returns

A subscription object

Inherited from:
ObservableBuffer

Adds a no argument function as a JavaFX `InvalidationListener`. This function has no arguments because it will not handle invalidated values.

Adds a no argument function as a JavaFX `InvalidationListener`. This function has no arguments because it will not handle invalidated values.

Value parameters

op

A Function with no arguments. It will be called when value was invalidated.

Attributes

Returns

A new scalafx.event.subscriptions.Subscription to remove JavaFX InvalidationListener.

Inherited from:
Observable

Adds a function as a JavaFX `InvalidationListener`. This function has all arguments from `invalidated` method from InvalidationListener.

Adds a function as a JavaFX `InvalidationListener`. This function has all arguments from `invalidated` method from InvalidationListener.

Value parameters

op

Function that receives a ScalaFX Observable. It will be called when value was invalidated.

Attributes

Returns

A new scalafx.event.subscriptions.Subscription to remove JavaFX InvalidationListener.

Inherited from:
Observable
def orElse[A1 <: Int, B1 >: E](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]

Attributes

Inherited from:
PartialFunction
override def padTo[B >: E](len: Int, elem: B): CC[B]

Attributes

Definition Classes
Inherited from:
StrictOptimizedSeqOps
def padToInPlace(len: Int, elem: E): Buffer.this.type

Attributes

Inherited from:
Buffer
override def partition(p: E => Boolean): (C, C)

Attributes

Definition Classes
Inherited from:
StrictOptimizedIterableOps
override def partitionMap[A1, A2](f: E => Either[A1, A2]): (CC[A1], CC[A2])

Attributes

Definition Classes
Inherited from:
StrictOptimizedIterableOps
def patch[B >: E](from: Int, other: IterableOnce[B], replaced: Int): CC[B]

Attributes

Inherited from:
SeqOps

Attributes

Inherited from:
IndexedBuffer

Attributes

Inherited from:
SeqOps
override def prepend(elem: E): ObservableBuffer.this.type

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

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

Value parameters

elem

Element to prepend

Attributes

Returns

The ObservableBuffer itself.

Definition Classes
Inherited from:
ObservableBuffer
def prependAll(elems: IterableOnce[E]): Buffer.this.type

Attributes

Inherited from:
Buffer
override def prepended[B >: E](elem: B): CC[B]

Attributes

Definition Classes
Inherited from:
StrictOptimizedSeqOps
override def prependedAll[B >: E](prefix: IterableOnce[B]): CC[B]

Attributes

Definition Classes
Inherited from:
StrictOptimizedSeqOps
def product[B >: E](implicit num: Numeric[B]): B

Attributes

Inherited from:
IterableOnceOps
def reduce[B >: E](op: (B, B) => B): B

Attributes

Inherited from:
IterableOnceOps
def reduceLeft[B >: E](op: (B, E) => B): B

Attributes

Inherited from:
IterableOnceOps
def reduceLeftOption[B >: E](op: (B, E) => B): Option[B]

Attributes

Inherited from:
IterableOnceOps
def reduceOption[B >: E](op: (B, B) => B): Option[B]

Attributes

Inherited from:
IterableOnceOps
def reduceRight[B >: E](op: (E, B) => B): B

Attributes

Inherited from:
IterableOnceOps
def reduceRightOption[B >: E](op: (E, B) => B): Option[B]

Attributes

Inherited from:
IterableOnceOps
override def remove(n: Int, count: Int): Unit

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

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.

Value parameters

count

the number of elements to remove.

n

the index which refers to the first element to remove.

Attributes

Definition Classes
Inherited from:
ObservableBuffer
override 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.

Value parameters

n

index the index of the element to be removed

Attributes

Returns

Removed element

Definition Classes
Inherited from:
ObservableBuffer
def removeRange(from: Int, to: Int): Unit

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

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

Value parameters

from

the start of the range to remove (inclusive)

to

the end of the range to remove (exclusive)

Attributes

Inherited from:
ObservableBuffer
def replaceAll(oldVal: E, newVal: E): Boolean

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

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

Value parameters

newVal

The replacement

oldVal

The element that is going to be replace

Attributes

Returns

true if the list was modified

Inherited from:
ObservableBuffer
def retainAll(elems: Iterable[E]): Unit

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.

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.

Value parameters

elems

the iterable collection containing elements to be retained in this list

Attributes

Inherited from:
ObservableBuffer
def retainAll(elems: E*): Unit

Retains only the provided elements. In other words, removes from this list all the elements that are not listed.

Retains only the provided elements. In other words, removes from this list all the elements that are not listed.

Value parameters

elems

the elements to be retained in this list

Attributes

Inherited from:
ObservableBuffer
override def reverse: C

Attributes

Definition Classes
Inherited from:
IndexedSeqOps
override def reverseIterator: Iterator[A]

Attributes

Definition Classes
Inherited from:
IndexedSeqOps
override protected def reversed: Iterable[A]

Attributes

Definition Classes
Inherited from:
IndexedSeqOps
def runWith[U](action: E => U): A => Boolean

Attributes

Inherited from:
PartialFunction

Attributes

Inherited from:
SeqOps

Attributes

Inherited from:
SeqOps

Attributes

Inherited from:
SeqOps

Attributes

Inherited from:
Cloneable
def scan[B >: E](z: B)(op: (B, B) => B): CC[B]

Attributes

Inherited from:
IterableOps
override def scanLeft[B](z: B)(op: (B, E) => B): CC[B]

Attributes

Definition Classes
Inherited from:
StrictOptimizedIterableOps
def scanRight[B](z: B)(op: (E, B) => B): CC[B]

Attributes

Inherited from:
IterableOps
override def search[B >: E](elem: B, from: Int, to: Int)(implicit ord: Ordering[B]): SearchResult

Attributes

Definition Classes
Inherited from:
IndexedSeqOps
override def search[B >: E](elem: B)(implicit ord: Ordering[B]): SearchResult

Attributes

Definition Classes
Inherited from:
IndexedSeqOps
def segmentLength(p: E => Boolean, from: Int): Int

Attributes

Inherited from:
SeqOps
final def segmentLength(p: E => Boolean): Int

Attributes

Inherited from:
SeqOps
final override def size: Int

Attributes

Definition Classes
Inherited from:
SeqOps
final override def sizeCompare(that: Iterable[_]): Int

Attributes

Definition Classes
Inherited from:
SeqOps
final override def sizeCompare(otherSize: Int): Int

Attributes

Definition Classes
Inherited from:
SeqOps
final def sizeIs: SizeCompareOps

Attributes

Inherited from:
IterableOps
override def slice(from: Int, until: Int): C

Attributes

Definition Classes
Inherited from:
IndexedSeqOps
def sliceInPlace(start: Int, end: Int): Buffer.this.type

Attributes

Inherited from:
Buffer

Attributes

Inherited from:
IterableOps
def sliding(size: Int): Iterator[C]

Attributes

Inherited from:
IterableOps
def sort(lt: (E, E) => Boolean): Unit

Sorts this ObservableBuffer using a comparator function using JavaFX FXCollections.sort.

Sorts this ObservableBuffer using a comparator function using JavaFX FXCollections.sort.

It is similar to Scala's sortInPlaceWith(c). It will produce the same result, but may produce different number of change notifications as different sorting algorithms are used.

Value parameters

lt

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

Attributes

Inherited from:
ObservableBuffer
def sort[B >: E]()(implicit ord: Ordering[B]): Unit

Sorts this ObservableBuffer if its type implements "natural ordering" using using JavaFX FXCollections.sort.

Sorts this ObservableBuffer if its type implements "natural ordering" using using JavaFX FXCollections.sort.

It is similar to Scala's sortInPlace(). It will produce the same result, but may produce different number of change notifications as different sorting algorithms are used.

Attributes

Inherited from:
ObservableBuffer
def sortBy[B](f: E => B)(implicit ord: Ordering[B]): C

Attributes

Inherited from:
SeqOps
def sortInPlace[B >: E]()(implicit ord: Ordering[B]): IndexedSeqOps.this.type

Attributes

Inherited from:
IndexedSeqOps
def sortInPlaceBy[B](f: E => B)(implicit ord: Ordering[B]): IndexedSeqOps.this.type

Attributes

Inherited from:
IndexedSeqOps
def sortInPlaceWith(lt: (E, E) => Boolean): IndexedSeqOps.this.type

Attributes

Inherited from:
IndexedSeqOps
def sortWith(lt: (E, E) => Boolean): C

Attributes

Inherited from:
SeqOps
def sorted[B >: E](implicit ord: Ordering[B]): C

Attributes

Inherited from:
SeqOps
override def span(p: E => Boolean): (C, C)

Attributes

Definition Classes
Inherited from:
StrictOptimizedIterableOps
override def splitAt(n: Int): (C, C)

Attributes

Definition Classes
Inherited from:
IterableOps

Attributes

Inherited from:
SeqOps
override def stepper[S <: Stepper[_]](implicit shape: StepperShape[E, S]): S & EfficientSplit

Attributes

Definition Classes
Inherited from:
IndexedSeqOps
override def subtractAll(xs: IterableOnce[E]): ObservableBuffer.this.type

Attributes

Definition Classes
Inherited from:
ObservableBuffer
def subtractOne(x: E): Buffer.this.type

Attributes

Inherited from:
Buffer
def sum[B >: E](implicit num: Numeric[B]): B

Attributes

Inherited from:
IterableOnceOps
def tail: C

Attributes

Inherited from:
IterableOps
def tails: Iterator[C]

Attributes

Inherited from:
IterableOps
override def take(n: Int): C

Attributes

Definition Classes
Inherited from:
IndexedSeqOps
def takeInPlace(n: Int): Buffer.this.type

Attributes

Inherited from:
Buffer
override def takeRight(n: Int): C

Attributes

Definition Classes
Inherited from:
StrictOptimizedIterableOps
def takeRightInPlace(n: Int): Buffer.this.type

Attributes

Inherited from:
Buffer
def takeWhile(p: E => Boolean): C

Attributes

Inherited from:
IterableOps
def takeWhileInPlace(p: E => Boolean): Buffer.this.type

Attributes

Inherited from:
Buffer
override def tapEach[U](f: E => U): C

Attributes

Definition Classes
Inherited from:
StrictOptimizedIterableOps
def to[C1](factory: Factory[E, C1]): C1

Attributes

Inherited from:
IterableOnceOps
def toArray[B >: E : ClassTag]: Array[B]

Attributes

Inherited from:
IterableOnceOps
final def toBuffer[B >: E]: Buffer[B]

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
IterableOnceOps
def toList: List[A]

Attributes

Inherited from:
IterableOnceOps
def toMap[K, V](implicit ev: E <:< (K, V)): Map[K, V]

Attributes

Inherited from:
IterableOnceOps
def toSeq: Seq[A]

Attributes

Inherited from:
IterableOnceOps
def toSet[B >: E]: Set[B]

Attributes

Inherited from:
IterableOnceOps
override def toString: String

Attributes

Returns

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

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate
def toVector: Vector[A]

Attributes

Inherited from:
IterableOnceOps
def transpose[B](implicit asIterable: E => Iterable[B]): CC[CC[B]]

Attributes

Inherited from:
IterableOps
def unapply(a: Int): Option[B]

Attributes

Inherited from:
PartialFunction
override def unzip[A1, A2](implicit asPair: E => (A1, A2)): (CC[A1], CC[A2])

Attributes

Definition Classes
Inherited from:
StrictOptimizedIterableOps
override def unzip3[A1, A2, A3](implicit asTriple: E => (A1, A2, A3)): (CC[A1], CC[A2], CC[A3])

Attributes

Definition Classes
Inherited from:
StrictOptimizedIterableOps
override def update(n: Int, newelem: E): Unit

Replaces element at given index with a new value.

Replaces element at given index with a new value.

Value parameters

n

the index of the element to replace.

newelem

new value to be positioned at position n.

Attributes

Definition Classes
Inherited from:
ObservableBuffer
def updated[B >: E](index: Int, elem: B): CC[B]

Attributes

Inherited from:
SeqOps
override def view: IndexedSeqView[A]

Attributes

Definition Classes
Inherited from:
IndexedSeqOps
def withFilter(p: E => Boolean): WithFilter[A, CC]

Attributes

Inherited from:
IterableOps
override def zip[B](that: IterableOnce[B]): CC[(A, B)]

Attributes

Definition Classes
Inherited from:
StrictOptimizedIterableOps
def zipAll[A1 >: E, B](that: Iterable[B], thisElem: A1, thatElem: B): CC[(A1, B)]

Attributes

Inherited from:
IterableOps
override def zipWithIndex: CC[(A, Int)]

Attributes

Definition Classes
Inherited from:
StrictOptimizedIterableOps

Deprecated and Inherited methods

final def +=(elem1: E, elem2: E, elems: E*): Growable.this.type

Attributes

Deprecated
[Since version 2.13.0] Use `++=` aka `addAll` instead of varargs `+=`; infix operations with an operand of multiple args will be deprecated
Inherited from:
Growable
override def -=(elem1: E, elem2: E, elems: E*): ObservableBuffer.this.type

Removes two or more elements from this ObservableBuffer.

Removes two or more elements from this ObservableBuffer.

Value parameters

elem1

First element to remove

elem2

Second element to remove

elems

Other elements to remove

Attributes

Returns

The ObservableBuffer itself.

Deprecated
true
Definition Classes
Inherited from:
ObservableBuffer
final def /:[B](z: B)(op: (B, E) => B): B

Attributes

Deprecated
[Since version 2.13.0] Use foldLeft instead of /:
Inherited from:
IterableOnceOps
final def :\[B](z: B)(op: (E, B) => B): B

Attributes

Deprecated
[Since version 2.13.0] Use foldRight instead of :\\
Inherited from:
IterableOnceOps
def aggregate[B](z: => B)(seqop: (B, E) => B, combop: (B, B) => B): B

Attributes

Deprecated
[Since version 2.13.0] `aggregate` is not relevant for sequential collections. Use `foldLeft(z)(seqop)` instead.
Inherited from:
IterableOnceOps
final def append(elems: E*): Buffer.this.type

Attributes

Deprecated
[Since version 2.13.0] Use appendAll instead
Inherited from:
Buffer

Attributes

Deprecated
[Since version 2.13.0] Use iterableFactory instead
Inherited from:
IterableOps
final def copyToBuffer[B >: E](dest: Buffer[B]): Unit

Attributes

Deprecated
[Since version 2.13.0] Use `dest ++= coll` instead
Inherited from:
IterableOnceOps

Attributes

Deprecated
[Since version 2.13.0] Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details)
Inherited from:
IterableOnceOps
final def prefixLength(p: E => Boolean): Int

Attributes

Deprecated
[Since version 2.13.0] Use segmentLength instead of prefixLength
Inherited from:
SeqOps
final def prepend(elems: E*): Buffer.this.type

Attributes

Deprecated
[Since version 2.13.0] Use prependAll instead
Inherited from:
Buffer
final def repr: C

Attributes

Deprecated
[Since version 2.13.0] Use coll instead of repr in a collection implementation, use the collection value itself from the outside
Inherited from:
IterableOps
def reverseMap[B](f: E => B): CC[B]

Attributes

Deprecated
[Since version 2.13.0] Use .reverseIterator.map(f).to(...) instead of .reverseMap(f)
Inherited from:
SeqOps
def seq: Iterable.this.type

Attributes

Deprecated
[Since version 2.13.0] Iterable.seq always returns the iterable itself
Inherited from:
Iterable
final def toIterable: Iterable.this.type

Attributes

Deprecated
[Since version 2.13.7] toIterable is internal and will be made protected; its name is similar to `toList` or `toSeq`, but it doesn\'t copy non-immutable collections
Inherited from:
Iterable
final def toIterator: Iterator[A]

Attributes

Deprecated
[Since version 2.13.0] Use .iterator instead of .toIterator
Inherited from:
IterableOnceOps
final def toStream: Stream[A]

Attributes

Deprecated
[Since version 2.13.0] Use .to(LazyList) instead of .toStream
Inherited from:
IterableOnceOps
final def toTraversable: Iterable[A]

Attributes

Deprecated
[Since version 2.13.0] toTraversable is internal and will be made protected; its name is similar to `toList` or `toSeq`, but it doesn\'t copy non-immutable collections
Inherited from:
IterableOps
final def transform(f: E => E): SeqOps.this.type

Attributes

Deprecated
[Since version 2.13.0] Use `mapInPlace` on an `IndexedSeq` instead
Inherited from:
SeqOps
def trimEnd(n: Int): Unit

Attributes

Deprecated
[Since version 2.13.4] use dropRightInPlace instead
Inherited from:
Buffer
def trimStart(n: Int): Unit

Attributes

Deprecated
[Since version 2.13.4] use dropInPlace instead
Inherited from:
Buffer
final def union[B >: E](that: Seq[B]): CC[B]

Attributes

Deprecated
[Since version 2.13.0] Use `concat` instead
Inherited from:
SeqOps
override def view(from: Int, until: Int): IndexedSeqView[A]

Attributes

Deprecated
[Since version 2.13.0] Use .view.slice(from, until) instead of .view(from, until)
Definition Classes
Inherited from:
IndexedSeqOps

Concrete fields

override val delegate: TransformationList[E, F]

JavaFX object to be wrapped.

JavaFX object to be wrapped.

Attributes

Inherited fields

Attributes

Inherited from:
ObservableBuffer