replace a section of ObservableList in one operation?
tomas.mikula at gmail.com
Mon Sep 2 05:22:46 PDT 2013
I cannot find a way to replace a section of ObservableList in one
operation. I'm looking for something like
ObservableList<E>#setAll(int from, int to, Collection<? extends E> col)
In the latter case, ObservableList#subList() would have to return an
instance of ObservableList, not just List.
I know I can use a pair of remove() and addAll(), but my objective is
to generate just 1 change event.
Is there a way to achieve this?
More information about the openjfx-dev