public class MapPropertyDecorator<K,V> extends MapProperty<K,V>
Type | Property and Description |
---|---|
ReadOnlyBooleanProperty |
empty |
ReadOnlyIntegerProperty |
size |
Constructor and Description |
---|
MapPropertyDecorator(MapProperty<K,V> delegate) |
mapExpression
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public ReadOnlyIntegerProperty sizeProperty
sizeProperty
in class MapExpression<K,V>
getSize()
public ReadOnlyBooleanProperty emptyProperty
emptyProperty
in class MapExpression<K,V>
isEmpty()
public MapPropertyDecorator(MapProperty<K,V> delegate)
protected final MapProperty<K,V> getDelegate()
public void setValue(ObservableMap<K,V> v)
setValue
in interface WritableValue<ObservableMap<K,V>>
setValue
in class MapProperty<K,V>
public void bindBidirectional(Property<ObservableMap<K,V>> other)
bindBidirectional
in interface Property<ObservableMap<K,V>>
bindBidirectional
in class MapProperty<K,V>
public void unbindBidirectional(Property<ObservableMap<K,V>> other)
unbindBidirectional
in interface Property<ObservableMap<K,V>>
unbindBidirectional
in class MapProperty<K,V>
public boolean equals(Object o)
public int hashCode()
public String toString()
toString
in class MapProperty<K,V>
public void bindContentBidirectional(ObservableMap<K,V> map)
bindContentBidirectional
in class ReadOnlyMapProperty<K,V>
public void unbindContentBidirectional(Object object)
unbindContentBidirectional
in class ReadOnlyMapProperty<K,V>
public void bindContent(ObservableMap<K,V> map)
bindContent
in class ReadOnlyMapProperty<K,V>
public void unbindContent(Object object)
unbindContent
in class ReadOnlyMapProperty<K,V>
public ObservableMap<K,V> getValue()
getValue
in interface ObservableValue<ObservableMap<K,V>>
getValue
in interface WritableValue<ObservableMap<K,V>>
getValue
in class MapExpression<K,V>
public int getSize()
getSize
in class MapExpression<K,V>
public ReadOnlyIntegerProperty sizeProperty()
sizeProperty
in class MapExpression<K,V>
getSize()
public ReadOnlyBooleanProperty emptyProperty()
emptyProperty
in class MapExpression<K,V>
isEmpty()
public ObjectBinding<V> valueAt(K key)
valueAt
in class MapExpression<K,V>
public ObjectBinding<V> valueAt(ObservableValue<K> key)
valueAt
in class MapExpression<K,V>
public BooleanBinding isEqualTo(ObservableMap<?,?> other)
isEqualTo
in class MapExpression<K,V>
public BooleanBinding isNotEqualTo(ObservableMap<?,?> other)
isNotEqualTo
in class MapExpression<K,V>
public BooleanBinding isNull()
isNull
in class MapExpression<K,V>
public BooleanBinding isNotNull()
isNotNull
in class MapExpression<K,V>
public StringBinding asString()
asString
in class MapExpression<K,V>
public int size()
public boolean isEmpty()
public boolean containsKey(Object obj)
containsKey
in interface Map<K,V>
containsKey
in class MapExpression<K,V>
public boolean containsValue(Object obj)
containsValue
in interface Map<K,V>
containsValue
in class MapExpression<K,V>
public void clear()
public Collection<V> values()
public ObservableMap<K,V> get()
public void addListener(ChangeListener<? super ObservableMap<K,V>> listener)
public void removeListener(ChangeListener<? super ObservableMap<K,V>> listener)
public void addListener(InvalidationListener listener)
public void removeListener(InvalidationListener listener)
public void addListener(MapChangeListener<? super K,? super V> listener)
public void removeListener(MapChangeListener<? super K,? super V> listener)
public Object getBean()
public String getName()
public void bind(ObservableValue<? extends ObservableMap<K,V>> observable)
public void unbind()
public boolean isBound()
public void set(ObservableMap<K,V> value)