Spec-Zone.ru › OpenJavaFX 24

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
public interface ReadOnlyJavaBeanProperty<T> extends ReadOnlyProperty<T>
JavaBeanProperty is the super interface of all adapters between readonly Java Bean properties and JavaFX properties.
Since:
JavaFX 2.1

Method Summary

Modifier and Type Method Description
void dispose()
Signals to the JavaFX property that it will not be used anymore and any references can be removed.
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.

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).

Report a bug or suggest an enhancement
Copyright © 2008, 2025, Oracle and/or its affiliates. All rights reserved.

© 2008, 2025, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from JavaFX API Documentation.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Java, JavaFX and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API