Package | Description |
---|---|
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 | Method and Description |
---|---|
ObservableMap<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. |
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(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,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,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 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 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 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 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 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 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 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 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,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,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.
|
class |
SimpleMapProperty<K,V>
This class provides a full implementation of a
Property wrapping an
ObservableMap . |
Modifier and Type | Method and Description |
---|---|
ObservableMap<K,V> |
MapPropertyBase.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 . |
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 |
MapPropertyBase.addListener(ChangeListener<? super ObservableMap<K,V>> listener) |
void |
ReadOnlyMapPropertyBase.addListener(ChangeListener<? super ObservableMap<K,V>> listener) |
void |
ReadOnlyMapWrapper.addListener(ChangeListener<? super ObservableMap<K,V>> listener)
Adds a
ChangeListener which will be notified whenever the value
of the ObservableValue changes. |
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 |
MapPropertyBase.removeListener(ChangeListener<? super ObservableMap<K,V>> listener) |
void |
ReadOnlyMapPropertyBase.removeListener(ChangeListener<? super ObservableMap<K,V>> listener) |
void |
ReadOnlyMapWrapper.removeListener(ChangeListener<? super ObservableMap<K,V>> listener)
Removes the given listener from the list of listeners, that are notified
whenever the value of the
ObservableValue changes. |
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(Object bean,
String name,
ObservableMap<K,V> initialValue)
The constructor of
ReadOnlyMapWrapper |
ReadOnlyMapWrapper(ObservableMap<K,V> initialValue)
The constructor of
ReadOnlyMapWrapper |
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 | 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 | Method and Description |
---|---|
static <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 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(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,
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.
|
Constructor and Description |
---|
Change(ObservableMap<K,V> map)
Constructs a change associated with a map.
|
Modifier and Type | Method and Description |
---|---|
ObservableMap<String,Object> |
FXMLLoader.getNamespace()
Returns the namespace used by this loader.
|
Modifier and Type | Method and Description |
---|---|
ObservableMap<KeyCombination,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<Object,Object> |
Node.getProperties()
Returns an observable map of properties on this node for use primarily
by application developers.
|
ObservableMap<Object,Object> |
Scene.getProperties()
Returns an observable map of properties on this node for use primarily
by application developers.
|
ObservableMap<StyleableProperty<?>,List<com.sun.javafx.css.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<?>,List<com.sun.javafx.css.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 | Method and Description |
---|---|
ObservableMap<Object,Object> |
MenuItem.getProperties()
Returns an observable map of properties on this menu item for use primarily
by application developers.
|
ObservableMap<Object,Object> |
Tab.getProperties()
Returns an observable map of properties on this Tab for use primarily
by application developers.
|
ObservableMap<Object,Object> |
TableColumnBase.getProperties()
Returns an observable map of properties on this table column for use
primarily by application developers.
|
ObservableMap<Object,Object> |
Toggle.getProperties()
Returns an observable map of properties on this toggle for use primarily
by application developers.
|
ObservableMap<Object,Object> |
ToggleGroup.getProperties()
Returns an observable map of properties on this node for use primarily
by application developers.
|
Modifier and Type | Method and Description |
---|---|
ObservableMap<String,Duration> |
Media.getMarkers()
Retrieve the markers defined on this
Media instance. |
ObservableMap<String,Object> |
Media.getMetadata()
Retrieve the metadata contained in this media source.
|
Modifier and Type | Method and Description |
---|---|
ObservableMap<Object,Object> |
Window.getProperties()
Returns an observable map of properties on this node for use primarily
by application developers.
|
Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.