Packages

p

scalafx

collections

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

Package Members

  1. package transformation

Type Members

  1. trait CollectionIncludes extends TransformationIncludes

    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 Builder[V, T] with Observable with SFXDelegate[D]

    Abstract ObservableArray base class.

  3. class ObservableBuffer[T] extends AbstractBuffer[T] with IndexedBuffer[T] with IndexedSeqOps[T, ObservableBuffer, ObservableBuffer[T]] with StrictOptimizedSeqOps[T, ObservableBuffer, ObservableBuffer[T]] with IterableFactoryDefaults[T, ObservableBuffer] with Observable with SFXDelegate[ObservableList[T]]

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

    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]

    Wrapper class to JavaFX's ObservableFloatArray.

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

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

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

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

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

    Wrapper class to JavaFX's ObservableIntegerArray.

  9. trait ObservableMap[K, V] extends Map[K, V] with MapOps[K, V, Map, ObservableMap[K, V]] with StrictOptimizedIterableOps[(K, V), Iterable, ObservableMap[K, V]] with MapFactoryDefaults[K, V, ObservableMap, Iterable] with Observable with SFXDelegate[javafx.collections.ObservableMap[K, V]]

    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 AbstractSet[T] with Observable with SFXDelegate[javafx.collections.ObservableSet[T]]

    Wrapper class to JavaFX's ObservableSet .

    Wrapper class to JavaFX's ObservableSet .

    T

    Type of this Set

Value Members

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

    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

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

    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.

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

    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

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

    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.

  5. object CollectionIncludes extends CollectionIncludes
  6. object ObservableArray

    Companion Object for scalafx.collections.ObservableArray.

  7. object ObservableBuffer extends StrictOptimizedSeqFactory[ObservableBuffer]

    Companion Object for scalafx.collections.ObservableBuffer.

  8. object ObservableBufferBase
  9. object ObservableFloatArray extends ObservableArrayCompanionBase[Float, ObservableFloatArray, javafx.collections.ObservableFloatArray]

    Companion Object for scalafx.collections.ObservableFloatArray.

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

    Companion Object for scalafx.collections.ObservableIntegerArray.

  11. object ObservableMap extends MapFactory[ObservableMap]

    Companion Object for scalafx.collections.ObservableMap.

  12. object ObservableSet extends IterableFactory[ObservableSet]

    Companion Object for scalafx.collections.ObservableSet.

Inherited from AnyRef

Inherited from Any

Ungrouped