Interface ReadOnlyJavaBeanProperty<T>
- Type Parameters:
T
- The type of the wrapped property
- All Superinterfaces:
Observable
,ObservableValue<T>
,ReadOnlyProperty<T>
- All Known Subinterfaces:
JavaBeanProperty<T>
- All Known Implementing Classes:
JavaBeanBooleanProperty
,JavaBeanDoubleProperty
,JavaBeanFloatProperty
,JavaBeanIntegerProperty
,JavaBeanLongProperty
,JavaBeanObjectProperty
,JavaBeanStringProperty
,ReadOnlyJavaBeanBooleanProperty
,ReadOnlyJavaBeanDoubleProperty
,ReadOnlyJavaBeanFloatProperty
,ReadOnlyJavaBeanIntegerProperty
,ReadOnlyJavaBeanLongProperty
,ReadOnlyJavaBeanObjectProperty
,ReadOnlyJavaBeanStringProperty
JavaBeanProperty
is the super interface of all adapters between
readonly Java Bean properties and JavaFX properties.- Since:
- JavaFX 2.1
-
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
Signals to the JavaFX property that it will not be used anymore and any references can be removed.void
This method can be called to notify the adapter of a change of the Java Bean value, if the Java Bean property is not bound (i.e.Methods declared in interface javafx.beans.Observable
addListener, removeListener, subscribe
Methods declared in interface javafx.beans.value.ObservableValue
addListener, flatMap, getValue, map, orElse, removeListener, subscribe, subscribe, when
Methods declared in interface javafx.beans.property.ReadOnlyProperty
getBean, getName
-
Method Details
-
fireValueChangedEvent
void fireValueChangedEvent()This method can be called to notify the adapter of a change of the Java Bean value, if the Java Bean property is not bound (i.e. it does not support PropertyChangeListeners). -
dispose
void dispose()Signals to the JavaFX property that it will not be used anymore and any references can be removed. A call of this method usually results in the property stopping to observe the Java Bean property by unregistering its listener(s).
-