[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-openjfx-dev
Subject:    Re: Scroll Gesture in ListView
From:       Johan Vos <johan.vos () gluonhq ! com>
Date:       2015-10-15 16:42:41
Message-ID: CABxFH2Hs_niAot8PuOhWUG9Sj9Ng0NtruCxiEu8_34T_4Ps0oA () mail ! gmail ! com
[Download RAW message or body]

Hi Werner,

The event is first considered for the ListCell, so when the filter on
ListView would be called, it is already too late.

- Johan

On Thu, Oct 15, 2015 at 4:37 PM, Werner Lehmann <
lehmann@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.
>
> Werner
>
>
> 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
>> for
>> 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.
>>
>
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic