javafx.beans.value
contains the two
fundamental interfaces ObservableValue
and WritableValue
and all of its sub-interfaces.See: Description
Interface | Description |
---|---|
ChangeListener<T> |
A
ChangeListener is notified whenever the value of an
ObservableValue changes. |
ObservableBooleanValue |
An observable boolean value.
|
ObservableDoubleValue |
An observable double value.
|
ObservableFloatValue |
An observable float value.
|
ObservableIntegerValue |
An observable integer value.
|
ObservableListValue<E> |
An observable reference to an
ObservableList . |
ObservableLongValue |
An observable long value.
|
ObservableMapValue<K,V> |
An observable reference to an
ObservableMap . |
ObservableNumberValue |
A common interface of all sub-interfaces of
ObservableValue that wrap
a number. |
ObservableObjectValue<T> |
An observable typed
Object value. |
ObservableSetValue<E> |
An observable reference to an
ObservableSet . |
ObservableStringValue |
An observable String value.
|
ObservableValue<T> |
An
ObservableValue is an entity that wraps a value and allows to
observe the value for changes. |
WritableBooleanValue |
A writable boolean value.
|
WritableDoubleValue |
A writable double value.
|
WritableFloatValue |
A writable float value.
|
WritableIntegerValue |
A writable int value.
|
WritableListValue<E> |
A writable reference to an
ObservableList . |
WritableLongValue |
A writable long value.
|
WritableMapValue<K,V> |
A writable reference to an
ObservableMap . |
WritableNumberValue |
A tagging interface that marks all sub-interfaces of
WritableValue
that wrap a number. |
WritableObjectValue<T> |
A writable typed value.
|
WritableSetValue<E> |
A writable reference to an
ObservableSet . |
WritableStringValue |
A writable String.
|
WritableValue<T> |
A
WritableValue is an entity that wraps a value that can be read and
set. |
Class | Description |
---|---|
ObservableValueBase<T> |
A convenience class for creating implementations of
ObservableValue . |
WeakChangeListener<T> |
A
WeakChangeListener can be used, if an ObservableValue
should only maintain a weak reference to the listener. |
The package javafx.beans.value
contains the two
fundamental interfaces ObservableValue
and WritableValue
and all of its sub-interfaces.
InvalidationListener
or ChangeListener
. To allow
working with primitive types directly a number of sub-interfaces are
defined.
Type | Sub-interface of ObservableValue |
---|---|
boolean |
ObservableBooleanValue |
double |
ObservableDoubleValue |
float |
ObservableFloatValue |
int |
ObservableIntegerValue |
long |
ObservableLongValue |
double , float , int , long |
ObservableNumberValue |
Object |
ObservableObjectValue |
String |
ObservableStringValue |
ObservableValues
, a number of sub-interfaces are defined to work with
primitive types directly.
Type | Sub-interface of WritableValue |
---|---|
boolean |
WritableBooleanValue |
double |
WritableDoubleValue |
float |
WritableFloatValue |
int |
WritableIntegerValue |
long |
WritableLongValue |
double , float , int , long |
WritableNumberValue |
Object |
WritableObjectValue |
String |
WritableStringValue |
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.