Module javafx.base

Class SimpleMapProperty<K,​V>

Type Parameters:
K - the type of the key elements of the Map
V - the type of the value elements of the Map
All Implemented Interfaces:
Map<K,​V>, Observable, Property<ObservableMap<K,​V>>, ReadOnlyProperty<ObservableMap<K,​V>>, ObservableMapValue<K,​V>, ObservableObjectValue<ObservableMap<K,​V>>, ObservableValue<ObservableMap<K,​V>>, WritableMapValue<K,​V>, WritableObjectValue<ObservableMap<K,​V>>, WritableValue<ObservableMap<K,​V>>, ObservableMap<K,​V>
Direct Known Subclasses:
ReadOnlyMapWrapper

public class SimpleMapProperty<K,​V>
extends MapPropertyBase<K,​V>
This class provides a full implementation of a Property wrapping an ObservableMap.
Since:
JavaFX 2.1
See Also:
MapPropertyBase
  • Constructor Details

    • SimpleMapProperty

      public SimpleMapProperty()
      The constructor of SimpleMapProperty
    • SimpleMapProperty

      public SimpleMapProperty​(ObservableMap<K,​V> initialValue)
      The constructor of SimpleMapProperty
      Parameters:
      initialValue - the initial value of the wrapped value
    • SimpleMapProperty

      public SimpleMapProperty​(Object bean, String name)
      The constructor of SimpleMapProperty
      Parameters:
      bean - the bean of this MapProperty
      name - the name of this MapProperty
    • SimpleMapProperty

      public SimpleMapProperty​(Object bean, String name, ObservableMap<K,​V> initialValue)
      The constructor of SimpleMapProperty
      Parameters:
      bean - the bean of this MapProperty
      name - the name of this MapProperty
      initialValue - the initial value of the wrapped value