Table Input

Rony G. Flatscher Rony.Flatscher at wu.ac.at
Wed Jun 20 14:21:19 UTC 2018


On 20.06.2018 15:33, Daniel Peintner wrote:
> I believe the last time I looked at the TableView2 contribution at
> ControlsFX (which can be used as a TableView replacement), commit on focus
> lost was implemented/supported.
Do you have a link?

<http://fxexperience.com/controlsfx/> seems to not have it.

---rony

> Jonathan Giles <jonathan at jonathangiles.net> schrieb am Mi., 20. Juni 2018,
> 10:28:
>
>> Yup,
>>
>> A great regret. I wish it were supported, but it isn't due to historical
>> legacy. There are some small ways you can make some progress, e.g. add
>> focus listeners on the editor node, but they are half solutions at best.
>>
>> -- Jonathan
>> (Tapped on a touch device)
>>
>> On Wed, 20 Jun 2018, 10:25 AM , <fastegal at swingempire.de> wrote:
>>
>>> Zitat von Tom Eugelink <tbee at tbee.org>:
>>>
>>>> This is a well known and already deeply discussed issue. I'm still
>>>> not sure where we are with it, but Jonathan knows I believe.
>>>>
>>>>
>>> https://bugs.openjdk.java.net/browse/JDK-8089514
>>>
>>> tbd_major ... since nearly 7 years :(( actually, it took 4 years to
>>> get the necessity accepted, then another 2 years playing with
>>> incomplete suggested fixes and then ...
>>>
>>> It's a complex problem, requires
>>>
>>> a) additional commit/cancel api on the virtual controls to allow
>>> collaborators to cleanly terminate ongoing edits - this part has still
>>> been debated
>>> b) a major cleanup of cell implementations - this part was under way
>>> (and evolving into the good direction) until Jonathan left
>>>
>>>
>>> CU, Jeanette
>>>
>>>> On 19-6-2018 20:53, Ty Young wrote:
>>>>> On 06/19/2018 10:51 AM, omniprof at gmail.com wrote:
>>>>>
>>>>>> A minor issue in the Table component existed in previous versions of
>>> JavaFX
>>>>>> when editing in a cell was turned on. Only if the Return key was
>>>>>> pressed was
>>>>>> the data entered into the backing bean. Leaving the cell with Tab or
>> by
>>>>>> mouse did not register the change. I thought just when a cell looses
>>> focus
>>>>>> it should trigger updating the bean. I have not looked at the recent
>>> builds
>>>>>> but I thought I'd ask if it has come up on anyone's radar. I
>>>>>> noticed it when
>>>>>> I moved from teaching Swing to FX.
>>>>>>
>>>>>>
>>>>>> Ken Fogel
>>>>>>
>>>>>>
>>>>>>
>>>>> IIRC, this isn't specific to Table. A spinner with editing enabled
>>>>> also does this and it breaks events(onKeyTyped does nothing).



More information about the openjfx-dev mailing list