Uses of Interface
javafx.collections.ObservableMap
Packages that use ObservableMap
Package
Description
Provides the set of classes for ease of use transition based animations.
Provides classes that create and operate on a
Binding
that calculates a value that depends on one or more sources.The package
javafx.beans.property
defines read-only
properties and writable properties, plus a number of implementations.The package
javafx.beans.value
contains the two
fundamental interfaces ObservableValue
and WritableValue
and all of its sub-interfaces.Contains the essential JavaFX collections and collection utilities
Contains classes for loading an object hierarchy from markup.
Provides the core set of base
classes for the JavaFX Scene Graph API.
The JavaFX User Interface Controls (UI Controls or just Controls) are
specialized Nodes in the JavaFX Scenegraph especially suited for reuse in
many different application contexts.
Provides the set of classes for integrating audio and video into Java FX
Applications.
Provides the top-level container classes for JavaFX content.
-
Uses of ObservableMap in javafx.animation
Methods in javafx.animation that return ObservableMapModifier and TypeMethodDescriptionfinal ObservableMap<String,
Duration> Animation.getCuePoints()
The cue points can be used to mark important positions of theAnimation
. -
Uses of ObservableMap in javafx.beans.binding
Classes in javafx.beans.binding that implement ObservableMapModifier and TypeClassDescriptionclass
MapBinding<K,
V> Base class that provides most of the functionality needed to implement aBinding
of anObservableMap
.class
MapExpression<K,
V> MapExpression
is anObservableMapValue
plus additional convenience methods to generate bindings in a fluent style.Methods in javafx.beans.binding that return ObservableMapModifier and TypeMethodDescriptionprotected abstract ObservableMap<K,
V> MapBinding.computeValue()
Calculates the current value of this binding.final ObservableMap<K,
V> MapBinding.get()
Returns the result ofMapBinding.computeValue()
.MapExpression.getValue()
Methods in javafx.beans.binding with parameters of type ObservableMapModifier and TypeMethodDescriptionstatic <K,
V> void Bindings.bindContent
(Map<K, V> map1, ObservableMap<? extends K, ? extends V> map2) Generates a content binding between anObservableMap
and aMap
.static <K,
V> void Bindings.bindContentBidirectional
(ObservableMap<K, V> map1, ObservableMap<K, V> map2) Generates a bidirectional binding (or "bind with inverse") between two instances ofObservableMap
.static <K> BooleanBinding
Bindings.booleanValueAt
(ObservableMap<K, Boolean> op, ObservableValue<? extends K> key) Creates a newBooleanBinding
that contains the mapping of a specific key in anObservableMap
.static <K> BooleanBinding
Bindings.booleanValueAt
(ObservableMap<K, Boolean> op, K key) Creates a newBooleanBinding
that contains the mapping of a specific key in anObservableMap
.static <K> DoubleBinding
Bindings.doubleValueAt
(ObservableMap<K, ? extends Number> op, ObservableValue<? extends K> key) Creates a newDoubleBinding
that contains the mapping of a specific key in anObservableMap
.static <K> DoubleBinding
Bindings.doubleValueAt
(ObservableMap<K, ? extends Number> op, K key) Creates a newDoubleBinding
that contains the mapping of a specific key in anObservableMap
.static <K> FloatBinding
Bindings.floatValueAt
(ObservableMap<K, ? extends Number> op, ObservableValue<? extends K> key) Creates a newFloatBinding
that contains the mapping of a specific key in anObservableMap
.static <K> FloatBinding
Bindings.floatValueAt
(ObservableMap<K, ? extends Number> op, K key) Creates a newFloatBinding
that contains the mapping of a specific key in anObservableMap
.static <K> IntegerBinding
Bindings.integerValueAt
(ObservableMap<K, ? extends Number> op, ObservableValue<? extends K> key) Creates a newIntegerBinding
that contains the mapping of a specific key in anObservableMap
.static <K> IntegerBinding
Bindings.integerValueAt
(ObservableMap<K, ? extends Number> op, K key) Creates a newIntegerBinding
that contains the mapping of a specific key in anObservableMap
.static <K,
V> BooleanBinding Bindings.isEmpty
(ObservableMap<K, V> op) MapExpression.isEqualTo
(ObservableMap<?, ?> other) static <K,
V> BooleanBinding Bindings.isNotEmpty
(ObservableMap<K, V> op) MapExpression.isNotEqualTo
(ObservableMap<?, ?> other) static <K> LongBinding
Bindings.longValueAt
(ObservableMap<K, ? extends Number> op, ObservableValue<? extends K> key) Creates a newLongBinding
that contains the mapping of a specific key in anObservableMap
.static <K> LongBinding
Bindings.longValueAt
(ObservableMap<K, ? extends Number> op, K key) Creates a newLongBinding
that contains the mapping of a specific key in anObservableMap
.static <K,
V> IntegerBinding Bindings.size
(ObservableMap<K, V> op) Creates a newIntegerBinding
that contains the size of anObservableMap
.static <K> StringBinding
Bindings.stringValueAt
(ObservableMap<K, String> op, ObservableValue<? extends K> key) Creates a newStringBinding
that contains the mapping of a specific key in anObservableMap
.static <K> StringBinding
Bindings.stringValueAt
(ObservableMap<K, String> op, K key) Creates a newStringBinding
that contains the mapping of a specific key in anObservableMap
.static <K,
V> ObjectBinding<V> Bindings.valueAt
(ObservableMap<K, V> op, ObservableValue<? extends K> key) Creates a newObjectBinding
that contains the mapping of a specific key in anObservableMap
.static <K,
V> ObjectBinding<V> Bindings.valueAt
(ObservableMap<K, V> op, K key) Creates a newObjectBinding
that contains the mapping of a specific key in anObservableMap
.Method parameters in javafx.beans.binding with type arguments of type ObservableMapModifier and TypeMethodDescriptionvoid
MapBinding.addListener
(ChangeListener<? super ObservableMap<K, V>> listener) void
MapBinding.removeListener
(ChangeListener<? super ObservableMap<K, V>> listener) -
Uses of ObservableMap in javafx.beans.property
Classes in javafx.beans.property that implement ObservableMapModifier and TypeClassDescriptionclass
MapProperty<K,
V> This class provides a full implementation of aProperty
wrapping anObservableMap
.class
MapPropertyBase<K,
V> The classMapPropertyBase
is the base class for a property wrapping anObservableMap
.class
ReadOnlyMapProperty<K,
V> Superclass for all readonly properties wrapping anObservableMap
.class
Base class for all readonly properties wrapping anObservableMap
.class
ReadOnlyMapWrapper<K,
V> This class provides a convenient class to define read-only properties.class
SimpleMapProperty<K,
V> This class provides a full implementation of aProperty
wrapping anObservableMap
.Methods in javafx.beans.property that return ObservableMapMethods in javafx.beans.property with parameters of type ObservableMapModifier and TypeMethodDescriptionvoid
ReadOnlyMapProperty.bindContent
(ObservableMap<K, V> map) Creates a content binding between theObservableMap
, that is wrapped in thisReadOnlyMapProperty
, and anotherObservableMap
.void
ReadOnlyMapProperty.bindContentBidirectional
(ObservableMap<K, V> map) Creates a bidirectional content binding of theObservableMap
, that is wrapped in thisReadOnlyMapProperty
, and anotherObservableMap
.void
MapPropertyBase.set
(ObservableMap<K, V> newValue) void
MapProperty.setValue
(ObservableMap<K, V> v) Set the wrapped value.Method parameters in javafx.beans.property with type arguments of type ObservableMapModifier and TypeMethodDescriptionvoid
MapPropertyBase.addListener
(ChangeListener<? super ObservableMap<K, V>> listener) void
ReadOnlyMapPropertyBase.addListener
(ChangeListener<? super ObservableMap<K, V>> listener) void
MapPropertyBase.bind
(ObservableValue<? extends ObservableMap<K, V>> newObservable) void
MapProperty.bindBidirectional
(Property<ObservableMap<K, V>> other) Create a bidirectional binding between thisProperty
and another one.void
MapPropertyBase.removeListener
(ChangeListener<? super ObservableMap<K, V>> listener) void
ReadOnlyMapPropertyBase.removeListener
(ChangeListener<? super ObservableMap<K, V>> listener) void
MapProperty.unbindBidirectional
(Property<ObservableMap<K, V>> other) Removes a bidirectional binding between thisProperty
and another one.Constructors in javafx.beans.property with parameters of type ObservableMapModifierConstructorDescriptionMapPropertyBase
(ObservableMap<K, V> initialValue) The constructor of theMapPropertyBase
.ReadOnlyMapWrapper
(Object bean, String name, ObservableMap<K, V> initialValue) The constructor ofReadOnlyMapWrapper
ReadOnlyMapWrapper
(ObservableMap<K, V> initialValue) The constructor ofReadOnlyMapWrapper
SimpleMapProperty
(Object bean, String name, ObservableMap<K, V> initialValue) The constructor ofSimpleMapProperty
SimpleMapProperty
(ObservableMap<K, V> initialValue) The constructor ofSimpleMapProperty
-
Uses of ObservableMap in javafx.beans.value
Subinterfaces of ObservableMap in javafx.beans.valueModifier and TypeInterfaceDescriptioninterface
ObservableMapValue<K,
V> An observable reference to anObservableMap
.interface
WritableMapValue<K,
V> A writable reference to anObservableMap
. -
Uses of ObservableMap in javafx.collections
Methods in javafx.collections that return ObservableMapModifier and TypeMethodDescriptionstatic <K,
V> ObservableMap<K, V> FXCollections.checkedObservableMap
(ObservableMap<K, V> map, Class<K> keyType, Class<V> valueType) Creates and returns a typesafe wrapper on top of provided observable map.static <K,
V> ObservableMap<K, V> FXCollections.emptyObservableMap()
Creates an empty unmodifiable observable map.MapChangeListener.Change.getMap()
An observable map that is associated with the change.static <K,
V> ObservableMap<K, V> FXCollections.observableHashMap()
Creates a new empty observable map that is backed by a HashMap.static <K,
V> ObservableMap<K, V> FXCollections.observableMap
(Map<K, V> map) Constructs an ObservableMap that is backed by the specified map.static <K,
V> ObservableMap<K, V> FXCollections.synchronizedObservableMap
(ObservableMap<K, V> map) Creates and returns a synchronized wrapper on top of provided observable map.static <K,
V> ObservableMap<K, V> FXCollections.unmodifiableObservableMap
(ObservableMap<K, V> map) Constructs a read-only interface to the specified ObservableMap.Methods in javafx.collections with parameters of type ObservableMapModifier and TypeMethodDescriptionstatic <K,
V> ObservableMap<K, V> FXCollections.checkedObservableMap
(ObservableMap<K, V> map, Class<K> keyType, Class<V> valueType) Creates and returns a typesafe wrapper on top of provided observable map.static <K,
V> ObservableMap<K, V> FXCollections.synchronizedObservableMap
(ObservableMap<K, V> map) Creates and returns a synchronized wrapper on top of provided observable map.static <K,
V> ObservableMap<K, V> FXCollections.unmodifiableObservableMap
(ObservableMap<K, V> map) Constructs a read-only interface to the specified ObservableMap.Constructors in javafx.collections with parameters of type ObservableMapModifierConstructorDescriptionChange
(ObservableMap<K, V> map) Constructs a change associated with a map. -
Uses of ObservableMap in javafx.fxml
Methods in javafx.fxml that return ObservableMapModifier and TypeMethodDescriptionFXMLLoader.getNamespace()
Returns the namespace used by this loader. -
Uses of ObservableMap in javafx.scene
Methods in javafx.scene that return ObservableMapModifier and TypeMethodDescriptionScene.getAccelerators()
Gets the list of accelerators for thisScene
.Scene.getMnemonics()
Gets the list of mnemonics for thisScene
.final ObservableMap<Object,
Object> Node.getProperties()
Returns an observable map of properties on this node for use primarily by application developers.final ObservableMap<Object,
Object> Scene.getProperties()
Returns an observable map of properties on this node for use primarily by application developers. -
Uses of ObservableMap in javafx.scene.control
Methods in javafx.scene.control that return ObservableMapModifier and TypeMethodDescriptionMenuItem.getProperties()
Returns an observable map of properties on this menu item for use primarily by application developers.final ObservableMap<Object,
Object> Tab.getProperties()
Returns an observable map of properties on this Tab for use primarily by application developers.final ObservableMap<Object,
Object> TableColumnBase.getProperties()
Returns an observable map of properties on this table column for use primarily by application developers.Toggle.getProperties()
Returns an observable map of properties on this toggle for use primarily by application developers.final ObservableMap<Object,
Object> ToggleGroup.getProperties()
Returns an observable map of properties on this node for use primarily by application developers. -
Uses of ObservableMap in javafx.scene.media
Methods in javafx.scene.media that return ObservableMapModifier and TypeMethodDescriptionfinal ObservableMap<String,
Duration> Media.getMarkers()
Retrieve the markers defined on thisMedia
instance.final ObservableMap<String,
Object> Media.getMetadata()
Retrieve the metadata contained in this media source. -
Uses of ObservableMap in javafx.stage
Methods in javafx.stage that return ObservableMapModifier and TypeMethodDescriptionfinal ObservableMap<Object,
Object> Window.getProperties()
Returns an observable map of properties on this node for use primarily by application developers.