[REVIEW REQUEST] Add text property to ComboBox
Alexandre (Shura) Iline
alexandre.iline at oracle.com
Thu Mar 15 01:32:16 PDT 2012
>>
>> But that aside, you really are assuming having the editor to be a text
>> component of some sort. For entering color I may, for example have a
>> container with three text fields (RGB). Can I not do so?
>
> I put forward that text will very often be a common input method, so
> support for it should be added at a low level. But you do have a good
> point; multiple text fields...
Or sliders (RGB for a color, again). Or ... anything.
Why not?
Since ComboBox has a type parameter, I would expect to be able to
provide whatever editor suits better to the encapsulated type.
As a consequence, an edited value - a value in the editor - may not be
representable by String. Hence, again, <code>T editedValue;</code>.
That was my point, yes.
Shura.
>
> Tom
>
>
>
More information about the openjfx-dev
mailing list