[REVIEW REQUEST] Add text property to ComboBox

Jonathan Giles jonathan.giles at oracle.com
Thu Mar 15 12:41:10 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?

If you had a color input combo box which had three fields, it should be 
an extension of the ComboBoxBase class, which does not contain the text 
property (it is a property of the ComboBox subclass). This means you can 
expose whatever is relevant for you, which might be redText, blueText 
and greenText string properties, for example, and you would not be 
burdened with the text property in ComboBox.

-- Jonathan

More information about the openjfx-dev mailing list