Module com.iamsoft.util.ui
Class ProxyObservableList<T>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
javafx.collections.ObservableListBase<T>
com.iamsoft.util.ui.javafx.collections.ProxyObservableList<T>
- Type Parameters:
T- Type of object stored in list.
- All Implemented Interfaces:
Iterable<T>,Collection<T>,List<T>,javafx.beans.Observable,javafx.collections.ObservableList<T>
- Direct Known Subclasses:
ConflatingList,ExtractingObservableList,ProxyObservableList.Exposed,ReducedObservableList,TransposedObservableList
public class ProxyObservableList<T>
extends javafx.collections.ObservableListBase<T>
-
Property Summary
Properties -
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classExposes getDelegate() and delegateProperty().static classUse covariant returns to assume ObjectProperty delegate instead of ObservableValue. -
Field Summary
Fields inherited from class java.util.AbstractList
modCount -
Constructor Summary
ConstructorsConstructorDescriptionProxyObservableList(javafx.beans.value.ObservableValue<javafx.collections.ObservableList<T>> pDelegateProperty) ProxyObservableList(javafx.collections.ObservableList<T> pDelegate) -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanbooleanaddAll(int pIdx, Collection<? extends T> pCollection) booleanaddAll(Collection<? extends T> pCollection) booleanvoidclear()booleanbooleancontainsAll(Collection<?> pCollection) protected javafx.beans.value.ObservableValue<javafx.collections.ObservableList<T>>booleanget(int pIdx) protected javafx.collections.ObservableList<T>Gets the value of the property delegate.inthashCode()intbooleanisEmpty()intlastIndexOf(Object pObj) remove(int pIdx) voidremove(int pFrom, int pTo) booleanbooleanremoveAll(Collection<?> pCollection) booleanvoidreplaceAll(UnaryOperator<T> pOperator) booleanretainAll(Collection<?> pCollection) booleanbooleansetAll(Collection<? extends T> pCol) booleanintsize()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
iterator, listIterator, listIterator, removeRange, subListMethods inherited from class java.util.AbstractCollection
toArray, toArrayMethods 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
iterator, listIterator, listIterator, sort, spliterator, subList, toArray, toArrayMethods inherited from interface javafx.collections.ObservableList
filtered, sorted, sorted
-
Property Details
-
delegate
- See Also:
-
-
Constructor Details
-
ProxyObservableList
public ProxyObservableList() -
ProxyObservableList
-
ProxyObservableList
public ProxyObservableList(javafx.beans.value.ObservableValue<javafx.collections.ObservableList<T>> pDelegateProperty)
-
-
Method Details
-
getDelegate
Gets the value of the property delegate.- Property description:
-
delegateProperty
protected javafx.beans.value.ObservableValue<javafx.collections.ObservableList<T>> delegateProperty()- See Also:
-
get
-
size
public int size()- Specified by:
sizein interfaceCollection<T>- Specified by:
sizein interfaceList<T>- Specified by:
sizein classAbstractCollection<T>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceCollection<T>- Specified by:
isEmptyin interfaceList<T>- Overrides:
isEmptyin classAbstractCollection<T>
-
contains
- Specified by:
containsin interfaceCollection<T>- Specified by:
containsin interfaceList<T>- Overrides:
containsin classAbstractCollection<T>
-
add
- Specified by:
addin interfaceCollection<T>- Specified by:
addin interfaceList<T>- Overrides:
addin classAbstractList<T>
-
add
-
remove
-
remove
- Specified by:
removein interfaceCollection<T>- Specified by:
removein interfaceList<T>- Overrides:
removein classAbstractCollection<T>
-
remove
public void remove(int pFrom, int pTo) -
indexOf
-
equals
- Specified by:
equalsin interfaceCollection<T>- Specified by:
equalsin interfaceList<T>- Overrides:
equalsin classAbstractList<T>
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceCollection<T>- Specified by:
hashCodein interfaceList<T>- Overrides:
hashCodein classAbstractList<T>
-
containsAll
- Specified by:
containsAllin interfaceCollection<T>- Specified by:
containsAllin interfaceList<T>- Overrides:
containsAllin classAbstractCollection<T>
-
toString
- Overrides:
toStringin classAbstractCollection<T>
-
set
-
replaceAll
-
clear
public void clear()- Specified by:
clearin interfaceCollection<T>- Specified by:
clearin interfaceList<T>- Overrides:
clearin classAbstractList<T>
-
lastIndexOf
- Specified by:
lastIndexOfin interfaceList<T>- Overrides:
lastIndexOfin classAbstractList<T>
-
addAll
-
addAll
- Specified by:
addAllin interfaceCollection<T>- Specified by:
addAllin interfaceList<T>- Overrides:
addAllin classAbstractCollection<T>
-
addAll
-
setAll
-
setAll
-
removeAll
- Specified by:
removeAllin interfaceCollection<T>- Specified by:
removeAllin interfaceList<T>- Overrides:
removeAllin classAbstractCollection<T>
-
removeAll
-
retainAll
- Specified by:
retainAllin interfaceCollection<T>- Specified by:
retainAllin interfaceList<T>- Overrides:
retainAllin classAbstractCollection<T>
-
retainAll
-