Module com.iamsoft.util.ui
Class ObservableLimitedList<T>
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.ObservableLimitedList<T>
- Type Parameters:
T- Type of the item in this list.
- All Implemented Interfaces:
Iterable<T>,Collection<T>,List<T>,javafx.beans.Observable,javafx.collections.ObservableList<T>
public class ObservableLimitedList<T>
extends javafx.collections.ModifiableObservableListBase<T>
ObservableList with limited size.
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class javafx.collections.ModifiableObservableListBase
add, addAll, addAll, remove, remove, removeAll, removeRange, retainAll, set, setAll, subListMethods 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, setAllMethods inherited from class java.util.AbstractList
clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIteratorMethods inherited from class java.util.AbstractCollection
contains, containsAll, isEmpty, toArray, toArray, toStringMethods 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
clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, replaceAll, sort, spliterator, toArray, toArrayMethods inherited from interface javafx.collections.ObservableList
filtered, sorted, sorted
-
Constructor Details
-
ObservableLimitedList
public ObservableLimitedList(int pMaxSize)
-
-
Method Details
-
add
- Specified by:
addin interfaceCollection<T>- Specified by:
addin interfaceList<T>- Overrides:
addin classAbstractList<T>
-
get
-
size
public int size() -
doAdd
- Specified by:
doAddin classjavafx.collections.ModifiableObservableListBase<T>
-
doSet
- Specified by:
doSetin classjavafx.collections.ModifiableObservableListBase<T>
-
doRemove
- Specified by:
doRemovein classjavafx.collections.ModifiableObservableListBase<T>
-