scalafx

collections

package collections

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

Visibility
  1. Public
  2. All

Type Members

  1. trait CollectionIncludes extends AnyRef

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

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

    Wrapper class to JavaFX's ObservableList.

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

    ObservableMap implementation backed for a HashMap from Java Collection.

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

    ObservableSet implementation backed for a HashSet from Java Collection.

  5. 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[ObservableMap[K, V]]

    Wrapper class to JavaFX's ObservableMap.

  6. trait ObservableSet[T] extends Set[T] with SetLike[T, ObservableSet[T]] with GenericSetTemplate[T, ObservableSet] with Builder[T, ObservableSet[T]] with Observable with SFXDelegate[ObservableSet[T]]

    Wrapper class to JavaFX's ObservableSet .

Value Members

  1. object CollectionIncludes extends CollectionIncludes

  2. object ObservableBuffer extends SeqFactory[ObservableBuffer]

    Companion Object for ObservableBuffer.

  3. object ObservableMap extends MutableMapFactory[ObservableMap]

    Companion Object for ObservableMap.

  4. object ObservableSet extends MutableSetFactory[ObservableSet]

    Companion Object for ObservableSet.

  5. 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

    Definition Classes
    package
  6. 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.

    Definition Classes
    package
  7. 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

    Definition Classes
    package
  8. 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.

    Definition Classes
    package