javafx.beans.property
Class ReadOnlyObjectProperty<T>
- javafx.beans.binding.ObjectExpression<T>
-
- javafx.beans.property.ReadOnlyObjectProperty<T>
Type Parameters:
T - the type of the wrapped Object
All Implemented Interfaces:
Observable, ReadOnlyProperty<T>, ObservableObjectValue<T>, ObservableValue<T>
Direct Known Subclasses:
public abstract class ReadOnlyObjectProperty<T> extends ObjectExpression<T> implements ReadOnlyProperty<T>
Super class for all readonly properties wrapping an arbitrary
Object. For specialized implementations for ObservableList, ObservableSet and ObservableMap that also report changes inside the collections, see ReadOnlyListProperty, ReadOnlySetProperty and ReadOnlyMapProperty, respectively.Since:
JavaFX 2.0
See Also:
-
Constructor Summary
Constructors Constructor and Description ReadOnlyObjectProperty()The constructor ofReadOnlyObjectProperty.
-
Method Summary
All MethodsInstance MethodsConcrete Methods Modifier and Type Method and Description StringtoString()Returns a string representation of thisReadOnlyObjectPropertyobject.-
Methods inherited from class javafx.beans.binding.ObjectExpression
asString, asString, asString, getValue, isEqualTo, isEqualTo, isNotEqualTo, isNotEqualTo, isNotNull, isNull, objectExpression
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface javafx.beans.property.ReadOnlyProperty
getBean, getName
-
Methods inherited from interface javafx.beans.value.ObservableValue
addListener, getValue, removeListener
-
Methods inherited from interface javafx.beans.Observable
addListener, removeListener
-
Methods inherited from interface javafx.beans.value.ObservableObjectValue
get
-
-
Constructor Detail
-
ReadOnlyObjectProperty
public ReadOnlyObjectProperty()
The constructor ofReadOnlyObjectProperty.
-
-
Method Detail
-
toString
public String toString()
Returns a string representation of thisReadOnlyObjectPropertyobject.
-
© 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.