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 class
Exposes getDelegate() and delegateProperty().static class
Use 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 TypeMethodDescriptionvoid
boolean
boolean
addAll
(int pIdx, Collection<? extends T> pCollection) boolean
addAll
(Collection<? extends T> pCollection) boolean
void
clear()
boolean
boolean
containsAll
(Collection<?> pCollection) protected javafx.beans.value.ObservableValue<javafx.collections.ObservableList<T>>
boolean
get
(int pIdx) protected javafx.collections.ObservableList<T>
Gets the value of the property delegate.int
hashCode()
int
boolean
isEmpty()
int
lastIndexOf
(Object pObj) remove
(int pIdx) void
remove
(int pFrom, int pTo) boolean
boolean
removeAll
(Collection<?> pCollection) boolean
void
replaceAll
(UnaryOperator<T> pOperator) boolean
retainAll
(Collection<?> pCollection) boolean
boolean
setAll
(Collection<? extends T> pCol) boolean
int
size()
toString()
Methods inherited from class javafx.collections.ObservableListBase
addListener, addListener, beginChange, endChange, fireChange, hasListeners, nextAdd, nextPermutation, nextRemove, nextRemove, nextReplace, nextSet, nextUpdate, removeListener, removeListener
Methods inherited from class java.util.AbstractList
iterator, listIterator, listIterator, removeRange, subList
Methods inherited from class java.util.AbstractCollection
toArray, toArray
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
iterator, listIterator, listIterator, sort, spliterator, subList, toArray, toArray
Methods 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:
size
in interfaceCollection<T>
- Specified by:
size
in interfaceList<T>
- Specified by:
size
in classAbstractCollection<T>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceCollection<T>
- Specified by:
isEmpty
in interfaceList<T>
- Overrides:
isEmpty
in classAbstractCollection<T>
-
contains
- Specified by:
contains
in interfaceCollection<T>
- Specified by:
contains
in interfaceList<T>
- Overrides:
contains
in classAbstractCollection<T>
-
add
- Specified by:
add
in interfaceCollection<T>
- Specified by:
add
in interfaceList<T>
- Overrides:
add
in classAbstractList<T>
-
add
-
remove
-
remove
- Specified by:
remove
in interfaceCollection<T>
- Specified by:
remove
in interfaceList<T>
- Overrides:
remove
in classAbstractCollection<T>
-
remove
public void remove(int pFrom, int pTo) -
indexOf
-
equals
- Specified by:
equals
in interfaceCollection<T>
- Specified by:
equals
in interfaceList<T>
- Overrides:
equals
in classAbstractList<T>
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfaceCollection<T>
- Specified by:
hashCode
in interfaceList<T>
- Overrides:
hashCode
in classAbstractList<T>
-
containsAll
- Specified by:
containsAll
in interfaceCollection<T>
- Specified by:
containsAll
in interfaceList<T>
- Overrides:
containsAll
in classAbstractCollection<T>
-
toString
- Overrides:
toString
in classAbstractCollection<T>
-
set
-
replaceAll
-
clear
public void clear()- Specified by:
clear
in interfaceCollection<T>
- Specified by:
clear
in interfaceList<T>
- Overrides:
clear
in classAbstractList<T>
-
lastIndexOf
- Specified by:
lastIndexOf
in interfaceList<T>
- Overrides:
lastIndexOf
in classAbstractList<T>
-
addAll
-
addAll
- Specified by:
addAll
in interfaceCollection<T>
- Specified by:
addAll
in interfaceList<T>
- Overrides:
addAll
in classAbstractCollection<T>
-
addAll
-
setAll
-
setAll
-
removeAll
- Specified by:
removeAll
in interfaceCollection<T>
- Specified by:
removeAll
in interfaceList<T>
- Overrides:
removeAll
in classAbstractCollection<T>
-
removeAll
-
retainAll
- Specified by:
retainAll
in interfaceCollection<T>
- Specified by:
retainAll
in interfaceList<T>
- Overrides:
retainAll
in classAbstractCollection<T>
-
retainAll
-