JavaFX
ObservableMap
instance to be wrapped by this class. By default it is a
HashMap
wrapped by
observableMap
method from
FXCollections
.
(Changed in version 2.8.0) +
creates a new map. Use +=
to add an element to this map and return that map itself.
(Changed in version 2.8.0) +
creates a new map. Use +=
to add an element to this map and return that map itself.
(Changed in version 2.8.0) ++
creates a new map. Use ++=
to add an element to this map and return that map itself.
Adds a new key/value pair to this Map
.
Adds a new key/value pair to this Map
.
The ObservableMap
itself
(Changed in version 2.8.0) -
creates a new map. Use -=
to remove an element from this map and return that map itself.
(Changed in version 2.8.0) -
creates a new map. Use -=
to remove an element from this map and return that map itself.
(Changed in version 2.8.0) --
creates a new map. Use --=
to remove an element from this map and return that map itself.
Removes a key from this Map
.
Removes a key from this Map
.
The ObservableMap
itself.
Removes all elements from the Map
.
Removes all elements from the Map
. After this operation has completed, the Map
will be empty.
JavaFX
ObservableMap
instance to be wrapped by this class.
JavaFX
ObservableMap
instance to be wrapped by this class. By default it is a
HashMap
wrapped by
observableMap
method from
FXCollections
.
The empty map of the same type as this Map
.
The empty map of the same type as this Map
.
An empty ObservableMap
Optionally returns the value associated with a key.
Optionally returns the value associated with a key.
the key value
an option value containing the value associated with key in this Map
, or None if
none exists.
Creates a new Iterator
over all
key/value pairs of this ObservableMap
.
Creates a new Iterator
over all
key/value pairs of this ObservableMap
.
The new iterator
.
(Changed in version 2.8.0) keys
returns Iterable[A]
rather than Iterator[A]
.
Add a listener function to Map
's changes.
Add a listener function to Map
's changes. This function will not handle this Map
's modifications data.
No-argument function to be activated when some change in this ObservableMap
was made.
Add a listener function to Map
's changes.
Add a listener function to Map
's changes. This function will handle this map's modifications data.
Function that will handle this ObservableMap
's modifications data to be activated when some change was made.
Adds a function as a InvalidationListener.
Adds a function as a InvalidationListener. This function has no arguments because it will not handle values Invalidated.
A Function with no arguments. It will be called when value was invalidated.
Adds a function as a InvalidationListener.
Adds a function as a InvalidationListener. This function has all arguments from invalidated method from InvalidationListener.
Function that receives a javafx.beans.Observable. It will be called when value was invalidated.
The result when this Map
is used as a builder.
The result when this Map
is used as a builder.
(Changed in version 2.9.0) The behavior of scanRight
has changed. The previous behavior can be reproduced with scanRight.reverse.
This Map
's size.
This Map
's size.
This Map
's size.
(Changed in version 2.9.0) transpose
throws an IllegalArgumentException
if collections are not uniformly sized.
(Changed in version 2.8.0) values
returns Iterable[B]
rather than Iterator[B]
.
scalafx.collections.ObservableMap implementation backed for a
HashMap
from Java Collection.