[REVIEW REQUEST] Add text property to ComboBox
Alexandre (Shura) Iline
alexandre.iline at oracle.com
Wed Mar 14 04:28:22 PDT 2012
Jonathan,
Judging from the javadoc, combobox component could handle different
types - not only String. I could redefine the skin, I assume, and have
any editor within it, so, there may not be a text field to get a text
from in the first place.
Should the "text" property be of a type T and named somehow else?
Shura.
On 03/14/2012 04:53 AM, Jonathan Giles wrote:
> Hi all (yet again),
>
> A quick one this time: http://javafx-jira.kenai.com/browse/RT-19589
>
> I'm wanting to add a text property to ComboBox, to allow for people to
> easily set the text in the ComboBox without committing it to being a
> value. More importantly, this also allows for developers to extract the
> content of the ComboBox TextField without having to have end-users press
> the Enter key to commit the text into the value property.
>
> Without this end users who want to support Enter-less committing of
> content have to reach into the ComboBox skin, which is not particularly
> pleasant.
>
> Any thoughts?
>
More information about the openjfx-dev
mailing list