public static <E> ObservableList<E> observableList (List<E> list, Callback<E, Observable[]> extractor)

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.

Parameters:
<E>    The type of List to be wrapped
list    a concrete List that backs this ObservableList
extractor    element to Observable[] convertor

Returns:  a newly created ObservableList

Since:  JavaFX 2.1