java.lang.Object
eu.hansolo.toolbox.properties.ReadOnlyProperty<T>
eu.hansolo.toolbox.properties.ReadOnlyObjectProperty<T>
eu.hansolo.toolbox.properties.ObjectProperty<T>
-
Field Summary
FieldsFields inherited from class eu.hansolo.toolbox.properties.ReadOnlyObjectProperty
bidirectional, propertyToUpdateFields inherited from class eu.hansolo.toolbox.properties.ReadOnlyProperty
bean, initialValue, name, observers, value -
Constructor Summary
ConstructorsConstructorDescriptionObjectProperty(Object bean, String name, T value) ObjectProperty(String name, T value) ObjectProperty(T value) -
Method Summary
Modifier and TypeMethodDescriptionvoidbind(ReadOnlyObjectProperty<T> property) voidbindBidirectional(ObjectProperty<T> property) booleanisBound()booleanvoidvoidsetInitialValue(T initialValue) protected voidsetPropertyToUpdate(ObjectProperty<T> property, boolean bidirectional) voidprotected voidsetValue(T value, ObjectProperty<T> property) voidunbind()voidunset()Methods inherited from class eu.hansolo.toolbox.properties.ReadOnlyObjectProperty
get, setPropertyToUpdate, unsetPropertyToUpdateMethods inherited from class eu.hansolo.toolbox.properties.ReadOnlyProperty
addObserver, addOnChange, didChange, fireEvent, getBean, getInitialValue, getName, getValue, invalidated, isSet, removeAllObservers, removeObserver, setPropertyToUpdate, willChange
-
Field Details
-
propertyBoundTo
-
bound
protected boolean bound
-
-
Constructor Details
-
ObjectProperty
public ObjectProperty() -
ObjectProperty
-
ObjectProperty
-
ObjectProperty
-
-
Method Details
-
setValue
-
set
-
setValue
-
unset
public void unset() -
setInitialValue
-
bind
-
isBound
public boolean isBound() -
bindBidirectional
-
isBoundBidirectional
public boolean isBoundBidirectional() -
unbind
public void unbind() -
setPropertyToUpdate
-