Module javafx.base

Class MapExpression<K,V>

java.lang.Object
javafx.beans.binding.MapExpression<K,V>
Type Parameters:
K - the type of the key elements
V - the type of the value elements
All Implemented Interfaces:
Map<K,V>, Observable, ObservableMapValue<K,V>, ObservableObjectValue<ObservableMap<K,V>>, ObservableValue<ObservableMap<K,V>>, ObservableMap<K,V>
Direct Known Subclasses:
MapBinding, ReadOnlyMapProperty

public abstract class MapExpression<K,V> extends Object implements ObservableMapValue<K,V>
MapExpression is an ObservableMapValue plus additional convenience methods to generate bindings in a fluent style.

A concrete sub-class of MapExpression has to implement the method ObservableObjectValue.get(), which provides the actual value of this expression.

If the wrapped list of a MapExpression is null, all methods implementing the Map interface will behave as if they were applied to an immutable empty list.

Since:
JavaFX 2.1