Package | Description |
---|---|
com.sun.javafx.binding | |
com.sun.javafx.collections | |
com.sun.javafx.scene | |
javafx.animation |
Provides the set of classes for ease of use transition based animations.
|
javafx.beans.binding |
Characteristics of Bindings
|
javafx.beans.property |
The package
javafx.beans.property defines read-only
properties and writable properties, plus a number of implementations. |
javafx.beans.value |
The package
javafx.beans.value contains the two
fundamental interfaces ObservableValue and WritableValue and all of its sub-interfaces. |
javafx.collections |
Contains the essential JavaFX collections and collection utilities
|
javafx.fxml |
Contains classes for loading an object hierarchy from markup.
|
javafx.scene |
Provides the core set of base
classes for the JavaFX Scene Graph API.
|
javafx.scene.control |
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.
|
javafx.scene.media |
Provides the set of classes for integrating audio and video into Java FX
Applications.
|
javafx.stage |
Provides the top-level container classes for JavaFX content.
|
Modifier and Type | Field and Description |
---|---|
private ObservableMap<K,V> |
MapExpressionHelper.SingleChange.currentValue |
private ObservableMap<K,V> |
MapExpressionHelper.SingleMapChange.currentValue |
private ObservableMap<K,V> |
MapExpressionHelper.Generic.currentValue |
Modifier and Type | Field and Description |
---|---|
private ChangeListener<? super ObservableMap<K,V>> |
MapExpressionHelper.SingleChange.listener |
private java.lang.ref.WeakReference<ObservableMap<K,V>> |
BidirectionalContentBinding.MapContentBinding.propertyRef1 |
private java.lang.ref.WeakReference<ObservableMap<K,V>> |
BidirectionalContentBinding.MapContentBinding.propertyRef2 |
Modifier and Type | Method and Description |
---|---|
static <K,V> java.lang.Object |
ContentBinding.bind(java.util.Map<K,V> map1,
ObservableMap<? extends K,? extends V> map2) |
static <K,V> java.lang.Object |
BidirectionalContentBinding.bind(ObservableMap<K,V> map1,
ObservableMap<K,V> map2) |
static <K,V> java.lang.Object |
BidirectionalContentBinding.bind(ObservableMap<K,V> map1,
ObservableMap<K,V> map2) |
private void |
MapExpressionHelper.Generic.notifyListeners(ObservableMap<K,V> oldValue,
MapExpressionHelper.SimpleChange<K,V> change) |
Modifier and Type | Method and Description |
---|---|
protected abstract MapExpressionHelper<K,V> |
MapExpressionHelper.addListener(ChangeListener<? super ObservableMap<K,V>> listener) |
protected MapExpressionHelper<K,V> |
MapExpressionHelper.SingleInvalidation.addListener(ChangeListener<? super ObservableMap<K,V>> listener) |
protected MapExpressionHelper<K,V> |
MapExpressionHelper.SingleChange.addListener(ChangeListener<? super ObservableMap<K,V>> listener) |
protected MapExpressionHelper<K,V> |
MapExpressionHelper.SingleMapChange.addListener(ChangeListener<? super ObservableMap<K,V>> listener) |
protected MapExpressionHelper<K,V> |
MapExpressionHelper.Generic.addListener(ChangeListener<? super ObservableMap<K,V>> listener) |
static <K,V> MapExpressionHelper<K,V> |
MapExpressionHelper.addListener(MapExpressionHelper<K,V> helper,
ObservableMapValue<K,V> observable,
ChangeListener<? super ObservableMap<K,V>> listener) |
protected abstract MapExpressionHelper<K,V> |
MapExpressionHelper.removeListener(ChangeListener<? super ObservableMap<K,V>> listener) |
protected MapExpressionHelper<K,V> |
MapExpressionHelper.SingleInvalidation.removeListener(ChangeListener<? super ObservableMap<K,V>> listener) |
protected MapExpressionHelper<K,V> |
MapExpressionHelper.SingleChange.removeListener(ChangeListener<? super ObservableMap<K,V>> listener) |
protected MapExpressionHelper<K,V> |
MapExpressionHelper.SingleMapChange.removeListener(ChangeListener<? super ObservableMap<K,V>> listener) |
protected MapExpressionHelper<K,V> |
MapExpressionHelper.Generic.removeListener(ChangeListener<? super ObservableMap<K,V>> listener) |
static <K,V> MapExpressionHelper<K,V> |
MapExpressionHelper.removeListener(MapExpressionHelper<K,V> helper,
ChangeListener<? super ObservableMap<K,V>> listener) |
Constructor and Description |
---|
MapContentBinding(ObservableMap<K,V> list1,
ObservableMap<K,V> list2) |
MapContentBinding(ObservableMap<K,V> list1,
ObservableMap<K,V> list2) |
SimpleChange(ObservableMap<K,V> set) |
SimpleChange(ObservableMap<K,V> set,
MapChangeListener.Change<? extends K,? extends V> source) |
Constructor and Description |
---|
Generic(ObservableMapValue<K,V> observable,
ChangeListener<? super ObservableMap<K,V>> listener0,
ChangeListener<? super ObservableMap<K,V>> listener1) |
Generic(ObservableMapValue<K,V> observable,
ChangeListener<? super ObservableMap<K,V>> listener0,
ChangeListener<? super ObservableMap<K,V>> listener1) |
Generic(ObservableMapValue<K,V> observable,
ChangeListener<? super ObservableMap<K,V>> changeListener,
MapChangeListener<? super K,? super V> listChangeListener) |
Generic(ObservableMapValue<K,V> observable,
InvalidationListener invalidationListener,
ChangeListener<? super ObservableMap<K,V>> changeListener) |
SingleChange(ObservableMapValue<K,V> observable,
ChangeListener<? super ObservableMap<K,V>> listener) |
Modifier and Type | Class and Description |
---|---|
class |
ObservableMapWrapper<K,V>
A Map wrapper class that implements observability.
|
class |
UnmodifiableObservableMap<K,V>
ObservableMap wrapper that does not allow changes to the underlying container.
|
Modifier and Type | Field and Description |
---|---|
private ObservableMap<K,V> |
UnmodifiableObservableMap.backingMap |
Constructor and Description |
---|
MapAdapterChange(ObservableMap<K,V> map,
MapChangeListener.Change<? extends K,? extends V> change) |
UnmodifiableObservableMap(ObservableMap<K,V> map) |
Modifier and Type | Field and Description |
---|---|
private ObservableMap<KeyCombination,java.lang.Runnable> |
KeyboardShortcutsHandler.accelerators |
private ObservableMap<KeyCombination,ObservableList<Mnemonic>> |
KeyboardShortcutsHandler.mnemonics |
Modifier and Type | Method and Description |
---|---|
ObservableMap<KeyCombination,java.lang.Runnable> |
KeyboardShortcutsHandler.getAccelerators() |
ObservableMap<KeyCombination,ObservableList<Mnemonic>> |
KeyboardShortcutsHandler.getMnemonics() |
Modifier and Type | Field and Description |
---|---|
private ObservableMap<java.lang.String,Duration> |
Animation.cuePoints |
Modifier and Type | Method and Description |
---|---|
ObservableMap<java.lang.String,Duration> |
Animation.getCuePoints()
The cue points can be
used to mark important positions of the
Animation . |
Modifier and Type | Class and Description |
---|---|
class |
MapBinding<K,V>
Base class that provides most of the functionality needed to implement a
Binding of an ObservableMap . |
class |
MapExpression<K,V>
A
MapExpression is a
ObservableMapValue plus additional convenience
methods to generate bindings in a fluent style. |
private static class |
MapExpression.EmptyObservableMap<K,V> |
Modifier and Type | Field and Description |
---|---|
private static ObservableMap |
MapExpression.EMPTY_MAP |
private ObservableMap<K,V> |
MapBinding.value |
Modifier and Type | Method and Description |
---|---|
protected abstract ObservableMap<K,V> |
MapBinding.computeValue()
Calculates the current value of this binding.
|
ObservableMap<K,V> |
MapBinding.get()
Returns the result of
MapBinding.computeValue() . |
ObservableMap<K,V> |
MapExpression.getValue() |
Modifier and Type | Method and Description |
---|---|
static <K,V> void |
Bindings.bindContent(java.util.Map<K,V> map1,
ObservableMap<? extends K,? extends V> map2)
Generates a content binding between an
ObservableMap and a Map . |
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 of
ObservableMap . |
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 of
ObservableMap . |
static <K> BooleanBinding |
Bindings.booleanValueAt(ObservableMap<K,java.lang.Boolean> op,
K key)
Creates a new
BooleanBinding that contains the mapping of a specific key
in an ObservableMap . |
static <K> BooleanBinding |
Bindings.booleanValueAt(ObservableMap<K,java.lang.Boolean> op,
ObservableValue<? extends K> key)
Creates a new
BooleanBinding that contains the mapping of a specific key
in an ObservableMap . |
static <K> DoubleBinding |
Bindings.doubleValueAt(ObservableMap<K,? extends java.lang.Number> op,
K key)
Creates a new
DoubleBinding that contains the mapping of a specific key
in an ObservableMap . |
static <K> DoubleBinding |
Bindings.doubleValueAt(ObservableMap<K,? extends java.lang.Number> op,
ObservableValue<? extends K> key)
Creates a new
DoubleBinding that contains the mapping of a specific key
in an ObservableMap . |
static <K> FloatBinding |
Bindings.floatValueAt(ObservableMap<K,? extends java.lang.Number> op,
K key)
Creates a new
FloatBinding that contains the mapping of a specific key
in an ObservableMap . |
static <K> FloatBinding |
Bindings.floatValueAt(ObservableMap<K,? extends java.lang.Number> op,
ObservableValue<? extends K> key)
Creates a new
FloatBinding that contains the mapping of a specific key
in an ObservableMap . |
static <K> IntegerBinding |
Bindings.integerValueAt(ObservableMap<K,? extends java.lang.Number> op,
K key)
Creates a new
IntegerBinding that contains the mapping of a specific key
in an ObservableMap . |
static <K> IntegerBinding |
Bindings.integerValueAt(ObservableMap<K,? extends java.lang.Number> op,
ObservableValue<? extends K> key)
Creates a new
IntegerBinding that contains the mapping of a specific key
in an ObservableMap . |
static <K,V> BooleanBinding |
Bindings.isEmpty(ObservableMap<K,V> op)
|
BooleanBinding |
MapExpression.isEqualTo(ObservableMap<?,?> other)
|
static <K,V> BooleanBinding |
Bindings.isNotEmpty(ObservableMap<K,V> op)
|
BooleanBinding |
MapExpression.isNotEqualTo(ObservableMap<?,?> other)
|
static <K> LongBinding |
Bindings.longValueAt(ObservableMap<K,? extends java.lang.Number> op,
K key)
Creates a new
LongBinding that contains the mapping of a specific key
in an ObservableMap . |
static <K> LongBinding |
Bindings.longValueAt(ObservableMap<K,? extends java.lang.Number> op,
ObservableValue<? extends K> key)
Creates a new
LongBinding that contains the mapping of a specific key
in an ObservableMap . |
static <K,V> IntegerBinding |
Bindings.size(ObservableMap<K,V> op)
Creates a new
IntegerBinding that contains the size
of an ObservableMap . |
static <K> StringBinding |
Bindings.stringValueAt(ObservableMap<K,java.lang.String> op,
K key)
Creates a new
StringBinding that contains the mapping of a specific key
in an ObservableMap . |
static <K> StringBinding |
Bindings.stringValueAt(ObservableMap<K,java.lang.String> op,
ObservableValue<? extends K> key)
Creates a new
StringBinding that contains the mapping of a specific key
in an ObservableMap . |
static <K,V> ObjectBinding<V> |
Bindings.valueAt(ObservableMap<K,V> op,
K key)
Creates a new
ObjectBinding that contains the mapping of a specific key
in an ObservableMap . |
static <K,V> ObjectBinding<V> |
Bindings.valueAt(ObservableMap<K,V> op,
ObservableValue<? extends K> key)
Creates a new
ObjectBinding that contains the mapping of a specific key
in an ObservableMap . |
Modifier and Type | Method and Description |
---|---|
void |
MapBinding.addListener(ChangeListener<? super ObservableMap<K,V>> listener) |
void |
MapBinding.removeListener(ChangeListener<? super ObservableMap<K,V>> listener) |
Modifier and Type | Class and Description |
---|---|
class |
MapProperty<K,V>
This class provides a full implementation of a
Property wrapping a
ObservableMap . |
class |
MapPropertyBase<K,V>
The class
MapPropertyBase is the base class for a property
wrapping an ObservableMap . |
class |
ReadOnlyMapProperty<K,V>
Super class for all readonly properties wrapping an
ObservableMap . |
class |
ReadOnlyMapPropertyBase<K,V>
Base class for all readonly properties wrapping an
ObservableMap . |
class |
ReadOnlyMapWrapper<K,V>
This class provides a convenient class to define read-only properties.
|
private class |
ReadOnlyMapWrapper.ReadOnlyPropertyImpl |
class |
SimpleMapProperty<K,V>
This class provides a full implementation of a
Property wrapping an
ObservableMap . |
Modifier and Type | Field and Description |
---|---|
private ObservableMap<K,V> |
MapPropertyBase.value |
Modifier and Type | Field and Description |
---|---|
private ObservableValue<? extends ObservableMap<K,V>> |
MapPropertyBase.observable |
Modifier and Type | Method and Description |
---|---|
ObservableMap<K,V> |
MapPropertyBase.get() |
ObservableMap<K,V> |
ReadOnlyMapWrapper.ReadOnlyPropertyImpl.get() |
Modifier and Type | Method and Description |
---|---|
void |
ReadOnlyMapProperty.bindContent(ObservableMap<K,V> map)
Creates a content binding between the
ObservableMap , that is
wrapped in this ReadOnlyMapProperty , and another ObservableMap . |
void |
ReadOnlyMapProperty.bindContentBidirectional(ObservableMap<K,V> map)
Creates a bidirectional content binding of the
ObservableMap , that is
wrapped in this ReadOnlyMapProperty , and another ObservableMap . |
private void |
MapPropertyBase.markInvalid(ObservableMap<K,V> oldValue) |
void |
MapPropertyBase.set(ObservableMap<K,V> newValue) |
void |
MapProperty.setValue(ObservableMap<K,V> v)
Set the wrapped value.
|
Modifier and Type | Method and Description |
---|---|
void |
ReadOnlyMapPropertyBase.addListener(ChangeListener<? super ObservableMap<K,V>> listener) |
void |
MapPropertyBase.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 this
Property and another
one. |
void |
ReadOnlyMapPropertyBase.removeListener(ChangeListener<? super ObservableMap<K,V>> listener) |
void |
MapPropertyBase.removeListener(ChangeListener<? super ObservableMap<K,V>> listener) |
void |
MapProperty.unbindBidirectional(Property<ObservableMap<K,V>> other)
Remove a bidirectional binding between this
Property and another
one. |
Constructor and Description |
---|
MapPropertyBase(ObservableMap<K,V> initialValue)
The constructor of the
MapPropertyBase . |
ReadOnlyMapWrapper(java.lang.Object bean,
java.lang.String name,
ObservableMap<K,V> initialValue)
The constructor of
ReadOnlyMapWrapper |
ReadOnlyMapWrapper(ObservableMap<K,V> initialValue)
The constructor of
ReadOnlyMapWrapper |
SimpleMapProperty(java.lang.Object bean,
java.lang.String name,
ObservableMap<K,V> initialValue)
The constructor of
SimpleMapProperty |
SimpleMapProperty(ObservableMap<K,V> initialValue)
The constructor of
SimpleMapProperty |
Modifier and Type | Interface and Description |
---|---|
interface |
ObservableMapValue<K,V>
An observable reference to an
ObservableMap . |
interface |
WritableMapValue<K,V>
A writable reference to an
ObservableMap . |
Modifier and Type | Class and Description |
---|---|
private static class |
FXCollections.CheckedObservableMap<K,V> |
private static class |
FXCollections.EmptyObservableMap<K,V> |
private static class |
FXCollections.SynchronizedObservableMap<K,V> |
Modifier and Type | Field and Description |
---|---|
private ObservableMap<K,V> |
FXCollections.CheckedObservableMap.backingMap |
private ObservableMap<K,V> |
FXCollections.SynchronizedObservableMap.backingMap |
private static ObservableMap |
FXCollections.EMPTY_OBSERVABLE_MAP |
private ObservableMap<K,V> |
MapChangeListener.Change.map |
Modifier and Type | Method and Description |
---|---|
static <K,V> ObservableMap<K,V> |
FXCollections.checkedObservableMap(ObservableMap<K,V> map,
java.lang.Class<K> keyType,
java.lang.Class<V> valueType)
Creates and returns a typesafe wrapper on top of provided observable map.
|
static <K,V> ObservableMap<K,V> |
FXCollections.emptyObservableMap()
Creates and empty unmodifiable observable map.
|
ObservableMap<K,V> |
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(java.util.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.
|
Modifier and Type | Method and Description |
---|---|
static <K,V> ObservableMap<K,V> |
FXCollections.checkedObservableMap(ObservableMap<K,V> map,
java.lang.Class<K> keyType,
java.lang.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.
|
Constructor and Description |
---|
Change(ObservableMap<K,V> map)
Constructs a change associated with a map.
|
CheckedObservableMap(ObservableMap<K,V> map,
java.lang.Class<K> keyType,
java.lang.Class<V> valueType) |
SynchronizedObservableMap(ObservableMap<K,V> map) |
SynchronizedObservableMap(ObservableMap<K,V> map,
java.lang.Object mutex) |
Modifier and Type | Field and Description |
---|---|
private ObservableMap<java.lang.String,java.lang.Object> |
FXMLLoader.namespace |
Modifier and Type | Method and Description |
---|---|
ObservableMap<java.lang.String,java.lang.Object> |
FXMLLoader.getNamespace()
Returns the namespace used by this loader.
|
Modifier and Type | Field and Description |
---|---|
private ObservableMap<java.lang.Object,java.lang.Object> |
Scene.properties |
private ObservableMap<java.lang.Object,java.lang.Object> |
Node.properties |
Modifier and Type | Method and Description |
---|---|
ObservableMap<KeyCombination,java.lang.Runnable> |
Scene.getAccelerators()
Gets the list of accelerators for this
Scene . |
ObservableMap<KeyCombination,ObservableList<Mnemonic>> |
Scene.getMnemonics()
Gets the list of mnemonics for this
Scene . |
ObservableMap<java.lang.Object,java.lang.Object> |
Scene.getProperties()
Returns an observable map of properties on this node for use primarily
by application developers.
|
ObservableMap<java.lang.Object,java.lang.Object> |
Node.getProperties()
Returns an observable map of properties on this node for use primarily
by application developers.
|
ObservableMap<StyleableProperty<?>,java.util.List<Style>> |
Node.impl_getStyleMap()
Deprecated.
This is an experimental API that is not intended for general use and is subject to change in future versions
|
Modifier and Type | Method and Description |
---|---|
void |
Node.impl_setStyleMap(ObservableMap<StyleableProperty<?>,java.util.List<Style>> styleMap)
Deprecated.
This is an experimental API that is not intended for general use and is subject to change in future versions
|
Modifier and Type | Field and Description |
---|---|
private ObservableMap<java.lang.Object,java.lang.Object> |
MenuItem.properties |
private ObservableMap<java.lang.Object,java.lang.Object> |
ToggleGroup.properties |
private ObservableMap<java.lang.Object,java.lang.Object> |
Tab.properties |
private ObservableMap<java.lang.Object,java.lang.Object> |
TableColumnBase.properties |
Modifier and Type | Method and Description |
---|---|
ObservableMap<java.lang.Object,java.lang.Object> |
MenuItem.getProperties()
Returns an observable map of properties on this menu item for use primarily
by application developers.
|
ObservableMap<java.lang.Object,java.lang.Object> |
ToggleGroup.getProperties()
Returns an observable map of properties on this node for use primarily
by application developers.
|
ObservableMap<java.lang.Object,java.lang.Object> |
Tab.getProperties()
Returns an observable map of properties on this Tab for use primarily
by application developers.
|
ObservableMap<java.lang.Object,java.lang.Object> |
Toggle.getProperties()
Returns an observable map of properties on this toggle for use primarily
by application developers.
|
ObservableMap<java.lang.Object,java.lang.Object> |
TableColumnBase.getProperties()
Returns an observable map of properties on this table column for use
primarily by application developers.
|
Modifier and Type | Field and Description |
---|---|
private ObservableMap<java.lang.String,Duration> |
Media.markers
The markers defined on this media source.
|
private ObservableMap<java.lang.String,java.lang.Object> |
Media.metadata
An
ObservableMap of metadata which can contain information about
the media. |
private ObservableMap<java.lang.String,java.lang.Object> |
Media.metadataBacking |
Modifier and Type | Method and Description |
---|---|
ObservableMap<java.lang.String,Duration> |
Media.getMarkers()
Retrieve the markers defined on this
Media instance. |
ObservableMap<java.lang.String,java.lang.Object> |
Media.getMetadata()
Retrieve the metadata contained in this media source.
|
Modifier and Type | Field and Description |
---|---|
private ObservableMap<java.lang.Object,java.lang.Object> |
Window.properties |
Modifier and Type | Method and Description |
---|---|
ObservableMap<java.lang.Object,java.lang.Object> |
Window.getProperties()
Returns an observable map of properties on this node for use primarily
by application developers.
|