Class AsynchronousList2<T>

  • Type Parameters:
    T - List element type.
    All Implemented Interfaces:
    PermutableObservableList<T>, Iterable<T>, Collection<T>, List<T>, javafx.beans.Observable, javafx.collections.ObservableList<T>

    public class AsynchronousList2<T>
    extends ObservableArrayList<T>
    ObservableList that updates itself to match 'source' list from another thread.
    • Constructor Detail

      • AsynchronousList2

        public AsynchronousList2​(javafx.collections.ObservableList<T> pSourceList,
                                 Consumer<Runnable> pSourceThreadScheduler,
                                 Consumer<Runnable> pTargetThreadScheduler)
    • Method Detail

      • beginSrcChange

        protected void beginSrcChange()
        Start a transaction on source list.
      • endSrcChange

        protected void endSrcChange()
        End a transaction on source list.