[REVIEW REQUEST] Add text property to ComboBox
Alexandre (Shura) Iline
alexandre.iline at oracle.com
Thu Mar 15 04:37:06 PDT 2012
On 03/15/2012 02:47 PM, Tom Schindl wrote:
> Am 15.03.12 08:54, schrieb Alexandre (Shura) Iline:
>> I understand your take. And it is valid too.
>> However, if you follow this road, you follow it all the way through.
>> If you assume a string to be entered, make it visible through Javadoc.
>> And also, in such case, why not provide an access to the text control?
>> There will be a text control - this is what you are saying. You would
>> then allow ppl to access selection, like was mentioned in another
>> e-mail, or anything else, such as caret position or whatever.
> By exposing the text-control you are simply leaking too much API because
> you provide the complete Text-Control-API which isn't desired.
> If you don't want to bloat the ComboBox API with too many methods you
> can return a specilized ComboBoxText which simply delegates all calls to
> the Text-Control.
More information about the openjfx-dev