Constructs an ObservableList that is backed by the specified list.
Mutation operations on the ObservableList instance will be reported
to observers that have registered on that instance.
Note that mutation operations made directly to the underlying list are
not reported to observers of any ObservableList that
wraps it.
This list also reports mutations of the elements in it by using extractor
.
Observable objects returned by extractor (applied to each list element) are listened for changes
and transformed into "update" change of ListChangeListener.
<E> | The type of List to be wrapped | |
list | a concrete List that backs this ObservableList | |
extractor | element to Observable[] convertor |
Diagram: FXCollections