K - the type of the key elements of the mapV - the type of the value elements of the mappublic abstract class ReadOnlyMapProperty<K,V> extends MapExpression<K,V> implements ReadOnlyProperty<ObservableMap<K,V>>
ObservableMap.ObservableMap,
ObservableMapValue,
MapExpression,
ReadOnlyPropertyempty, size| Constructor and Description |
|---|
ReadOnlyMapProperty()
The constructor of
ReadOnlyMapProperty. |
| Modifier and Type | Method and Description |
|---|---|
void |
bindContent(ObservableMap<K,V> map)
Creates a content binding between the
ObservableMap, that is
wrapped in this ReadOnlyMapProperty, and another ObservableMap. |
void |
bindContentBidirectional(ObservableMap<K,V> map)
Creates a bidirectional content binding of the
ObservableMap, that is
wrapped in this ReadOnlyMapProperty, and another ObservableMap. |
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one.
|
int |
hashCode()
Returns a hash code for this
ReadOnlyMapProperty object. |
java.lang.String |
toString()
Returns a string representation of this
ReadOnlyMapProperty object. |
void |
unbindContent(java.lang.Object object)
Deletes a content binding between the
ObservableMap, that is
wrapped in this ReadOnlyMapProperty, and another Object. |
void |
unbindContentBidirectional(java.lang.Object object)
Deletes a bidirectional content binding between the
ObservableMap, that is
wrapped in this ReadOnlyMapProperty, and another Object. |
asString, clear, containsKey, containsValue, emptyProperty, entrySet, get, getSize, getValue, isEmpty, isEqualTo, isNotEqualTo, isNotNull, isNull, keySet, mapExpression, put, putAll, remove, size, sizeProperty, valueAt, valueAt, valuesclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetBean, getNameaddListener, getValue, removeListeneraddListener, removeListenergetaddListener, removeListenerpublic ReadOnlyMapProperty()
ReadOnlyMapProperty.public void bindContentBidirectional(ObservableMap<K,V> map)
ObservableMap, that is
wrapped in this ReadOnlyMapProperty, and another ObservableMap.
A bidirectional content binding ensures that the content of two ObservableMaps is the
same. If the content of one of the maps changes, the other one will be updated automatically.
map - the ObservableMap this property should be bound tojava.lang.NullPointerException - if map is nulljava.lang.IllegalArgumentException - if map is the same map that this ReadOnlyMapProperty points topublic void unbindContentBidirectional(java.lang.Object object)
ObservableMap, that is
wrapped in this ReadOnlyMapProperty, and another Object.object - the Object to which the bidirectional binding should be removedjava.lang.NullPointerException - if object is nulljava.lang.IllegalArgumentException - if object is the same map that this ReadOnlyMapProperty points topublic void bindContent(ObservableMap<K,V> map)
ObservableMap, that is
wrapped in this ReadOnlyMapProperty, and another ObservableMap.
A content binding ensures that the content of the wrapped ObservableMaps is the
same as that of the other map. If the content of the other map changes, the wrapped map will be updated
automatically. Once the wrapped list is bound to another map, you must not change it directly.
map - the ObservableMap this property should be bound tojava.lang.NullPointerException - if map is nulljava.lang.IllegalArgumentException - if map is the same map that this ReadOnlyMapProperty points topublic void unbindContent(java.lang.Object object)
ObservableMap, that is
wrapped in this ReadOnlyMapProperty, and another Object.object - the Object to which the binding should be removedjava.lang.NullPointerException - if object is nulljava.lang.IllegalArgumentException - if object is the same map that this ReadOnlyMapProperty points topublic boolean equals(java.lang.Object obj)
public int hashCode()
ReadOnlyMapProperty object.public java.lang.String toString()
ReadOnlyMapProperty object.toString in class java.lang.ObjectReadOnlyMapProperty object.Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms.