Scroll events fired in TableView although there is nothing to scroll

Tom Schindl tom.schindl at bestsolution.at
Sat Jan 24 15:08:45 UTC 2015


I don't really see why you need to know about this all view classes are virtual so a TableCell, ListCell is only requested when shown - and then reused - IIRC this virtuallity is row based only but the otn request also only talks about rows.

Tom

Von meinem iPhone gesendet

> Am 24.01.2015 um 14:15 schrieb Robert Krüger <krueger at lesspain.de>:
> 
> 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