| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | add(E e)
Overrides java. Implements java. Appends the specified element to the end of this list (optional operation). |
| public void | add(int index, E element)
Overrides java. Implements java. Inserts the specified element at the specified position in this list (optional operation). |
| public boolean | addAll(Collection<? extends E> c)
Overrides java. Implements java. Appends all of the elements in the specified collection to the end of this list, in the order that they are returned by the specified collection's iterator (optional operation). |
| public boolean | addAll(int index, Collection<? extends E> c)
Overrides java. Implements java. Inserts all of the elements in the specified collection into this list at the specified position (optional operation). |
| public boolean | addAll(E... elements)
Overrides javafx. Implements javafx. A convenience method for var-arg addition of elements. |
| public void | |
| public void | clear()
Overrides java. Implements java. Removes all of the elements from this list (optional operation). |
| public boolean | contains(Object o)
Overrides java. Implements java. Returns |
| public boolean | containsAll(Collection<?> c)
Overrides java. Implements java. Returns |
| public abstract E | get(int i)
Redeclares java. Implements abstract java. Returns the element at the specified position in this list. |
| public int | indexOf(Object 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 boolean | isEmpty()
Overrides java. Implements java. Returns |
| public Iterator | iterator()
Overrides java. Implements java. Returns an iterator over the elements in this list in proper sequence. |
| public int | lastIndexOf(Object 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 ListIterator | listIterator()
Overrides java. Implements java. Returns a list iterator over the elements in this list (in proper sequence). |
| public ListIterator | listIterator(int index)
Overrides java. Implements java. Returns a list iterator over the elements in this list (in proper sequence), starting at the specified position in the list. |
| public E | remove(int index)
Overrides java. Implements java. Removes the element at the specified position in this list (optional operation). |
| public boolean | remove(Object o)
Overrides java. Implements java. Removes the first occurrence of the specified element from this list, if it is present (optional operation). |
| public void | remove(int from, int to)
Overrides javafx. Implements javafx. A simplified way of calling |
| public boolean | removeAll(Collection<?> c)
Overrides java. Implements java. Removes from this list all of its elements that are contained in the specified collection (optional operation). |
| public boolean | removeAll(E... elements)
Overrides javafx. Implements javafx. A convenience method for var-arg usage of the |
| public boolean | retainAll(Collection<?> c)
Overrides java. Implements java. Retains only the elements in this list that are contained in the specified collection (optional operation). |
| public boolean | retainAll(E... elements)
Overrides javafx. Implements javafx. A convenience method for var-arg usage of the |
| public E | set(int index, E element)
Overrides java. Implements java. Replaces the element at the specified position in this list with the specified element (optional operation). |
| public boolean | setAll(Collection<? extends E> col)
Overrides javafx. Implements javafx. Clears the ObservableList and adds all elements from the collection. |
| public boolean | setAll(E... elements)
Overrides javafx. Implements javafx. Clears the ObservableList and adds all the elements passed as var-args. |
| public abstract int | size()
Redeclares java. Implements abstract java. Returns the number of elements in this list. |
| public List | subList(final int fromIndex, final int toIndex)
Overrides java. Implements java. Note This method does not fulfill the subList contract from Collections, it simply returns a list containing the values in the given range. |
| public Object[] | toArray()
Overrides java. Implements java. Returns an array containing all of the elements in this list in proper sequence (from first to last element). |
| public <T> T[] | toArray(T[] a)
Overrides java. Implements java. Returns an array containing all of the elements in this list in proper sequence (from first to last element); the runtime type of the returned array is that of the specified array. |
| public String | toString()
Overrides java. Returns a string representation of this collection. |
| ReadOnlyUnbackedObservableList | back to summary |
|---|---|
| public ReadOnlyUnbackedObservableList() | |
| add | back to summary |
|---|---|
| public boolean add(E e) Overrides java. Implements java. Doc from java. Appends the specified element to the end of this list (optional operation). Lists that support this operation may place limitations on what elements may be added to this list. In particular, some lists will refuse to add null elements, and others will impose restrictions on the type of elements that may be added. List classes should clearly specify in their documentation any restrictions on what elements may be added.
| |
| add | back to summary |
|---|---|
| public void add(int index, E element) Overrides java. Implements java. Doc from java. Inserts the specified element at the specified position in this list (optional operation). Shifts the element currently at that position (if any) and any subsequent elements to the right (adds one to their indices).
| |
| addAll | back to summary |
|---|---|
| public boolean addAll(Collection<? extends E> c) Overrides java. Implements java. Doc from java. Appends all of the elements in the specified collection to the end of this list, in the order that they are returned by the specified collection's iterator (optional operation). The behavior of this operation is undefined if the specified collection is modified while the operation is in progress. (Note that this will occur if the specified collection is this list, and it's nonempty.)
| |
| addAll | back to summary |
|---|---|
| public boolean addAll(int index, Collection<? extends E> c) Overrides java. Implements java. Doc from java. Inserts all of the elements in the specified collection into this list at the specified position (optional operation). Shifts the element currently at that position (if any) and any subsequent elements to the right (increases their indices). The new elements will appear in this list in the order that they are returned by the specified collection's iterator. The behavior of this operation is undefined if the specified collection is modified while the operation is in progress. (Note that this will occur if the specified collection is this list, and it's nonempty.)
| |
| addAll | back to summary |
|---|---|
| public boolean addAll(E... elements) Overrides javafx. Implements javafx. Doc from javafx. A convenience method for var-arg addition of elements.
| |
| callObservers | back to summary |
|---|---|
| public void callObservers(ListChangeListener. | |
| 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
| |
| get | back to summary |
|---|---|
| public abstract E get(int i) Redeclares java. Implements abstract java. Doc from java. Returns the element at the specified position in this list.
| |
| 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
| |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() Overrides java. Implements java. Doc from java. Returns
| |
| iterator | back to summary |
|---|---|
| public Iterator Overrides java. Implements java. Doc from java. Returns an iterator over the elements in this list in proper sequence.
| |
| 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
| |
| listIterator | back to summary |
|---|---|
| public ListIterator Overrides java. Implements java. Doc from java. Returns a list iterator over the elements in this list (in proper sequence).
| |
| listIterator | back to summary |
|---|---|
| public ListIterator Overrides java. Implements java. Doc from java. Returns a list iterator over the elements in this list (in proper
sequence), starting at the specified position in the list.
The specified index indicates the first element that would be
returned by an initial call to
| |
| remove | back to summary |
|---|---|
| public E remove(int index) Overrides java. Implements java. Doc from java. Removes the element at the specified position in this list (optional operation). Shifts any subsequent elements to the left (subtracts one from their indices). Returns the element that was removed from the list.
| |
| remove | back to summary |
|---|---|
| public boolean remove(Object o) Overrides java. Implements java. Doc from java. Removes the first occurrence of the specified element from this list,
if it is present (optional operation). If this list does not contain
the element, it is unchanged. More formally, removes the element with
the lowest index
| |
| remove | back to summary |
|---|---|
| public void remove(int from, int to) Overrides javafx. Implements javafx. Doc from javafx. A simplified way of calling
| |
| removeAll | back to summary |
|---|---|
| public boolean removeAll(Collection<?> c) Overrides java. Implements java. Doc from java. Removes from this list all of its elements that are contained in the specified collection (optional operation).
| |
| removeAll | back to summary |
|---|---|
| public boolean removeAll(E... elements) Overrides javafx. Implements javafx. Doc from javafx. A convenience method for var-arg usage of the
| |
| retainAll | back to summary |
|---|---|
| public boolean retainAll(Collection<?> c) Overrides java. 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.
| |
| retainAll | back to summary |
|---|---|
| public boolean retainAll(E... elements) Overrides javafx. Implements javafx. Doc from javafx. A convenience method for var-arg usage of the
| |
| set | back to summary |
|---|---|
| public E set(int index, E element) Overrides java. Implements java. Doc from java. Replaces the element at the specified position in this list with the specified element (optional operation).
| |
| setAll | back to summary |
|---|---|
| public boolean setAll(Collection<? extends E> col) Overrides javafx. Implements javafx. Doc from javafx. Clears the ObservableList and adds all elements from the collection.
| |
| setAll | back to summary |
|---|---|
| public boolean setAll(E... elements) Overrides javafx. Implements javafx. Doc from javafx. Clears the ObservableList and adds all the elements passed as var-args.
| |
| size | back to summary |
|---|---|
| public abstract int size() Redeclares java. Implements abstract java. Doc from java. Returns the number of elements in this list. If this list contains
more than
| |
| subList | back to summary |
|---|---|
| public List Overrides java. Implements java. Note This method does not fulfill the subList contract from Collections, it simply returns a list containing the values in the given range.
| |
| toArray | back to summary |
|---|---|
| public Object[] toArray() Overrides java. Implements java. Doc from java. Returns an array containing all of the elements in this list in proper sequence (from first to last element). The returned array will be "safe" in that no references to it are maintained by this list. (In other words, this method must allocate a new array even if this list is backed by an array). The caller is thus free to modify the returned array. This method acts as bridge between array-based and collection-based APIs.
| |
| toArray | back to summary |
|---|---|
| public <T> T[] toArray(T[] a) Overrides java. Implements java. Doc from java. Returns an array containing all of the elements in this list in proper sequence (from first to last element); the runtime type of the returned array is that of the specified array. If the list fits in the specified array, it is returned therein. Otherwise, a new array is allocated with the runtime type of the specified array and the size of this list. If the list fits in the specified array with room to spare (i.e.,
the array has more elements than the list), the element in the array
immediately following the end of the list is set to Like the Suppose
Note that toArray(new Object[0]) is identical in function to
toArray().
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of this collection. The string
representation consists of a list of the collection's elements in the
order they are returned by its iterator, enclosed in square brackets
(
| |
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private final ReadOnlyUnbackedObservableList |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | add(E e)
Implements java. Inserts the specified element into the list (optional operation). |
| public boolean | hasNext()
Implements java. Returns |
| public boolean | hasPrevious()
Implements java. Returns |
| public E | next()
Implements java. Returns the next element in the list and advances the cursor position. |
| public int | nextIndex()
Implements java. Returns the index of the element that would be returned by a
subsequent call to |
| public E | previous()
Implements java. Returns the previous element in the list and moves the cursor position backwards. |
| public int | previousIndex()
Implements java. Returns the index of the element that would be returned by a
subsequent call to |
| public void | remove()
Implements java. Removes from the list the last element that was returned by |
| public void | set(E e)
Implements java. Replaces the last element returned by |
| index | back to summary |
|---|---|
| private int index | |
| list | back to summary |
|---|---|
| private final ReadOnlyUnbackedObservableList<E> list | |
| SelectionListIterator | back to summary |
|---|---|
| public SelectionListIterator(ReadOnlyUnbackedObservableList<E> list) | |
| SelectionListIterator | back to summary |
|---|---|
| public SelectionListIterator(ReadOnlyUnbackedObservableList<E> list, int index) | |
| add | back to summary |
|---|---|
| public void add(E e) Implements java. Doc from java. Inserts the specified element into the list (optional operation).
The element is inserted immediately before the element that
would be returned by
| |
| hasNext | back to summary |
|---|---|
| public boolean hasNext() Implements java. Doc from java. Returns
| |
| hasPrevious | back to summary |
|---|---|
| public boolean hasPrevious() Implements java. Doc from java. Returns
| |
| next | back to summary |
|---|---|
| public E next() Implements java. Doc from java. Returns the next element in the list and advances the cursor position.
This method may be called repeatedly to iterate through the list,
or intermixed with calls to
| |
| nextIndex | back to summary |
|---|---|
| public int nextIndex() Implements java. Doc from java. Returns the index of the element that would be returned by a
subsequent call to
| |
| previous | back to summary |
|---|---|
| public E previous() Implements java. Doc from java. Returns the previous element in the list and moves the cursor
position backwards. This method may be called repeatedly to
iterate through the list backwards, or intermixed with calls to
| |
| previousIndex | back to summary |
|---|---|
| public int previousIndex() Implements java. Doc from java. Returns the index of the element that would be returned by a
subsequent call to
| |
| remove | back to summary |
|---|---|
| public void remove() Implements java. Doc from java. Removes from the list the last element that was returned by
| |
| set | back to summary |
|---|---|
| public void set(E e) Implements java. Doc from java. Replaces the last element returned by
| |