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 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.
(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 map 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 map
Creates a new iterator over all key/value pairs of this map
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 modification data.
No-argument function to be activated when some change in this map was made.
Add a change listener.
Add a change listener.
Function that will handle this map's modification 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 set'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.