| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private final ElementObserver | |
| private SortHelper |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | clear()
Overrides java. Implements java. Removes all of the elements from this list (optional operation). |
| public boolean | contains(Object
element whose presence in this list is to be tested o)Overrides java. Implements java. Returns |
| public boolean | containsAll(Collection<?>
collection to be checked for containment in this list c)Overrides java. Implements java. Returns |
| protected void | doAdd(int
the position where to add the element index, E the element that will be added element)Implements abstract javafx. Adds the |
| protected E | doRemove(int
the index of the removed element index)Implements abstract javafx. Removes the element at position of |
| protected E | doSet(int
the position where to set the element index, E the element that will be set at the specified position element)Implements abstract javafx. Sets the |
| public void | doSort(Comparator<? super E>
the comparator for the sorting; never comparator)nullImplements com. Sorts the list and reports it as one change event. |
| public E | get(int
index of the element to return index)Implements abstract javafx. Implements java. Returns the element at the specified position in this list. |
| private SortHelper | |
| public int | indexOf(Object
element to search for o)Overrides java. Implements java. Returns the index of the first occurrence of the specified element in this list, or -1 if this list does not contain the element. |
| public int | lastIndexOf(Object
element to search for o)Overrides java. Implements java. Returns the index of the last occurrence of the specified element in this list, or -1 if this list does not contain the element. |
| public void | remove(int
the start of the range to remove (inclusive) fromIndex, int the end of the range to remove (exclusive) toIndex)Overrides javafx. Implements javafx. A simplified way of calling |
| public boolean | removeAll(Collection<?>
collection containing elements to be removed from this list c)Overrides javafx. Implements java. Removes from this list all of its elements that are contained in the specified collection (optional operation). |
| public boolean | retainAll(Collection<?>
collection containing elements to be retained in this list c)Overrides javafx. Implements java. Retains only the elements in this list that are contained in the specified collection (optional operation). |
| public int | size()
Implements abstract javafx. Implements java. Returns the number of elements in this list. |
| backingList | back to summary |
|---|---|
| private final List<E> backingList | |
| elementObserver | back to summary |
|---|---|
| private final ElementObserver<E> elementObserver | |
| helper | back to summary |
|---|---|
| private SortHelper helper | |
| ObservableListWrapper | back to summary |
|---|---|
| public ObservableListWrapper(List<E> list) | |
| ObservableListWrapper | back to summary |
|---|---|
| public ObservableListWrapper(List<E> list, Callback<E, Observable[]> extractor) | |
| clear | back to summary |
|---|---|
| public void clear() Overrides java. Implements java. Doc from java. Removes all of the elements from this list (optional operation). The list will be empty after this call returns.
| |
| contains | back to summary |
|---|---|
| public boolean contains(Object o) Overrides java. Implements java. Doc from java. Returns | |
| containsAll | back to summary |
|---|---|
| public boolean containsAll(Collection<?> c) Overrides java. Implements java. Doc from java. Returns
| |
| doAdd | back to summary |
|---|---|
| protected void doAdd(int index, E element) Implements abstract javafx. Doc from javafx. Adds the For the description of possible exceptions, please refer to the documentation
of
| |
| doRemove | back to summary |
|---|---|
| protected E doRemove(int index) Implements abstract javafx. Doc from javafx. Removes the element at position of
| |
| doSet | back to summary |
|---|---|
| protected E doSet(int index, E element) Implements abstract javafx. Doc from javafx. Sets the For the description of possible exceptions, please refer to the documentation
of
| |
| doSort | back to summary |
|---|---|
| public void doSort(Comparator<? super E> comparator) Implements com. Doc from com. Sorts the list and reports it as one change event.
| |
| get | back to summary |
|---|---|
| public E get(int index) Implements abstract javafx. Implements java. Doc from java. Returns the element at the specified position in this list.
| |
| getSortHelper | back to summary |
|---|---|
| private SortHelper getSortHelper() | |
| indexOf | back to summary |
|---|---|
| public int indexOf(Object o) Overrides java. Implements java. Doc from java. Returns the index of the first occurrence of the specified element
in this list, or -1 if this list does not contain the element.
More formally, returns the lowest index | |
| lastIndexOf | back to summary |
|---|---|
| public int lastIndexOf(Object o) Overrides java. Implements java. Doc from java. Returns the index of the last occurrence of the specified element
in this list, or -1 if this list does not contain the element.
More formally, returns the highest index | |
| remove | back to summary |
|---|---|
| public void remove(int fromIndex, int toIndex) Overrides javafx. Implements javafx. Doc from javafx. A simplified way of calling
| |
| removeAll | back to summary |
|---|---|
| public boolean removeAll(Collection<?> c) Overrides javafx. Implements java. Doc from java. Removes from this list all of its elements that are contained in the specified collection (optional operation).
| |
| retainAll | back to summary |
|---|---|
| public boolean retainAll(Collection<?> c) Overrides javafx. Implements java. Doc from java. Retains only the elements in this list that are contained in the specified collection (optional operation). In other words, removes from this list all of its elements that are not contained in the specified collection.
| |
| size | back to summary |
|---|---|
| public int size() Implements abstract javafx. Implements java. Doc from java. Returns the number of elements in this list. If this list contains
more than
| |