scalafx.collections

ObservableBuffer

object ObservableBuffer extends SeqFactory[ObservableBuffer]

Companion Object for ObservableBuffer.

Linear Supertypes
SeqFactory[ObservableBuffer], TraversableFactory[ObservableBuffer], GenericSeqCompanion[ObservableBuffer], GenSeqFactory[ObservableBuffer], GenTraversableFactory[ObservableBuffer], GenericCompanion[ObservableBuffer], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. ObservableBuffer
  2. SeqFactory
  3. TraversableFactory
  4. GenericSeqCompanion
  5. GenSeqFactory
  6. GenTraversableFactory
  7. GenericCompanion
  8. AnyRef
  9. Any
Visibility
  1. Public
  2. All

Type Members

  1. case class Add[T](position: Int, added: Traversable[T]) extends Change with Product with Serializable

    Indicates an Addition in an ObservableBuffer.

  2. sealed trait Change extends AnyRef

    Trait that indicates a Change in an ObservableBuffer.

  3. type Coll = scalafx.collections.ObservableBuffer[_]

    Definition Classes
    GenericCompanion
  4. case class Remove[T](position: Int, removed: Traversable[T]) extends Change with Product with Serializable

    Indicates a Removal in an ObservableBuffer.

  5. case class Reorder(start: Int, end: Int, permutation: (Int) ⇒ Int) extends Change with Product with Serializable

    Indicates a Reordering in an ObservableBuffer.

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def apply[T](items: Seq[T]): ObservableBuffer[T]

    Creates a new ObservableBuffer from a sequence of elements.

    Creates a new ObservableBuffer from a sequence of elements.

    items

    Sequence of elements

    returns

    new ObservableBuffer from items

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. implicit def canBuildFrom[T]: CanBuildFrom[Coll, T, ObservableBuffer[T]]

    The standard CanBuildFrom instance for ObservableBuffer objects.

  9. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  10. def concat[T](buffers: ObservableBuffer[T]*): ObservableBuffer[T]

    Concatenates more ObservableBuffer's into one.

    Concatenates more ObservableBuffer's into one.

    buffers

    Buffer to concatenate

  11. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  13. def fillAll[T](buffer: ObservableBuffer[T], obj: T): Unit

    Fills the provided Buffer with obj.

    Fills the provided Buffer with obj. Fires only one change notification on the Buffer.

    buffer

    Buffer to Fill

    obj

    the object to fill the Buffer with

  14. def finalize(): Unit

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

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

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

    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean

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

    The default builder for ObservableBuffer objects.

    The default builder for ObservableBuffer objects.

    Definition Classes
    ObservableBuffer → GenericCompanion
  20. final def notify(): Unit

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

    Definition Classes
    AnyRef
  22. implicit def observableBuffer2ObservableList[T](ob: ObservableBuffer[T]): ObservableList[T]

    Extracts an ObservableList from an ObservableBuffer.

    Extracts an ObservableList from an ObservableBuffer.

    ob

    ObservableBuffer

  23. def revertBuffer[T](buffer: ObservableBuffer[T]): Unit

    Revert the order in the ObservableBuffer.

    Revert the order in the ObservableBuffer. Fires only one change notification on the list.

    Implementation note: This method uses reverse method from javafx.collections.FXCollections. It is not called reverse to not confuse with method with same name from scala.collection.mutable.Buffer

    buffer

    Buffer to be reverted.

  24. def rotate[T](buffer: ObservableBuffer[T], distance: Int): Unit

    Rotates the Buffer by distance.

    Rotates the Buffer by distance. Fires only one change notification on the Buffer.

    buffer

    the Buffer to be rotated

    distance

    the distance of rotation

  25. def shuffle[T](buffer: ObservableBuffer[T], rnd: Random): Unit

    Shuffles all elements in the ObservableBuffer.

    Shuffles all elements in the ObservableBuffer. Fires only one change notification on the Buffer.

    buffer

    Buffer to be shuffled

    rnd

    the random generator used for shuffling

  26. def shuffle[T](buffer: ObservableBuffer[T]): Unit

    Shuffles all elements in the ObservableBuffer.

    Shuffles all elements in the ObservableBuffer. Fires only one change notification on the Buffer.

    buffer

    Buffer to be shuffled

  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  28. def toString(): String

    Definition Classes
    AnyRef → Any
  29. def unapplySeq[A](x: ObservableBuffer[A]): Some[ObservableBuffer[A]]

    Definition Classes
    GenSeqFactory
  30. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from SeqFactory[ObservableBuffer]

Inherited from TraversableFactory[ObservableBuffer]

Inherited from GenericSeqCompanion[ObservableBuffer]

Inherited from GenSeqFactory[ObservableBuffer]

Inherited from GenTraversableFactory[ObservableBuffer]

Inherited from GenericCompanion[ObservableBuffer]

Inherited from AnyRef

Inherited from Any