V - is the generic type of the value.public abstract class AbstractRegularProperty<V> extends AbstractValueProperty<V>
WritableProperty. Here regular means that the
value type is not special such as a Collection.AbstractProperty.PropertyBuilder<T extends AbstractProperty<? extends V>>| Modifier and Type | Field and Description |
|---|---|
private com.sun.javafx.binding.ExpressionHelper<V> |
helper |
NO_PROPERTIESPROPERTY_TYPE| Constructor and Description |
|---|
AbstractRegularProperty(String name,
Bean bean)
The constructor.
|
AbstractRegularProperty(String name,
Bean bean,
AbstractValidator<? super V> validator)
The constructor.
|
AbstractRegularProperty(String name,
Bean bean,
Supplier<? extends V> expression)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(javafx.beans.value.ChangeListener<? super V> listener) |
void |
addListener(javafx.beans.InvalidationListener listener) |
protected void |
fireValueChangedEvent()
Sends notifications to all attached
InvalidationListeners and
ChangeListeners. |
void |
removeListener(javafx.beans.value.ChangeListener<? super V> listener) |
void |
removeListener(javafx.beans.InvalidationListener listener) |
bind, bindBidirectional, bindInternal, clearValidationResult, copy, doGetValue, doSetValue, equals, getReadOnly, getValue, hashCode, invalidated, isBound, isReadOnly, isValid, markInvalid, requireWritable, setValue, unbind, unbindBidirectional, validateassignValueFrom, clone, copy, copy, copy, copy, copy, getBean, getJsonUtil, getName, getValidator, isMandatory, toJson, toJson, toString, withValdidator, withValdidatorfinalize, getClass, notify, notifyAll, wait, wait, waitgetReadOnlygetTypefromJsonprivate com.sun.javafx.binding.ExpressionHelper<V> helper
public AbstractRegularProperty(String name, Bean bean)
name - - see AbstractProperty.getName().bean - - see AbstractProperty.getBean().public AbstractRegularProperty(String name, Bean bean, AbstractValidator<? super V> validator)
name - - see AbstractProperty.getName().bean - - see AbstractProperty.getBean().validator - - see AbstractValueProperty.validate().public AbstractRegularProperty(String name, Bean bean, Supplier<? extends V> expression)
name - - see AbstractProperty.getName().bean - - see AbstractProperty.getBean().expression - the Supplier providing the actual value.public void addListener(javafx.beans.value.ChangeListener<? super V> listener)
public void removeListener(javafx.beans.value.ChangeListener<? super V> listener)
public void addListener(javafx.beans.InvalidationListener listener)
public void removeListener(javafx.beans.InvalidationListener listener)
protected void fireValueChangedEvent()
AbstractPropertyInvalidationListeners and
ChangeListeners.
This method is called when the value is changed, either manually by calling WritableValue.setValue(Object) or in case of
a bound property, if the binding becomes invalid.fireValueChangedEvent in class AbstractProperty<V>Copyright © 2001–2016 mmm-Team. All rights reserved.