Package

scalafx

collections

Permalink

package collections

Wraps javafx.collections package, adding Scala's collections features to original JavaFX collections.

Source
package.scala
Linear Supertypes
Content Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. collections
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait CollectionIncludes extends TransformationIncludes

    Permalink

    Contains implicit methods to convert from javafx.collections Classes to their ScalaFX counterparts.

  2. abstract class ObservableArray[V, T <: ObservableArray[V, T, D], D <: javafx.collections.ObservableArray[D]] extends ArrayLike[V, T] with Builder[V, T] with Observable with SFXDelegate[D]

    Permalink

    Abstract ObservableArray base class.

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

    Permalink

    Wrapper class to JavaFX's ObservableList.

    Wrapper class to JavaFX's ObservableList.

    T

    Type of this Buffer

  4. abstract class ObservableBufferBase[E] extends ObservableBuffer[E] with SFXDelegate[ObservableListBase[E]]

    Permalink

    There is no need in ScalaFX to use this class.

    There is no need in ScalaFX to use this class. ObservableListBase is really an implementation detail of JavaFX, that is added in ScalaFX as ObservableBufferBase to keep type hierarchies in scalafx.collections.transformation correct. Note that Buffer is used instead of Java List, since it is a closer equivalent to java List than Scala List (Java and Scala List are quite different). There should be bo need to use this class from ScalaFX. On JavaFX side this is an abstract class that serves as a base class for ObservableList implementations that wa added in JavFX 8. In ScalaFX 8 the implementation is actually in ObservableBuffer.

    Wraps a JavaFX ObservableListBase.

    E

    - the type of the elements contained in the List

  5. class ObservableFloatArray extends ObservableArray[Float, ObservableFloatArray, javafx.collections.ObservableFloatArray]

    Permalink

    Wrapper class to JavaFX's ObservableFloatArray.

  6. class ObservableHashMap[K, V] extends ObservableMap[K, V]

    Permalink

    scalafx.collections.ObservableMap implementation backed for a HashMap from Java Collection.

  7. class ObservableHashSet[T] extends ObservableSet[T]

    Permalink

    scalafx.collections.ObservableSet implementation backed for a HashSet from Java Collection.

  8. class ObservableIntegerArray extends ObservableArray[Int, ObservableIntegerArray, javafx.collections.ObservableIntegerArray]

    Permalink

    Wrapper class to JavaFX's ObservableIntegerArray.

  9. trait ObservableMap[K, V] extends Map[K, V] with MapLike[K, V, ObservableMap[K, V]] with Builder[(K, V), ObservableMap[K, V]] with Observable with SFXDelegate[javafx.collections.ObservableMap[K, V]]

    Permalink

    Wrapper class to JavaFX's ObservableMap.

    Wrapper class to JavaFX's ObservableMap.

    K

    Key type

    V

    Value type. returned by observableHashMap method from FXCollections.

  10. trait ObservableSet[T] extends Set[T] with SetLike[T, ObservableSet[T]] with GenericSetTemplate[T, ObservableSet] with Builder[T, ObservableSet[T]] with Observable with SFXDelegate[javafx.collections.ObservableSet[T]]

    Permalink

    Wrapper class to JavaFX's ObservableSet .

    Wrapper class to JavaFX's ObservableSet .

    T

    Type of this Set

Value Members

  1. object CollectionIncludes extends CollectionIncludes

    Permalink
  2. object ObservableArray

    Permalink

    Companion Object for scalafx.collections.ObservableArray.

  3. object ObservableBuffer extends SeqFactory[ObservableBuffer]

    Permalink

    Companion Object for scalafx.collections.ObservableBuffer.

  4. object ObservableBufferBase

    Permalink
  5. object ObservableFloatArray extends ObservableArrayCompanionBase[Float, ObservableFloatArray, javafx.collections.ObservableFloatArray]

    Permalink

    Companion Object for scalafx.collections.ObservableFloatArray.

  6. object ObservableIntegerArray extends ObservableArrayCompanionBase[Int, ObservableIntegerArray, javafx.collections.ObservableIntegerArray]

    Permalink

    Companion Object for scalafx.collections.ObservableIntegerArray.

  7. object ObservableMap extends MutableMapFactory[ObservableMap]

    Permalink

    Companion Object for scalafx.collections.ObservableMap.

  8. object ObservableSet extends MutableSetFactory[ObservableSet]

    Permalink

    Companion Object for scalafx.collections.ObservableSet.

  9. def fillCollection[T](originalList: ObservableList[T], filler: Iterable[T]): Unit

    Permalink

    Inserts all elements from a Iterable in a JavaFX ObservableList, replacing original content.

    Inserts all elements from a Iterable in a JavaFX ObservableList, replacing original content. If this iterable was null, the list will be cleaned.

    T

    Iterable and ObservableList type

    originalList

    List to be filled

    filler

    Iterable which will fill originalList

  10. def fillCollectionWithOne[T](originalList: ObservableList[T], element: T): Unit

    Permalink

    Replaces all content in an ObservableList of type T for a single element.

    Replaces all content in an ObservableList of type T for a single element. If this element was null, the list will be cleaned.

    T

    Element and ObservableList type

    originalList

    List to be filled

    element

    Element which will replace originalList content.

  11. def fillSFXCollection[J <: AnyRef](originalList: ObservableList[J], filler: Iterable[SFXDelegate[J]]): Unit

    Permalink

    Inserts all elements from a Iterable of type SFXDelegate[J] in a JavaFX ObservableList of type J, replacing its original content.

    Inserts all elements from a Iterable of type SFXDelegate[J] in a JavaFX ObservableList of type J, replacing its original content. If this iterable was null, the list will be cleaned.

    J

    Iterable and ObservableList type

    originalList

    List to be filled

    filler

    Iterable which will fill originalList

  12. def fillSFXCollectionWithOne[J <: AnyRef](originalList: ObservableList[J], element: SFXDelegate[J]): Unit

    Permalink

    Replaces all content in an JavaFX ObservableList of type J for a single SFXDelegate[J] element.

    Replaces all content in an JavaFX ObservableList of type J for a single SFXDelegate[J] element. If this element was null, the list will be cleaned.

    J

    Iterable and ObservableList type

    originalList

    List to be filled

    element

    Element which will replace originalList content. Actually, it will used its delegate.

  13. package transformation

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped