Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8101447

Provide ObservableList implementation that copes with mutable elements

XMLWordPrintable

      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.

            msladecek Martin Sládeček
            msladecek Martin Sládeček
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: