Michael Heinrichs michael.heinrichs at
Thu Dec 15 01:09:08 PST 2011

Hi Jonathan,

I just took a look at ReadOnlyUnbackedObservableList. Interestingly my idea of how a BaseObservableList should look like is almost identical to your ReadOnlyUnbackedObservableList. Only difference probably, I would extend from AbstractList and do the listener handling differently, applying the lessons learned while implementing properties.

- Michael

On 14.12.2011, at 22:21, Jonathan Giles wrote:

> On 14/12/2011 11:24 p.m., Martin Sladecek wrote:
>> On 12/14/2011 02:13 PM, Gaja Sutra wrote:
>>>> What do you think about this API? 
>>> Interesting change. I will try to use it when I will be able to put a hand on it, but currently I think this API is simple and good on paper (and useful for me). I have two small questions:
>>> Will BaseObservableList (read-write collection) be a replacement/superclass of com.sun.javafx.scene.control.ReadOnlyUnbackedObservableList (read-only collection in control package)?
>> Jonathan needs to comment this, but I think BaseObservableList could be used instead of ReadOnlyUnbackedObservableList, or could be used as it's superclass.
> I'd quite happily refactor ReadOnlyUnbackedObservableList to extend from BaseObservableList, if it reduces the amount of code needing to be maintained in ROUOL (whilst retaining the same behavior). I don't think I could use BaseObservableList outright, but I'll happily be proven wrong (and I'll look into it further when the code arrives in the repo). I have no intention of making this class public however - it is an implementation detail of the various selection models in JavaFX UI controls.
> -- Jonathan

More information about the openjfx-dev mailing list