3 Replies Latest reply: Aug 20, 2013 3:45 AM by PavelSafrata RSS

    How to create customized gesture recognizer ?


      Hi there,

      I am currently developing in JavaFX 2.2 a touch-based application requiring some customized gestures. I firstly tried to developed such gestures based on MouseEvent or TouchEvent, but I would like to have them more like "standard" gestures, like swift or zoom. I don't know how to provide such gesture recognizers and hence, hence how to fire specific GestureEvent for that customized gestures.

      My first example is a "Cross gesture". If the user draw a cross on a Node with its finger or mouse pointer, I need to fire a CrossEvent to that Node.

      Any ideas ?