MapExpression is an
javafx.beans.value.ObservableMapValue plus additional convenience
methods to generate bindings in a fluent style.
A concrete sub-class of MapExpression has to implement the method
javafx., 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.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public StringBinding | Returns: the newStringBindingCreates a |
| public void | clear()
Implements java. Removes all of the mappings from this map (optional operation). |
| public boolean | containsKey(Object
key whose presence in this map is to be tested obj)Implements java. Returns |
| public boolean | containsValue(Object
value whose presence in this map is to be tested obj)Implements java. Returns |
| public abstract ReadOnlyBooleanProperty | Returns: theReadOnlyBooleanPropertyA boolean property that is |
| public Set | entrySet()
Implements java. Returns a |
| public V | get(Object
the key whose associated value is to be returned key)Implements java. Returns the value to which the specified key is mapped,
or |
| private ObservableMap | |
| public int | |
| public ObservableMap | getValue()
Implements javafx. Returns the current value of this |
| public boolean | |
| public BooleanBinding | Returns: the newBooleanBindingthe other other)ObservableMapCreates a new |
| public BooleanBinding | Returns: the newBooleanBindingthe other other)ObservableMapCreates a new |
| public BooleanBinding | Returns: the newBooleanBindingCreates a new |
| public BooleanBinding | Returns: the newBooleanBindingCreates a new |
| public Set | |
| public static < the type of the key elements K, the type of the value elements V> MapExpression | Returns: AMapExpression that wraps the
ObservableMapValue if necessaryThe source value)ObservableMapValueReturns a |
| public V | put(K
key with which the specified value is to be associated key, V value to be associated with the specified key value)Implements java. Associates the specified value with the specified key in this map (optional operation). |
| public void | putAll(Map<? extends K, ? extends V>
mappings to be stored in this map elements)Implements java. Copies all of the mappings from the specified map to this map (optional operation). |
| public V | remove(Object
key whose mapping is to be removed from the map obj)Implements java. Removes the mapping for a key from this map if it is present (optional operation). |
| public int | |
| public abstract ReadOnlyIntegerProperty | |
| public ObjectBinding | Returns: theObjectBindingthe key of the mapping key)Creates a new |
| public ObjectBinding | Returns: theObjectBindingthe key of the mapping key)Creates a new |
| public Collection | values()
Implements java. Returns a |
| MapExpression | back to summary |
|---|---|
| public MapExpression() Creates a default | |
| asString | back to summary |
|---|---|
| public StringBinding asString() Creates a
| |
| clear | back to summary |
|---|---|
| public void clear() Implements java. Doc from java. Removes all of the mappings from this map (optional operation). The map will be empty after this call returns.
| |
| containsKey | back to summary |
|---|---|
| public boolean containsKey(Object obj) Implements java. Doc from java. Returns | |
| containsValue | back to summary |
|---|---|
| public boolean containsValue(Object obj) Implements java. Doc from java. Returns | |
| emptyProperty | back to summary |
|---|---|
| public abstract ReadOnlyBooleanProperty emptyProperty() A boolean property that is
| |
| entrySet | back to summary |
|---|---|
| public Set Implements java. Doc from java. Returns a | |
| get | back to summary |
|---|---|
| public V get(Object key) Implements java. Doc from java. Returns the value to which the specified key is mapped,
or More formally, if this map contains a mapping from a key
If this map permits null values, then a return value of
| |
| getNonNull | back to summary |
|---|---|
| private ObservableMap | |
| getSize | back to summary |
|---|---|
| public int getSize() The size of the map
| |
| getValue | back to summary |
|---|---|
| public ObservableMap Implements javafx. Doc from javafx. Returns the current value of this
| |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() Implements java. Doc from java. Returns
| |
| isEqualTo | back to summary |
|---|---|
| public BooleanBinding isEqualTo(final ObservableMap<?, ?> other) Creates a new
| |
| isNotEqualTo | back to summary |
|---|---|
| public BooleanBinding isNotEqualTo(final ObservableMap<?, ?> other) Creates a new
| |
| isNotNull | back to summary |
|---|---|
| public BooleanBinding isNotNull() Creates a new
| |
| isNull | back to summary |
|---|---|
| public BooleanBinding isNull() Creates a new
| |
| keySet | back to summary |
|---|---|
| public Set Implements java. Doc from java. Returns a | |
| mapExpression | back to summary |
|---|---|
| public static <K, V> MapExpression Returns a
| |
| put | back to summary |
|---|---|
| public V put(K key, V value) Implements java. Doc from java. Associates the specified value with the specified key in this map
(optional operation). If the map previously contained a mapping for
the key, the old value is replaced by the specified value. (A map
| |
| putAll | back to summary |
|---|---|
| public void putAll(Map<? extends K, ? extends V> elements) Implements java. Doc from java. Copies all of the mappings from the specified map to this map
(optional operation). The effect of this call is equivalent to that
of calling | |
| remove | back to summary |
|---|---|
| public V remove(Object obj) Implements java. Doc from java. Removes the mapping for a key from this map if it is present
(optional operation). More formally, if this map contains a mapping
from key Returns the value to which this map previously associated the key,
or If this map permits null values, then a return value of
The map will not contain a mapping for the specified key once the call returns. | |
| size | back to summary |
|---|---|
| public int size() Implements java. Doc from java. Returns the number of key-value mappings in this map. If the
map contains more than
| |
| sizeProperty | back to summary |
|---|---|
| public abstract ReadOnlyIntegerProperty sizeProperty() An integer property that represents the size of the map.
| |
| valueAt | back to summary |
|---|---|
| public ObjectBinding Creates a new
| |
| valueAt | back to summary |
|---|---|
| public ObjectBinding Creates a new
| |
| values | back to summary |
|---|---|
| public Collection Implements java. Doc from java. Returns a
| |