Module org.jhotdraw8.fxbase
Package org.jhotdraw8.fxbase.tree
Class ChildList<E extends TreeNode<E>>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
javafx.collections.ObservableListBase<E>
org.jhotdraw8.fxcollection.indexedset.AbstractIndexedArrayObservableSet<E>
org.jhotdraw8.fxbase.tree.ChildList<E>
- Type Parameters:
E- the node type
- All Implemented Interfaces:
Iterable<E>,Collection<E>,List<E>,SequencedCollection<E>,Set<E>,javafx.beans.Observable,javafx.collections.ObservableList<E>,org.jhotdraw8.icollection.readonly.ReadOnlyCollection<E>,org.jhotdraw8.icollection.readonly.ReadOnlySequencedCollection<E>,org.jhotdraw8.icollection.readonly.ReadOnlySequencedSet<E>,org.jhotdraw8.icollection.readonly.ReadOnlySet<E>
A child list for implementations of the
TreeNode interface.
This list maintains the parent of tree nodes that are added/removed
from the child list, as described in TreeNode.getChildren().
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanmayBeAdded(E element) protected voidprotected BooleanonContains(E e) protected voidMethods inherited from class org.jhotdraw8.fxcollection.indexedset.AbstractIndexedArrayObservableSet
add, add, addAll, addAll, contains, doAdd, equals, fireItemUpdated, get, getFirst, getLast, hasChangeListeners, hashCode, indexOf, iterator, listIterator, move, readOnlyReversed, remove, remove, removeAll, removeRange, retainAll, set, setAll, size, spliterator, stream, 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, lastIndexOf, listIteratorMethods inherited from class java.util.AbstractCollection
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, toArrayMethods inherited from interface java.util.List
addFirst, addLast, clear, containsAll, isEmpty, lastIndexOf, listIterator, removeFirst, removeLast, replaceAll, reversed, sort, toArray, toArrayMethods inherited from interface javafx.beans.Observable
subscribeMethods inherited from interface javafx.collections.ObservableList
filtered, sorted, sortedMethods inherited from interface org.jhotdraw8.icollection.readonly.ReadOnlyCollection
containsAll, isEmpty, toArray, toArrayMethods inherited from interface org.jhotdraw8.icollection.readonly.ReadOnlySequencedCollection
asCollectionMethods inherited from interface org.jhotdraw8.icollection.readonly.ReadOnlySequencedSet
asSetMethods inherited from interface org.jhotdraw8.icollection.readonly.ReadOnlySet
characteristics
-
Constructor Details
-
ChildList
-
-
Method Details
-
onContains
- Specified by:
onContainsin classAbstractIndexedArrayObservableSet<E extends TreeNode<E>>
-
onAdded
- Specified by:
onAddedin classAbstractIndexedArrayObservableSet<E extends TreeNode<E>>
-
onRemoved
- Specified by:
onRemovedin classAbstractIndexedArrayObservableSet<E extends TreeNode<E>>
-
mayBeAdded
- Specified by:
mayBeAddedin classAbstractIndexedArrayObservableSet<E extends TreeNode<E>>
-