scalafx.collections
Type members
Classlikes
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.
- Companion
- object
Companion Object for [[scalafx.collections.ObservableArray]]
.
Companion Object for [[scalafx.collections.ObservableArray]]
.
- Companion
- class
Abstract ObservableArray
base class.
Abstract ObservableArray
base class.
- Companion
- object
Companion Object for scalafx.collections.ObservableBuffer.
Companion Object for scalafx.collections.ObservableBuffer.
- Companion
- class
Wrapper class to JavaFX's `ObservableList`.
Wrapper class to JavaFX's `ObservableList`.
- Type Params
- T
Type of this
Buffer
- Companion
- object
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 ObservableListBase.
- Type Params
- E
- the type of the elements contained in the List
- Companion
- object
Companion Object for scalafx.collections.ObservableFloatArray.
Companion Object for scalafx.collections.ObservableFloatArray.
- Companion
- class
Wrapper class to JavaFX's ObservableFloatArray
.
Wrapper class to JavaFX's ObservableFloatArray
.
- Value Params
- delegate
Wrapped JavaFX
ObservableFloatArray
providing implementation.
- Companion
- object
scalafx.collections.ObservableMap implementation backed for a `HashMap` from Java Collection.
scalafx.collections.ObservableMap implementation backed for a `HashMap` from Java Collection.
- Value Params
- delegate
JavaFX `ObservableMap` instance to be wrapped by this class. By default it is a `HashMap` wrapped by `observableMap` method from `FXCollections`.
scalafx.collections.ObservableSet implementation backed for a `HashSet` from Java Collection.
scalafx.collections.ObservableSet implementation backed for a `HashSet` from Java Collection.
- Value Params
- delegate
JavaFX ObservableSet instance to be wrapped by this class. By default it is a HashSet wrapped by observableSet method from FXCollections.
Companion Object for scalafx.collections.ObservableIntegerArray.
Companion Object for scalafx.collections.ObservableIntegerArray.
- Companion
- class
Wrapper class to JavaFX's ObservableIntegerArray
.
Wrapper class to JavaFX's ObservableIntegerArray
.
- Value Params
- delegate
Wrapped JavaFX
ObservableIntegerArray
providing implementation.
- Companion
- object
Companion Object for [[scalafx.collections.ObservableMap]]
.
Companion Object for [[scalafx.collections.ObservableMap]]
.
- Companion
- class
Wrapper class to JavaFX's `ObservableMap`.
Wrapper class to JavaFX's `ObservableMap`.
- Type Params
- K
Key type
- V
Value type. returned by observableHashMap method from FXCollections.
- Companion
- object
Companion Object for [[scalafx.collections.ObservableSet]]
.
Companion Object for [[scalafx.collections.ObservableSet]]
.
- Companion
- class
Wrapper class to JavaFX's `ObservableSet` .
Wrapper class to JavaFX's `ObservableSet` .
- Type Params
- T
Type of this
Set
- Companion
- object
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 Params
- T
Iterable and ObservableList type
- Value Params
- filler
Iterable which will fill originalList
- originalList
List to be filled
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 Params
- T
Element and ObservableList type
- Value Params
- element
Element which will replace originalList content.
- originalList
List to be filled
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 Params
- J
Iterable and ObservableList type
- Value Params
- filler
Iterable which will fill originalList
- originalList
List to be filled
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 Params
- J
Iterable and ObservableList type
- Value Params
- element
Element which will replace originalList content. Actually, it will used its delegate.
- originalList
List to be filled