Package com.sun.javafx.binding
Class ListExpressionHelper<E>
java.lang.Object
com.sun.javafx.binding.ExpressionHelperBase
com.sun.javafx.binding.ListExpressionHelper<E>
A convenience class for creating implementations of
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.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <E> ListExpressionHelper<E>
addListener
(ListExpressionHelper<E> helper, ObservableListValue<E> observable, InvalidationListener listener) static <E> ListExpressionHelper<E>
addListener
(ListExpressionHelper<E> helper, ObservableListValue<E> observable, ChangeListener<? super ObservableList<E>> listener) static <E> ListExpressionHelper<E>
addListener
(ListExpressionHelper<E> helper, ObservableListValue<E> observable, ListChangeListener<? super E> listener) protected abstract ListExpressionHelper<E>
addListener
(InvalidationListener listener) protected abstract ListExpressionHelper<E>
addListener
(ChangeListener<? super ObservableList<E>> listener) protected abstract ListExpressionHelper<E>
addListener
(ListChangeListener<? super E> listener) protected abstract void
static <E> void
fireValueChangedEvent
(ListExpressionHelper<E> helper) static <E> void
fireValueChangedEvent
(ListExpressionHelper<E> helper, ListChangeListener.Change<? extends E> change) protected abstract void
fireValueChangedEvent
(ListChangeListener.Change<? extends E> change) static <E> ListExpressionHelper<E>
removeListener
(ListExpressionHelper<E> helper, InvalidationListener listener) static <E> ListExpressionHelper<E>
removeListener
(ListExpressionHelper<E> helper, ChangeListener<? super ObservableList<E>> listener) static <E> ListExpressionHelper<E>
removeListener
(ListExpressionHelper<E> helper, ListChangeListener<? super E> listener) protected abstract ListExpressionHelper<E>
removeListener
(InvalidationListener listener) protected abstract ListExpressionHelper<E>
removeListener
(ChangeListener<? super ObservableList<E>> listener) protected abstract ListExpressionHelper<E>
removeListener
(ListChangeListener<? super E> listener) Methods inherited from class com.sun.javafx.binding.ExpressionHelperBase
trim
-
Field Details
-
observable
-
-
Constructor Details
-
ListExpressionHelper
-
-
Method Details
-
addListener
public static <E> ListExpressionHelper<E> addListener(ListExpressionHelper<E> helper, ObservableListValue<E> observable, InvalidationListener listener) -
removeListener
public static <E> ListExpressionHelper<E> removeListener(ListExpressionHelper<E> helper, InvalidationListener listener) -
addListener
public static <E> ListExpressionHelper<E> addListener(ListExpressionHelper<E> helper, ObservableListValue<E> observable, ChangeListener<? super ObservableList<E>> listener) -
removeListener
public static <E> ListExpressionHelper<E> removeListener(ListExpressionHelper<E> helper, ChangeListener<? super ObservableList<E>> listener) -
addListener
public static <E> ListExpressionHelper<E> addListener(ListExpressionHelper<E> helper, ObservableListValue<E> observable, ListChangeListener<? super E> listener) -
removeListener
public static <E> ListExpressionHelper<E> removeListener(ListExpressionHelper<E> helper, ListChangeListener<? super E> listener) -
fireValueChangedEvent
-
fireValueChangedEvent
public static <E> void fireValueChangedEvent(ListExpressionHelper<E> helper, ListChangeListener.Change<? extends E> change) -
addListener
-
removeListener
-
addListener
protected abstract ListExpressionHelper<E> addListener(ChangeListener<? super ObservableList<E>> listener) -
removeListener
protected abstract ListExpressionHelper<E> removeListener(ChangeListener<? super ObservableList<E>> listener) -
addListener
-
removeListener
-
fireValueChangedEvent
protected abstract void fireValueChangedEvent() -
fireValueChangedEvent
-