public abstract class ExpressionHelper<T> extends ExpressionHelperBase
ObservableValue
.
It contains all of the infrastructure support for value invalidation- and
change event notification.
This implementation can handle adding and removing listeners while the
observers are being notified, but it is not thread-safe.Modifier and Type | Field and Description |
---|---|
protected ObservableValue<T> |
observable |
trim
protected final ObservableValue<T> observable
public static <T> ExpressionHelper<T> addListener(ExpressionHelper<T> helper, ObservableValue<T> observable, InvalidationListener listener)
public static <T> ExpressionHelper<T> removeListener(ExpressionHelper<T> helper, InvalidationListener listener)
public static <T> ExpressionHelper<T> addListener(ExpressionHelper<T> helper, ObservableValue<T> observable, ChangeListener<? super T> listener)
public static <T> ExpressionHelper<T> removeListener(ExpressionHelper<T> helper, ChangeListener<? super T> listener)
public static <T> void fireValueChangedEvent(ExpressionHelper<T> helper)
protected abstract ExpressionHelper<T> addListener(InvalidationListener listener)
protected abstract ExpressionHelper<T> removeListener(InvalidationListener listener)
protected abstract ExpressionHelper<T> addListener(ChangeListener<? super T> listener)
protected abstract ExpressionHelper<T> removeListener(ChangeListener<? super T> listener)
protected abstract void fireValueChangedEvent()
Copyright © 2020. All rights reserved.