[REVIEW REQUEST] Add text property to ComboBox
Tom Schindl
tom.schindl at bestsolution.at
Thu Mar 15 03:47:03 PDT 2012
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.
Tom
--
B e s t S o l u t i o n . a t EDV Systemhaus GmbH
------------------------------------------------------------------------
tom schindl geschäftsführer/CEO
------------------------------------------------------------------------
eduard-bodem-gasse 5-7/1 A-6020 innsbruck fax ++43 512 935833
http://www.BestSolution.at phone ++43 512 935834
More information about the openjfx-dev
mailing list