Module org.controlsfx.controls
Package impl.org.controlsfx.collections
Class ReadOnlyUnbackedObservableList<E>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
javafx.collections.ObservableListBase<E>
impl.org.controlsfx.collections.ReadOnlyUnbackedObservableList<E>
- All Implemented Interfaces:
Iterable<E>,Collection<E>,List<E>,Observable,ObservableList<E>
Minimum implementation of com.sun.javafx.scene.control.ReadOnlyUnbackedObservableList
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanbooleanaddAll(int index, Collection<? extends E> c) booleanbooleanaddAll(Collection<? extends E> c) voidvoidclear()booleanbooleancontainsAll(Collection<?> c) abstract Eget(int i) intbooleanisEmpty()iterator()intlistIterator(int index) remove(int index) voidremove(int from, int to) booleanbooleanbooleanremoveAll(Collection<?> c) booleanbooleanretainAll(Collection<?> c) booleanbooleansetAll(Collection<? extends E> col) abstract intsize()subList(int fromIndex, int toIndex) NOTE: This method does not fulfill the subList contract from Collections, it simply returns a list containing the values in the given range.Object[]toArray()<T> T[]toArray(T[] a) toString()Methods inherited from class javafx.collections.ObservableListBase
addListener, addListener, beginChange, endChange, fireChange, hasListeners, nextAdd, nextPermutation, nextRemove, nextRemove, nextReplace, nextSet, nextUpdate, removeListener, removeListenerMethods inherited from class java.util.AbstractList
equals, hashCode, removeRangeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
equals, hashCode, replaceAll, sort, spliteratorMethods inherited from interface javafx.collections.ObservableList
filtered, sorted, sorted
-
Constructor Details
-
ReadOnlyUnbackedObservableList
public ReadOnlyUnbackedObservableList()
-
-
Method Details
-
callObservers
-
get
-
size
public abstract int size()- Specified by:
sizein interfaceCollection<E>- Specified by:
sizein interfaceList<E>- Specified by:
sizein classAbstractCollection<E>
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOfin interfaceList<E>- Overrides:
lastIndexOfin classAbstractList<E>
-
contains
- Specified by:
containsin interfaceCollection<E>- Specified by:
containsin interfaceList<E>- Overrides:
containsin classAbstractCollection<E>
-
containsAll
- Specified by:
containsAllin interfaceCollection<E>- Specified by:
containsAllin interfaceList<E>- Overrides:
containsAllin classAbstractCollection<E>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceCollection<E>- Specified by:
isEmptyin interfaceList<E>- Overrides:
isEmptyin classAbstractCollection<E>
-
listIterator
- Specified by:
listIteratorin interfaceList<E>- Overrides:
listIteratorin classAbstractList<E>
-
listIterator
- Specified by:
listIteratorin interfaceList<E>- Overrides:
listIteratorin classAbstractList<E>
-
iterator
-
subList
NOTE: This method does not fulfill the subList contract from Collections, it simply returns a list containing the values in the given range. -
toArray
- Specified by:
toArrayin interfaceCollection<E>- Specified by:
toArrayin interfaceList<E>- Overrides:
toArrayin classAbstractCollection<E>
-
toArray
public <T> T[] toArray(T[] a) - Specified by:
toArrayin interfaceCollection<E>- Specified by:
toArrayin interfaceList<E>- Overrides:
toArrayin classAbstractCollection<E>
-
toString
- Overrides:
toStringin classAbstractCollection<E>
-
add
- Specified by:
addin interfaceCollection<E>- Specified by:
addin interfaceList<E>- Overrides:
addin classAbstractList<E>
-
add
-
addAll
- Specified by:
addAllin interfaceCollection<E>- Specified by:
addAllin interfaceList<E>- Overrides:
addAllin classAbstractCollection<E>
-
addAll
-
addAll
- Specified by:
addAllin interfaceObservableList<E>- Overrides:
addAllin classObservableListBase<E>
-
set
-
setAll
- Specified by:
setAllin interfaceObservableList<E>- Overrides:
setAllin classObservableListBase<E>
-
setAll
- Specified by:
setAllin interfaceObservableList<E>- Overrides:
setAllin classObservableListBase<E>
-
clear
public void clear()- Specified by:
clearin interfaceCollection<E>- Specified by:
clearin interfaceList<E>- Overrides:
clearin classAbstractList<E>
-
remove
-
remove
- Specified by:
removein interfaceCollection<E>- Specified by:
removein interfaceList<E>- Overrides:
removein classAbstractCollection<E>
-
removeAll
- Specified by:
removeAllin interfaceCollection<E>- Specified by:
removeAllin interfaceList<E>- Overrides:
removeAllin classAbstractCollection<E>
-
retainAll
- Specified by:
retainAllin interfaceCollection<E>- Specified by:
retainAllin interfaceList<E>- Overrides:
retainAllin classAbstractCollection<E>
-
remove
public void remove(int from, int to) - Specified by:
removein interfaceObservableList<E>- Overrides:
removein classObservableListBase<E>
-
removeAll
- Specified by:
removeAllin interfaceObservableList<E>- Overrides:
removeAllin classObservableListBase<E>
-
retainAll
- Specified by:
retainAllin interfaceObservableList<E>- Overrides:
retainAllin classObservableListBase<E>
-