- java.lang.Object
-
- ilusr.core.javafx.ObservableListBinder<T>
-
- Type Parameters:
T
- The type of the bound @see ObservableList Provides a one way binding from a source @see ObservableList to a target @see ObservableList of the same type.
- All Implemented Interfaces:
javafx.collections.ListChangeListener<T>
public class ObservableListBinder<T> extends Object implements javafx.collections.ListChangeListener<T>
- Author:
- Jeff Riggle
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface javafx.collections.ListChangeListener
javafx.collections.ListChangeListener.Change<E extends Object>
-
-
Constructor Summary
Constructors Constructor Description ObservableListBinder(javafx.collections.ObservableList<T> source, javafx.collections.ObservableList<T> target)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
bindSourceToTarget()
void
onChanged(javafx.collections.ListChangeListener.Change<? extends T> c)
void
unbind()
Unbinds the lists so that the target list will no longer receive updates from the source list.
-