K
- the type of the key elements of the Map
V
- the type of the value elements of the Map
public class SimpleMapProperty<K,V> extends MapPropertyBase<K,V>
Property
wrapping an
ObservableMap
.MapPropertyBase
empty, size
Constructor and Description |
---|
SimpleMapProperty()
The constructor of
SimpleMapProperty |
SimpleMapProperty(Object bean,
String name)
The constructor of
SimpleMapProperty |
SimpleMapProperty(Object bean,
String name,
ObservableMap<K,V> initialValue)
The constructor of
SimpleMapProperty |
SimpleMapProperty(ObservableMap<K,V> initialValue)
The constructor of
SimpleMapProperty |
Modifier and Type | Method and Description |
---|---|
Object |
getBean()
Returns the
Object that contains this property. |
String |
getName()
Returns the name of this property.
|
addListener, addListener, addListener, bind, emptyProperty, fireValueChangedEvent, fireValueChangedEvent, get, invalidated, isBound, removeListener, removeListener, removeListener, set, sizeProperty, toString, unbind
bindBidirectional, setValue, unbindBidirectional
bindContent, bindContentBidirectional, equals, hashCode, unbindContent, unbindContentBidirectional
asString, clear, containsKey, containsValue, entrySet, get, getSize, getValue, isEmpty, isEqualTo, isNotEqualTo, isNotNull, isNull, keySet, mapExpression, put, putAll, remove, size, valueAt, valueAt, values
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getValue
getValue
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
public SimpleMapProperty()
SimpleMapProperty
public SimpleMapProperty(ObservableMap<K,V> initialValue)
SimpleMapProperty
initialValue
- the initial value of the wrapped valuepublic SimpleMapProperty(Object bean, String name)
SimpleMapProperty
bean
- the bean of this MapProperty
name
- the name of this MapProperty
public SimpleMapProperty(Object bean, String name, ObservableMap<K,V> initialValue)
SimpleMapProperty
bean
- the bean of this MapProperty
name
- the name of this MapProperty
initialValue
- the initial value of the wrapped valuepublic Object getBean()
Object
that contains this property. If this property
is not contained in an Object
, null
is returned.Object
or null
public String getName()
String
.String
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2008, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.