scalafx.collections
Wraps `javafx.collections` package, adding Scala's collections features to original JavaFX collections.
Attributes
Members list
Packages
Type members
Classlikes
Attributes
- Companion
- trait
- Supertypes
- Self type
-
CollectionIncludes.type
Contains implicit methods to convert from `javafx.collections` Classes to their ScalaFX counterparts.
Contains implicit methods to convert from `javafx.collections` Classes to their ScalaFX counterparts.
Attributes
- Companion
- object
- Supertypes
- Known subtypes
Companion Object for [[scalafx.collections.ObservableArray]].
Companion Object for [[scalafx.collections.ObservableArray]].
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ObservableArray.type
Abstract $OA base class.
Abstract $OA base class.
Attributes
- Companion
- object
- Supertypes
-
trait Observabletrait SFXDelegate[D]trait Growable[V]trait Clearableclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class ObservableFloatArrayclass ObservableIntegerArray
Companion Object for scalafx.collections.ObservableBuffer.
Companion Object for scalafx.collections.ObservableBuffer.
Attributes
- Companion
- class
- Supertypes
-
trait SeqFactory[ObservableBuffer]trait IterableFactory[ObservableBuffer]trait Serializableclass Objecttrait Matchableclass AnyShow all
- Self type
-
ObservableBuffer.type
Wrapper class to JavaFX's $OL.
Wrapper class to JavaFX's $OL.
Type parameters
- T
-
Type of this $buf
Attributes
- Companion
- object
- Supertypes
-
trait Observabletrait IndexedBuffer[T]trait IndexedSeq[T]trait IndexedSeq[T]class AbstractBuffer[T]trait Buffer[T]trait Shrinkable[T]trait Growable[T]trait Clearableclass AbstractSeq[T]trait Seq[T]trait Cloneabletrait Iterable[T]class AbstractSeq[T]trait Seq[T]trait Equalsclass AbstractIterable[T]trait Iterable[T]trait IterableOnce[T]class Objecttrait Matchableclass AnyShow all
- Known subtypes
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ObservableBufferBase.type
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.
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 $URL0 $TC]].
Type parameters
- E
-
- the type of the elements contained in the List
Attributes
- Companion
- object
- Supertypes
-
class ObservableBuffer[E]trait Observabletrait IndexedBuffer[E]trait IndexedSeq[E]trait IndexedSeq[E]class AbstractBuffer[E]trait Buffer[E]trait Shrinkable[E]trait Growable[E]trait Clearableclass AbstractSeq[E]trait Seq[E]trait Cloneabletrait Iterable[E]class AbstractSeq[E]trait Seq[E]trait Equalsclass AbstractIterable[E]trait Iterable[E]trait IterableOnce[E]class Objecttrait Matchableclass AnyShow all
- Known subtypes
Companion Object for scalafx.collections.ObservableFloatArray.
Companion Object for scalafx.collections.ObservableFloatArray.
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ObservableFloatArray.type
Wrapper class to JavaFX's ObservableFloatArray.
Wrapper class to JavaFX's ObservableFloatArray.
Value parameters
- delegate
-
Wrapped JavaFX $OFA providing implementation.
Attributes
- Companion
- object
- Supertypes
-
trait Observabletrait SFXDelegate[ObservableFloatArray]trait Clearableclass Objecttrait Matchableclass AnyShow all
scalafx.collections.ObservableMap implementation backed for a `HashMap` from Java Collection.
scalafx.collections.ObservableMap implementation backed for a `HashMap` from Java Collection.
Value parameters
- delegate
-
JavaFX `ObservableMap` instance to be wrapped by this class. By default it is a `HashMap` wrapped by `observableMap` method from `FXCollections`.
Attributes
- Supertypes
-
trait Observabletrait Shrinkable[K]trait Clearabletrait Cloneabletrait Equalstrait K => Vclass Objecttrait Matchableclass AnyShow all
scalafx.collections.ObservableSet implementation backed for a `HashSet` from Java Collection.
scalafx.collections.ObservableSet implementation backed for a `HashSet` from Java Collection.
Value parameters
- aDelegate
-
JavaFX ObservableSet instance to be wrapped by this class. By default, it is a HashSet wrapped by observableSet method from FXCollections.
Attributes
- Supertypes
-
trait ObservableSet[T]trait Observableclass AbstractSet[T]trait Set[T]trait Shrinkable[T]trait Growable[T]trait Clearabletrait Cloneabletrait Iterable[T]class AbstractSet[T]trait Set[T]trait Equalsclass AbstractIterable[T]trait Iterable[T]trait IterableOnce[T]class Objecttrait Matchableclass AnyShow all
Companion Object for scalafx.collections.ObservableIntegerArray.
Companion Object for scalafx.collections.ObservableIntegerArray.
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Wrapper class to JavaFX's ObservableIntegerArray.
Wrapper class to JavaFX's ObservableIntegerArray.
Value parameters
- delegate
-
Wrapped JavaFX $OIA providing implementation.
Attributes
- Companion
- object
- Supertypes
-
trait Observabletrait SFXDelegate[ObservableIntegerArray]trait Clearableclass Objecttrait Matchableclass AnyShow all
Companion Object for [[scalafx.collections.ObservableMap]].
Companion Object for [[scalafx.collections.ObservableMap]].
Attributes
- Companion
- trait
- Supertypes
- Self type
-
ObservableMap.type
Wrapper class to JavaFX's `ObservableMap`.
Wrapper class to JavaFX's `ObservableMap`.
Type parameters
- K
-
Key type
- V
-
Value type. returned by observableHashMap method from FXCollections.
Attributes
- Companion
- object
- Supertypes
-
trait Observabletrait Shrinkable[K]trait Clearabletrait Cloneabletrait Equalstrait K => Vclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
Companion Object for [[scalafx.collections.ObservableSet]].
Companion Object for [[scalafx.collections.ObservableSet]].
Attributes
- Companion
- trait
- Supertypes
- Self type
-
ObservableSet.type
Wrapper class to JavaFX's `ObservableSet` .
Wrapper class to JavaFX's `ObservableSet` .
Type parameters
- T
-
Type of this
Set
Attributes
- Companion
- object
- Supertypes
-
trait Observableclass AbstractSet[T]trait Set[T]trait Shrinkable[T]trait Growable[T]trait Clearabletrait Cloneabletrait Iterable[T]class AbstractSet[T]trait Set[T]trait Equalsclass AbstractIterable[T]trait Iterable[T]trait IterableOnce[T]class Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class ObservableHashSet[T]
Value members
Concrete methods
Inserts all elements from a Iterable in a JavaFX ObservableList, replacing original content. If this iterable was null, the list will be cleaned.
Inserts all elements from a Iterable in a JavaFX ObservableList, replacing original content. If this iterable was null, the list will be cleaned.
Type parameters
- T
-
Iterable and ObservableList type
Value parameters
- filler
-
Iterable which will fill originalList
- originalList
-
List to be filled
Attributes
Replaces all content in an ObservableList of type T for a single element. If this element was null, the list will be cleaned.
Replaces all content in an ObservableList of type T for a single element. If this element was null, the list will be cleaned.
Type parameters
- T
-
Element and ObservableList type
Value parameters
- element
-
Element which will replace originalList content.
- originalList
-
List to be filled
Attributes
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.
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.
Type parameters
- J
-
Iterable and ObservableList type
Value parameters
- filler
-
Iterable which will fill originalList
- originalList
-
List to be filled
Attributes
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.
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.
Type parameters
- J
-
Iterable and ObservableList type
Value parameters
- element
-
Element which will replace originalList content. Actually, it will used its delegate.
- originalList
-
List to be filled