FXCollections
such as observableArrayList, or with a
SimpleListProperty.
ListChangeListener, ListChangeListener.Change
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true (as specified by Collection.add(E))the elements to add elements)A convenience method for var-arg addition of elements. |
| public void | addListener(ListChangeListener<? super E>
the listener for listening to the list changes listener)Add a listener to this observable list. |
| public default FilteredList | Returns: newFilteredListthe predicate to use predicate)Creates a |
| public void | remove(int
the start of the range to remove (inclusive) from, int the end of the range to remove (exclusive) to)A simplified way of calling |
| public boolean | |
| public void | removeListener(ListChangeListener<? super E>
a listener to remove listener)Tries to remove a listener from this observable list. |
| public boolean | |
| public boolean | Returns: true (as specified by Collection.add(E))the elements to set elements)Clears the ObservableList and adds all the elements passed as var-args. |
| public boolean | Returns: true (as specified by Collection.add(E))the collection with elements that will be added to this observableArrayList col)Clears the ObservableList and adds all elements from the collection. |
| public default SortedList | Returns: newSortedListthe comparator to use or null for unordered List comparator)Creates a |
| public default SortedList |
| addAll | back to summary |
|---|---|
| public boolean addAll(E... elements) A convenience method for var-arg addition of elements.
| |
| addListener | back to summary |
|---|---|
| public void addListener(ListChangeListener<? super E> listener) Add a listener to this observable list.
| |
| filtered | back to summary |
|---|---|
| public default FilteredList Creates a
| |
| remove | back to summary |
|---|---|
| public void remove(int from, int to) A simplified way of calling
| |
| removeAll | back to summary |
|---|---|
| public boolean removeAll(E... elements) A convenience method for var-arg usage of the
| |
| removeListener | back to summary |
|---|---|
| public void removeListener(ListChangeListener<? super E> listener) Tries to remove a listener from this observable list. If the listener is not attached to this list, nothing happens.
| |
| retainAll | back to summary |
|---|---|
| public boolean retainAll(E... elements) A convenience method for var-arg usage of the
| |
| setAll | back to summary |
|---|---|
| public boolean setAll(E... elements) Clears the ObservableList and adds all the elements passed as var-args.
| |
| setAll | back to summary |
|---|---|
| public boolean setAll(Collection<? extends E> col) Clears the ObservableList and adds all elements from the collection.
| |
| sorted | back to summary |
|---|---|
| public default SortedList Creates a
| |
| sorted | back to summary |
|---|---|
| public default SortedList Creates a
| |