java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
javafx.collections.ObservableListBase<E>
javafx.collections.ModifiableObservableListBase<E>
atlantafx.base.shim.collections.ObservableListWrapper<E>
- All Implemented Interfaces:
Iterable<E>
,Collection<E>
,List<E>
,RandomAccess
,SequencedCollection<E>
,javafx.beans.Observable
,javafx.collections.ObservableList<E>
- Direct Known Subclasses:
ReorderableList
public class ObservableListWrapper<E>
extends javafx.collections.ModifiableObservableListBase<E>
implements RandomAccess
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
ConstructorsConstructorDescriptionObservableListWrapper
(List<E> list) ObservableListWrapper
(List<E> list, javafx.util.Callback<E, javafx.beans.Observable[]> extractor) -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
boolean
boolean
containsAll
(Collection<?> c) protected void
protected E
doRemove
(int index) protected E
get
(int index) int
int
void
remove
(int fromIndex, int toIndex) boolean
removeAll
(Collection<?> c) boolean
retainAll
(Collection<?> c) int
size()
Methods inherited from class javafx.collections.ModifiableObservableListBase
add, addAll, addAll, remove, remove, removeRange, set, setAll, subList
Methods inherited from class javafx.collections.ObservableListBase
addAll, addListener, addListener, beginChange, endChange, fireChange, hasListeners, nextAdd, nextPermutation, nextRemove, nextRemove, nextReplace, nextSet, nextUpdate, 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
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, addFirst, addLast, equals, getFirst, getLast, hashCode, isEmpty, iterator, listIterator, listIterator, removeFirst, removeLast, replaceAll, reversed, sort, spliterator, toArray, toArray
Methods inherited from interface javafx.beans.Observable
subscribe
Methods inherited from interface javafx.collections.ObservableList
filtered, sorted, sorted
-
Constructor Details
-
ObservableListWrapper
-
ObservableListWrapper
-
-
Method Details
-
get
-
size
-
doAdd
-
doSet
-
doRemove
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOf
in interfaceList<E>
- Overrides:
lastIndexOf
in classAbstractList<E>
-
contains
- Specified by:
contains
in interfaceCollection<E>
- Specified by:
contains
in interfaceList<E>
- Overrides:
contains
in classAbstractCollection<E>
-
containsAll
- Specified by:
containsAll
in interfaceCollection<E>
- Specified by:
containsAll
in interfaceList<E>
- Overrides:
containsAll
in classAbstractCollection<E>
-
clear
public void clear()- Specified by:
clear
in interfaceCollection<E>
- Specified by:
clear
in interfaceList<E>
- Overrides:
clear
in classAbstractList<E>
-
remove
-
removeAll
-
retainAll
-