- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- javafx.collections.ObservableListBase<E>
-
- javafx.collections.ModifiableObservableListBase<T>
-
- com.iamsoft.util.ui.javafx.collections.DefaultObservableList<E>
-
- com.iamsoft.util.ui.javafx.collections.ObservableArrayList<T>
-
- com.iamsoft.util.ui.javafx.collections.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.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.iamsoft.util.ui.javafx.collections.ObservableArrayList
ObservableArrayList.Exposed<E>
-
-
Field Summary
-
Fields inherited from class java.util.AbstractList
modCount
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidbeginSrcChange()Start a transaction on source list.protected voidendSrcChange()End a transaction on source list.Tget(int pIdx)intsize()-
Methods inherited from class com.iamsoft.util.ui.javafx.collections.ObservableArrayList
addAll, addAll, removeRange
-
Methods inherited from class com.iamsoft.util.ui.javafx.collections.DefaultObservableList
addElementObserver, addElementObservers, clear, contains, doAdd, doRemove, doSet, getDelegate, indexOf, lastIndexOf, permutate, removeElementObserver, removeElementObservers, resetElementObserver
-
Methods inherited from class javafx.collections.ModifiableObservableListBase
add, remove, remove, removeAll, retainAll, set, setAll, subList
-
Methods inherited from class javafx.collections.ObservableListBase
addAll, addListener, addListener, beginChange, endChange, fireChange, hasListeners, nextAdd, nextPermutation, nextRemove, nextRemove, nextReplace, nextSet, nextUpdate, remove, removeAll, removeListener, removeListener, retainAll, setAll
-
Methods inherited from class java.util.AbstractList
add, equals, hashCode, iterator, listIterator, listIterator
-
Methods inherited from class java.util.AbstractCollection
containsAll, isEmpty, toArray, toArray, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.List
add, add, containsAll, equals, hashCode, isEmpty, iterator, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, sort, spliterator, subList, toArray, toArray
-
-
-
-
Method Detail
-
get
public T get(int pIdx)
-
size
public int size()
- Specified by:
sizein interfaceCollection<T>- Specified by:
sizein interfaceList<T>- Overrides:
sizein classDefaultObservableList<T>
-
beginSrcChange
protected void beginSrcChange()
Start a transaction on source list.
-
endSrcChange
protected void endSrcChange()
End a transaction on source list.
-
-