Scroll events fired in TableView although there is nothing to scroll
Robert Krüger
krueger at lesspain.de
Sat Jan 24 13:15:19 UTC 2015
Hi,
I am a bit surprised by the behaviour of the onScroll event handling of
TableView. I just printed the events I received there to standard out and
although the table does not display any scrollbars because it is large
enough to fit all content into it, I receive events as if it were scrolling
(even with the physics/inertia I would expect from a scrollbar, i.e. it
takes a while after the scroll gesture for the events to stop firing).
As an API user I would never have expected this. This makes me wonder how
useful the event handler is in the first place as I cannot use it to see if
there is actually any scrolling going on in the table. How do I do that?
This is somewhat related to a post on OTN (
https://community.oracle.com/message/12810930#12810930) if anyone wants to
know what the broader context of this is.
Best regards,
Robert
More information about the openjfx-dev
mailing list