T - Type of property value.public interface ReadableProperty<T>
ReadablePropertyChangeListeners.
If you are using JavaFX, you should better use JavaFX's property binding mechanism. The binding mechanism provided by
the ValidationFramework is mostly meant for Swing and other frameworks that can benefit from it. JavaFX has a much
more furnished API to achieve similar goals and much more.WritableProperty| Modifier and Type | Method and Description |
|---|---|
void |
addChangeListener(ReadablePropertyChangeListener<T> listener)
Adds a
WritableProperty as a slave. |
T |
getValue()
Gets the value of the property.
|
void |
removeChangeListener(ReadablePropertyChangeListener<T> listener)
Removes the
WritableProperty. |
void addChangeListener(ReadablePropertyChangeListener<T> listener)
WritableProperty as a slave.
Anytime readable property value changes, the slaved WritablePropertys will also be set.listener - WritableProperty to be slaved.void removeChangeListener(ReadablePropertyChangeListener<T> listener)
WritableProperty.listener - WritableProperty that should no longer be slaved.T getValue()
WritableProperty that is bound to it.Copyright © 2013. All Rights Reserved.