Module javafx.base

Class StringProperty

java.lang.Object
All Implemented Interfaces:
Observable, Property<String>, ReadOnlyProperty<String>, ObservableObjectValue<String>, ObservableStringValue, ObservableValue<String>, WritableObjectValue<String>, WritableStringValue, WritableValue<String>
Direct Known Subclasses:
JavaBeanStringProperty, StringPropertyBase

public abstract class StringProperty extends ReadOnlyStringProperty implements Property<String>, WritableStringValue
This class provides a full implementation of a Property wrapping a String value. The value of a StringProperty can be get and set with ObservableObjectValue.get(), StringExpression.getValue(), WritableObjectValue.set(Object), and setValue(String). A property can be bound and unbound unidirectional with Property.bind(ObservableValue) and Property.unbind(). Bidirectional bindings can be created and removed with bindBidirectional(Property) and unbindBidirectional(Property). The context of a StringProperty can be read with ReadOnlyProperty.getBean() and ReadOnlyProperty.getName().
Since:
JavaFX 2.0
See Also: