-
Enhancement
-
Resolution: Fixed
-
P4
-
None
Based on discussion with Richard Bair & Michael Heinrichs (and approved by both), for the 2.1 we will introduce only this:
FXCollections.observableList(List<E> list, Callback<E, Observable[]>
extractor);
FXCollections.observableArrayList(Callback<E, Observable[]> extractor);
These lists will fire update notifications if some of the Observables
extracted from the elements will change.
For this, we will need a new method in ListChangeListener.Change:
public boolean wasUpdated()
returning false by default (cannot make it abstract now).
BaseObservableList + invalidation() methods will be defered to some
later release.
FXCollections.observableList(List<E> list, Callback<E, Observable[]>
extractor);
FXCollections.observableArrayList(Callback<E, Observable[]> extractor);
These lists will fire update notifications if some of the Observables
extracted from the elements will change.
For this, we will need a new method in ListChangeListener.Change:
public boolean wasUpdated()
returning false by default (cannot make it abstract now).
BaseObservableList + invalidation() methods will be defered to some
later release.
- relates to
-
JDK-8114787 Same as parent - no way to comment, so creating a sub-task
- Closed
-
JDK-8114666 SortedList AIOOB replacing last element in wrapped list
- Resolved
-
JDK-8100732 Need API to force change event
- Closed