Scroll Gesture in ListView
johan.vos at gluonhq.com
Thu Oct 15 16:42:41 UTC 2015
The event is first considered for the ListCell, so when the filter on
ListView would be called, it is already too late.
On Thu, Oct 15, 2015 at 4:37 PM, Werner Lehmann <
lehmann at media-interactive.de> wrote:
> Hi Johan,
> wouldn't it be possible to use an event filter on the listview? It would
> see (and consume) the event before it even gets to the listcell.
> On 06.10.2015 10:02, Johan Vos wrote:
>> So it seems to me we need something like "gestureTransparent", by which we
>> can indicate a Node not to be interested in handling gestures. The code
>> picking the target Node currently ignores the Node if it has the
>> mouseTransparent set. I would propose to add a gestureTransparent property
>> on Node, and to add the following check:
>> if we need to find the pickedTarget for a gestureEvent, it should never
>> return a node with gestureTransparent set to true.
More information about the openjfx-dev