[REVIEW REQUEST] Add text property to ComboBox
Alexandre (Shura) Iline
alexandre.iline at oracle.com
Thu Mar 15 02:03:03 PDT 2012
On 03/15/2012 12:45 PM, Tom Eugelink wrote:
>> 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.
> You're missing the point.
> Yes, of course a value can be entered without
> text. And yes, for that there should be (and I think there already is)
> an event. Jonathan's point is to have an event only on text entry and
> BEFORE the text has been parsed into a value.
I am saying that ComboBox API (or doc, for this matter), as of now, does
not imply that the value is entered through a single text control.
More information about the openjfx-dev