Class AsynchronousList<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 AsynchronousList<T>
    extends ObservableArrayList<T>
    ObservableList that updates itself to match 'source' list from another thread.
    • Constructor Detail

      • AsynchronousList

        public AsynchronousList​(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.