Hi, SimpleGesture is a mouse gesture recognition widget for GWT (and the IT Mill Toolkit).
It uses the method described by Didier Brun at bytearray.org, and uses the Levenshtein Distance method from Jakarta Commons (getLevenshteinDistance() from StringUtils) on the client-side, without modifications. I think this shows one of the strengths of GWT - the ability to make use of existing Java code in the browser. Video of me using it with a Wii: http://www.youtube.com/watch?v=LEvJdTuZ8sc Live demo: http://marc.virtuallypreinstalled.com/SimpleGesture It was made using my "10% time" here at IT Mill (yes, we're only half Google, but that's not half bad, if you ask me...;) and it's obviously an IT Mill Toolkit component as well. To use it in "plain" GWT (w/o IT Mill Toolkit), just get the GWT stuff from SVN (or just ISimpleGesture.java). ISimpleGesture a GWT Widget, and there are only two IT Mill Toolkit specific things (which you can remove): "implements Paintable", and the "updateFromUIDL()" -method. http://dev.itmill.com/browser/incubator/SimpleGesture/WebContent/WEB-INF/src/com/itmill/incubator/simplegesture Note that SimpleGesture is nowhere near perfect - feedback and suggestions are welcome, or even better: patches :-) Obviously, mouse gestures are not suitable for all applications, but as the video shoud demonstrate, they can be handy... Let me know what you think! More details in my blogpost here: http://marcenglund.blogspot.com/2009/04/gesture-recognition-in-gwt-and-it-mill.html Best Regards, Marc --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
