JavaFX object to be wrapped.
JavaFX object to be wrapped.
(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 key/value pair.
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 key to be removed
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.
The empty map of the same type as this Map
.
The empty map of the same type as this Map
.
An empty ObservableMap
Verifies if a object is equals to this delegate.
Verifies if a object is equals to this delegate.
Object to be compared.
if the other object is equals to this delegate or not.
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.
The delegate hashcode
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 no argument function as a JavaFX InvalidationListener
.
Adds a no argument function as a JavaFX InvalidationListener
. This function has no arguments because it will not handle
invalidated values.
A Function with no arguments. It will be called when value was invalidated.
A new scalafx.event.subscriptions.Subscription to remove JavaFX InvalidationListener
.
Adds a function as a JavaFX InvalidationListener
.
Adds a function as a JavaFX InvalidationListener
. This function has all arguments from
invalidated
method from InvalidationListener
.
Function that receives a ScalaFX Observable
. It will be called when value was invalidated.
A new scalafx.event.subscriptions.Subscription to remove JavaFX InvalidationListener
.
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.
Returns the original delegate's toString()
adding a [SFX]
prefix.
(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]
.
Wrapper class to JavaFX's
ObservableMap
.Key type
Value type. returned by observableHashMap method from FXCollections.